Changeset 539

Show
Ignore:
Timestamp:
08/14/07 16:53:53 (1 year ago)
Author:
brian
Message:

updating accounts and tree

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pagoda/trunk/Pagoda/pagoda/widgets/admin/static/css/accounts.css

    r525 r539  
    1616    text-align: left; 
    1717    padding: 0.25em 0; 
    18 } 
    19  
    20 .column .count strong { 
    21     background: #3465a4 url('../images/tab-active.png') repeat-x left top; 
    22     color: #fff; 
    23     padding: 1px 2px; 
    2418} 
    2519 
     
    7064.column li.inactive { 
    7165    background: #dcf2fa; 
     66    opacity: 0.3; 
     67} 
     68 
     69.column li.inactive:hover { 
     70    opacity: 0.75; 
    7271} 
    7372 
  • pagoda/trunk/Pagoda/pagoda/widgets/admin/static/css/tree.css

    r525 r539  
    7474} 
    7575 
     76.tree-menu button:hover .x-menu-item-icon { 
     77    opacity: 1.0; 
     78} 
     79 
    7680/* Tree Menu should be horizontal (not vertical, which is the default) */ 
    77 .tree-menu li, 
    78 .tree-menu button { 
     81.tree-menu li { 
    7982    display: inline; 
    80     color: #adf; 
    8183} 
    8284 
     
    9294/* Buttons in Tree Menu should look very flat */ 
    9395.tree-menu button { 
     96    display: inline; 
    9497    background: transparent; 
    9598    margin: 0 0.5em 0 0; 
    9699    border: 0; 
    97100    padding: 3px 0; 
     101    color: #adf; 
    98102} 
    99103 
    100104.tree-menu .x-menu-item-icon { 
    101105    margin-right: 0.5em; 
     106    opacity: 0.75; 
    102107} 
  • pagoda/trunk/Pagoda/pagoda/widgets/admin/static/javascript/accounts.js

    r521 r539  
    1010} 
    1111 
     12var inactiveHover = function() { 
     13    this.fxanim({opacity: {from: 0.3, to: 0.75}}); 
     14} 
     15 
     16var inactiveFade = function() { 
     17    this.fxanim({opacity: {to: 0.3}}); 
     18} 
     19 
    1220var filterFalse = function(el) { 
    1321    el.removeClass('active'); 
    14     el.fxanim({opacity: {to: 0.3}}); 
    15     el.addClass('inactive'); 
     22    el.fxanim({opacity: {to: 0.3}}, {afterCls: 'inactive'}); 
    1623} 
    1724 
     
    3744                allItems.removeClass(['active', 'inactive', 'selected']); 
    3845                item.addClass('selected'); 
    39                 setup.form.el.select('.count').update(String.format( 
    40                     "All {0} {1}{2}", allItems.elements.length, setup.form.id.slice(0, -1), "s "[Number(allItems.elements.length == 1)] 
    41                 )); 
    4246                // Now apply the filters 
    4347                for (var i = 0; i < setup.filters.length; i++) { 
     
    4953                        applyFilter(values, value, this); 
    5054                    }); 
    51                     var activeLength = filter.form.el.select('.active').elements.length; 
    52                     filter.form.el.select('.count').update(String.format( 
    53                         "<strong>{0}'s</strong> {1} {2}{3}", name, activeLength, filter.form.id.slice(0, -1), "s "[Number(activeLength == 1)] 
    54                     )); 
    5555                } 
    5656                return false; 
  • pagoda/trunk/Pagoda/pagoda/widgets/admin/static/javascript/site_tree.js

    r525 r539  
    4848        items: [ 
    4949            new Ext.menu.ButtonItem({ 
     50                text: "Edit", 
     51                icon: Ext.BLANK_IMAGE_URL, 
     52                itemCls: 'edit' 
     53            }), 
     54            new Ext.menu.ButtonItem({ 
    5055                text: "Add", 
    5156                icon: Ext.BLANK_IMAGE_URL, 
    5257                itemCls: 'add' 
    53             }), 
    54             new Ext.menu.ButtonItem({ 
    55                 text: "Edit", 
    56                 icon: Ext.BLANK_IMAGE_URL, 
    57                 itemCls: 'edit' 
    5858            }), 
    5959            new Ext.menu.ButtonItem({ 

Log in as guest/pagoda to create tickets