Changeset 15 for trunk/web-app


Ignore:
Timestamp:
Feb 16, 2011, 4:28:12 PM (8 years ago)
Author:
robert@…
Message:

Decreased header size and added checkAll boxes to some dialogs

Location:
trunk/web-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/css/metagenomics.css

    r9 r15  
    33        padding: 0;
    44        font: 11px normal Arial, Helvetica, sans-serif;
    5         background: #fff url(../images/metagenomics/body_bg.gif) repeat-x;
     5        background-color: #fff;
    66}
    77
     
    4343/** START :: header **/
    4444#header {
    45         background: url(../images/metagenomics/header.png) no-repeat center top;
    46         padding-top: 120px;
     45        width: 100%;
     46        background: url(../images/metagenomics/topnav/topnav_bg.gif) repeat-x;
    4747}
    4848
     
    7373/** END :: header **/
    7474/** START :: topnav **/
     75#logo { float: left; color: red; font-weight: bold; font-size: 15px; line-height: 30px; padding-top: 3px; padding-left: 10px;  }
     76
    7577ul.topnav {
    7678        list-style: none;
    7779        padding: 0 20px;
    7880        margin: 0;
    79         float: left;
    80         width: 920px;
    81         background: #222;
     81        width: 960px;
     82        margin: 0 auto;
     83        position: relative;
    8284        font-size: 1.2em;
    83         background: url(../images/metagenomics/topnav/topnav_bg.gif) repeat-x;
    8485        z-index: 995; /** Important: keeps submenu's on top of other elements in IE7. See http://www.shawnpreisz.com/css/z-index-internet-explorer-7-ie7#comment-547 */
    8586}
     
    9091        padding: 0 15px 0 0;
    9192        position: relative; /*--Declare X and Y axis base--*/
     93        color: white;
    9294        z-index: 994; /** Important: keeps submenu's on top of other elements in IE7. See http://www.shawnpreisz.com/css/z-index-internet-explorer-7-ie7#comment-547 */
    9395}
     
    99101ul.topnav li a {
    100102        padding: 10px 5px;
    101         color: #fff;
     103        color: white;
    102104        display: block;
    103105        text-decoration: none;
     
    165167}
    166168
     169ul.topnav li.user_info { float: right; padding: 10px 5px;}
     170ul.topnav li.user_info a { background-image: none; float: none; display: inline; text-decoration: underline; padding: 0; margin: 0; }
     171
    167172/** END :: topnav **/
    168173
    169174/** START :: content **/
    170175#content {
    171         padding-top: 40px;
    172176        font-family: Verdana, Arial, Helvetica, sans-serif;
    173177        font-size: 11px/12px;
  • trunk/web-app/js/paginate.js

    r14 r15  
    5757       
    5858        var oTable = paginatedTable.dataTable();
    59         var inputs = $('input', oTable.fnGetNodes())
     59        var inputs = $('input[type=checkbox]', oTable.fnGetNodes())
    6060       
    6161        // If any of the inputs is checked, uncheck all. Otherwise, check all
     
    8383       
    8484        var oTable = paginatedTable.dataTable();
    85         var inputs = $('input', oTable.fnGetNodes())
     85        var inputs = $('input[type=checkbox]', oTable.fnGetNodes())
    8686       
    8787        // Is none checked, are all checked or are some checked
     
    9595        checkAll.attr( 'checked', numChecked > 0 );
    9696       
    97         if( numChecked > 0 && numChecked < inputs.length - 1 ) {
     97        if( numChecked > 0 && numChecked < inputs.length ) {
    9898                checkAll.addClass( 'transparent' );
    9999        } else {
Note: See TracChangeset for help on using the changeset viewer.