Changeset 17861


Ignore:
Timestamp:
Sep 11, 2012, 3:22:24 PM (8 years ago)
Author:
grum
Message:

version 3.5.4
inputPage

. fix bug on page number & total page calculation

CSS

. fix some bugs & improve clear theme

Location:
extensions/GrumPluginClasses
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/css/dynamicTable_clear.css

    r17735 r17861  
    3434div.ui-dynamicTableSortButton,
    3535div.ui-dynamicTableGroupButton-inactive,
    36 div.ui-dynamicTableGroupButton-active {
     36div.ui-dynamicTableGroupButton-active,
     37div.ui-dynamicTableFooter-saveButton {
    3738  background-image:url(./../icons/buttons.png);
    3839  background-repeat:no-repeat;
     
    4243  border-radius:2px;
    4344}
    44 
     45/*
    4546div.ui-dynamicTableFilterButton-inactive:hover,
    4647div.ui-dynamicTableFilterButton-active:hover,
    4748div.ui-dynamicTableSortButton:hover,
    4849div.ui-dynamicTableGroupButton-inactive:hover,
    49 div.ui-dynamicTableGroupButton-active:hover {
     50div.ui-dynamicTableGroupButton-active:hover,
     51div.ui-dynamicTableFooter-saveButton:hover {
    5052  background-color:#999999;
    5153}
    52 
     54*/
    5355div.ui-dynamicTableFilterButton-inactive {
    5456  background-position:-120px -90px;
     
    7173  background-position:-105px -105px;
    7274}
    73 
     75/*
    7476div.ui-dynamicTableGroupButton-active {
    7577  background-position:-360px -90px;
     
    8486  background-position:-345px -105px;
    8587}
     88*/
     89
     90div.ui-dynamicTableGroupButton-active {
     91  background-position:-405px -90px;
     92}
     93div.ui-dynamicTableGroupButton-active:hover {
     94  background-position:-405px -105px;
     95}
     96div.ui-dynamicTableGroupButton-inactive {
     97  background-position:-390px -90px;
     98}
     99div.ui-dynamicTableGroupButton-inactive:hover {
     100  background-position:-390px -105px;
     101}
     102
     103
     104div.ui-dynamicTableFooter-saveButton {
     105  background-position:-375px -90px;
     106}
     107div.ui-dynamicTableFooter-saveButton:hover {
     108  background-position:-375px -105px;
     109}
  • extensions/GrumPluginClasses/css/dynamicTable_roma.css

    r17735 r17861  
    7373  background-position:-105px 0px;
    7474}
    75 
     75/*
    7676div.ui-dynamicTableGroupButton-active {
    7777  background-position:-360px -15px;
     
    8686  background-position:-345px 0px;
    8787}
     88*/
     89
     90/* group button => display/hide lines */
     91div.ui-dynamicTableGroupButton-active {
     92  background-position:-405px -15px;
     93}
     94div.ui-dynamicTableGroupButton-active:hover {
     95  background-position:-405px 0px;
     96}
     97div.ui-dynamicTableGroupButton-inactive {
     98  background-position:-390px -15px;
     99}
     100div.ui-dynamicTableGroupButton-inactive:hover {
     101  background-position:-390px 0px;
     102}
     103
     104
    88105
    89106div.ui-dynamicTableFooter-saveButton {
  • extensions/GrumPluginClasses/css/progressArea_clear.css

    r16733 r17861  
    1818.ui-progressArea-globalBarProgress,
    1919.ui-progressArea-detailBarProgress {
    20   background:#f9f9f9;
     20  background:#999999;
    2121}
    2222
     
    2828/* dialog box */
    2929.ui-dialogProgressArea {
    30   background:#AAAAAA;
     30  color:#666666;
     31  background:#DDDDDD;
    3132  border:1px solid #999999;
    3233}
    3334.ui-dialogProgressArea div.ui-dialog-titlebar {
    34   background:#DDDDDD;
    35   color:#666666;
     35  background:#999999;
     36  color:#444444; /* #666666 is too light... */
    3637}
    3738.ui-dialogProgressArea div.ui-dialog-buttonpane button {
  • extensions/GrumPluginClasses/js/ui.dynamicTable.js

    r17735 r17861  
    774774          privateMethods.setPagesNavigator(object, (value.pagesNavigator!=null)?value.pagesNavigator:options.pagesNavigator);
    775775          //privateMethods.setCurrentPage(object, (value.currentPage!=null)?value.currentPage:options.currentPage);
    776           //privateMethods.setNbItemsPage(object, (value.nbItemsPage!=null)?value.nbItemsPage:options.nbItemsPage);
     776          privateMethods.setNbItemsPage(object, (value.nbItemsPage!=null)?value.nbItemsPage:options.nbItemsPage);
    777777
    778778          privateMethods.setEventContentLoading(object, (value.contentLoading!=null)?value.contentLoading:options.contentLoading);
  • extensions/GrumPluginClasses/js/ui.inputPages.js

    r16012 r17861  
    5555                    {
    5656                      nbItems:0,
    57                       nbITemsPage:50,
     57                      nbItemsPage:50,
    5858                      currentPage:1,
    5959                      displayedPages:7,
     
    551551              properties=object.data('properties');
    552552
    553           properties.nbPages=Math.ceil(options.nbItems/options.nbITemsPage);
     553          properties.nbPages=Math.ceil(options.nbItems/options.nbItemsPage);
    554554        }, // calculateNbPages
    555555
Note: See TracChangeset for help on using the changeset viewer.