phpBMS

Changeset 495 for trunk/phpbms/common

Show
Ignore:
Timestamp:
04/15/09 20:08:21 (3 years ago)
Author:
brieb
Message:
  • added userpreferences table so we can now start storing user level preferences for the program
  • replaced snapshot system with a user-defined widget system, so each user can customize what they see on the front snapshot screen
  • Implemented basic widgets that repeat most of the functionality of old snapshot system. The exception being items ready to post, which I haven't quite figured out how to best implement.
  • New clients/prospect and New sales Order widgets display columsn as defined by the table definitions. In the future we ma want to create a separate tabledef view for the widgets to use.
  • Implemented new subclass of display table that spits out a basic table of results based on the table definition (no javascript or duplicate HTML ids)
Location:
trunk/phpbms/common/stylesheet/mozilla
Files:
10 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/common/stylesheet/mozilla/pages/base/snapshot.css

    r485 r495  
    1 /* $Rev: 450 $ | $LastChangedBy: nate $ */ 
    2 /* $LastChangedDate: 2009-03-05 17:32:04 -0700 (Thu, 05 Mar 2009) $ */ 
     1h2{ 
     2        margin: 0; 
     3        padding: 3px 2px 0; 
     4        border:0; 
     5        font-size:15px 
     6} 
    37 
    48#systemMessageContainer{ 
     
    610        color: white; 
    711        padding: 4px 10px 10px; 
    8         margin:0 5px 8px; 
     12        margin:0 0 8px; 
    913} 
    1014 
     
    1216                color: white; 
    1317                margin: 0 0 5px 20px; 
     18                padding: 0 0 4px; 
    1419                font-size: 15px; 
    1520        } 
     
    5257} 
    5358 
    54 #notesStuff{ 
    55  margin:0 4px 6px; 
     59/* Widget Area */ 
     60/* ========================================================================= */ 
     61#bigArea{ 
     62    width: 70%; 
     63    float:left; 
     64} 
     65    #bigArea.littleLeft{ 
     66        float: right; 
     67    } 
     68 
     69    #bigArea .widgets{ 
     70        margin: 0 10px 10px 0; 
     71    } 
     72 
     73        #bigArea.littleLeft .widgets{ 
     74            margin: 0 0 10px 10px; 
     75        } 
     76 
     77#littleArea{ 
     78    width:30%; 
     79    float:right; 
    5680} 
    5781 
    58 #notesStuff table{ 
    59  width:100% 
     82    #littleArea.littleLeft{ 
     83        float: left; 
     84    } 
     85 
     86    #littleArea .widgets{ 
     87        margin: 0 0 10px 10px; 
     88    } 
     89 
     90        #littleArea.littleLeft .widgets{ 
     91            margin: 0 10px 10px 0; 
     92        } 
     93 
     94#widgetContainer{ 
     95    background: url("../../image/snapshot-separator.png") repeat-y 70% 0; 
    6096} 
    6197 
    62 #spacertd{ 
    63         overflow:hidden; 
    64         width:8px; 
     98    #widgetContainer.littleLeft{ 
     99        background-position: 30% 0; 
     100    } 
     101 
     102#clearer{ 
     103    clear: both; 
     104    height: 10px; 
     105    overflow: hidden; 
    65106} 
    66107 
    67 #tasksBox{ 
    68         vertical-align:top; 
    69         padding:10px; 
     108.widgets{ 
     109    margin: 0; 
     110    padding: 0; 
    70111} 
    71112 
    72 #tasksBox .box{ 
    73         margin:0; 
     113    .widgets h2{ 
     114        margin: 2px 4px 5px; 
     115    } 
     116 
     117/* Widget Configure Area */ 
     118/* ========================================================================= */ 
     119 
     120.configure{ 
     121    height:20px; 
    74122} 
    75123 
    76 h2{ 
    77         margin:3px 0 5px; 
    78         padding:0 0 4px; 
    79         border:0; 
    80         font-size:15px 
     124    #littleArea .configure{ 
     125        margin-left: 10px 
     126    } 
     127 
     128        #littleArea.littleLeft .configure{ 
     129            margin-left: 0; 
     130        } 
     131 
     132    #bigArea.littleLeft .configure{ 
     133        margin-left: 10px; 
     134    } 
     135 
     136    .configure div{ 
     137        position: absolute; 
     138        background: white; 
     139        padding: 8px; 
     140        display: none; 
     141        border: 1px solid #999999; 
     142        z-index: 100; 
     143    } 
     144 
     145    .configure div button{ 
     146        padding-left: 15px; 
     147        padding-right: 15px; 
     148    } 
     149 
     150.configureButtons{ 
     151    display: none; 
     152    width: auto; 
     153    padding-left: 16px; 
    81154} 
    82155 
    83 #tasksBox h3, #invoiceBox h3, #clientBox h3, #arBox h3{ 
    84         margin:0; 
    85         cursor:pointer;font-size:13px;background:#EEEEEE url("../../image/section-down.png") 99% 3px no-repeat; 
    86         padding:4px; 
    87         border-bottom:1px solid #BBBBBB; 
     156.widgetOptions{ 
     157    float:right; 
     158    padding: 6px 6px 0 0; 
     159    display:none; 
    88160} 
    89 #invoiceBox h3, #clientBox h3, #arBox h3{ 
    90         margin-bottom:10px; 
    91 } 
    92  
    93 #arTotals td{width:100px;} 
    94  
    95 #tasksBox h3:hover, #invoiceBox h3:hover, #clientBox h3:hover, #arBox h3:hover{ 
    96         background-color:#DDDDDD 
    97 } 
    98  
    99 .tasksDivs div{ 
    100         padding:5px 0 0; 
    101         background:white; 
    102         border-top:0; 
    103         margin:0 5px; 
    104 } 
    105  
    106 .tasksDivs div div{ 
    107         clear: both; 
    108         margin:0; 
    109         padding:4px 4px 4px 8px; 
    110         border-bottom:1px solid #EEEEEE; 
    111         font-size:12px; 
    112 } 
    113  
    114         .tasksDivs div div:hover{ 
    115                 background: #EEEEEE; 
    116         } 
    117  
    118         .tasksDivs div div.taskSection{ 
    119                 font-weight: bold; 
    120                 border-bottom-color: #999999; 
    121                 padding-top: 16px; 
    122         } 
    123  
    124                 .tasksDivs div div.taskSection:hover{ 
    125                         background: #FFF; 
    126                 } 
    127  
    128         .taskRight{ 
    129                 padding-left: 2px; 
    130                 font-size: 10px; 
    131                 display: block; 
    132                 float: right; 
    133                 text-align: right; 
    134         } 
    135  
    136         .tasksDivs div div p{ 
    137                 font-style: italic; 
    138                 font-size: 11px; 
    139                 padding: 2px 20px; 
    140         } 
    141  
    142 .tasksDivs a{ 
    143         font-weight:bold; 
    144 } 
    145  
    146  
    147 .tasksDivs .complete a { 
    148         text-decoration:line-through; 
    149         color:#CCCCCC; 
    150 } 
    151  
    152 .tasksDivs .pastDue a{color:#FF0000;} 
    153  
    154 #eventsBox {margin:0;padding:0;} 
    155 #eventsBox {vertical-align:top;padding:10px;} 
    156 #eventsBox h2{margin:0; padding:4px 0 4px;} 
    157 #eventsBox #eventsList table{border-collapse:collapse;} 
    158  
    159 #eventsBox #eventsList td{ 
    160         padding:10px 5px; 
    161         border-bottom:1px solid #DDDDDD; 
    162         font-size:11px; 
    163 } 
    164  
    165 #eventsBox #eventsList .eventDayName td{ 
    166         font-size:13px; 
    167         background:#EEEEEE; 
    168         font-weight:bold; 
    169         padding:4px; 
    170         border-bottom:1px solid #BBBBBB; 
    171 } 
    172  
    173 #eventsBox #today td{ 
    174         background:#DDDDDD 
    175 } 
    176  
    177 #eventButtons { 
    178         float:right; 
    179         margin:0; 
    180         padding:0; 
    181 } 
    182  
    183 #eventButtons li{ 
    184         list-style-type:none; 
    185         display:inline; 
    186         padding:0 4px 0 0; 
    187         margin:0; 
    188 } 
    189  
    190 #eventButtons #lastEButton{ 
    191         padding-right:0px; 
    192 } 
    193  
    194 #icalA { 
    195         float:left; 
    196         height:16px; 
    197         display:block; 
    198         width:27px; 
    199         background:url("../../image/button-ical.png") no-repeat; 
    200         margin-top:3px; 
    201 } 
    202 #icalA span{display:none;} 
    203  
    204  
    205 #bmsBox {padding:10px;} 
    206 #bmsBox .rightButtons{float:right;margin:2px 2px 0 0;} 
    207 #bmsBox h2{margin:0 0 4px;} 
  • trunk/phpbms/common/stylesheet/mozilla/queryresults.css

    r308 r495  
    55.row2{background-color:#D9DBE1;} 
    66 
    7 .buttonSectionTitles,.buttonSection{border: 1px #666666 solid; border-bottom: 0;  
    8         font-size:11px; padding:1px; padding-bottom:0px;  
     7.buttonSectionTitles,.buttonSection{border: 1px #666666 solid; border-bottom: 0; 
     8        font-size:11px; padding:1px; padding-bottom:0px; 
    99} 
    1010.buttonSection{border-top:0;  padding-top:0; padding-bottom:1px;} 
     
    1818 
    1919 
    20 .querytable{  
     20.querytable{ 
    2121        clear:both; 
    2222        border:1px solid #BBBBBB; 
     
    2424} 
    2525 
    26 .querytable td, .querytable th{  
    27         font-size: 11px; 
    28         padding:6px; 
    29         border-right:1px solid #BBBBBB; 
    30 } 
    31 .norecords td { 
    32         font-size:16px;  
    33         padding:20px;  
    34         font-weight:bold;  
    35         text-align:center; 
    36 } 
     26        .querytable td, .querytable th{ 
     27                font-size: 11px; 
     28                padding:6px; 
     29                border-right:1px solid #BBBBBB; 
     30        } 
     31 
     32        .norecords td { 
     33                font-size:16px; 
     34                padding:20px; 
     35                font-weight:bold; 
     36                text-align:center; 
     37        } 
    3738 
    3839.querytable th{ 
     
    4748.queryGroup td{ 
    4849        background:#97A7BA; 
    49         font-size: 14px;         
     50        font-size: 14px; 
    5051        font-weight:bold; 
    51         border-bottom:1px solid #BBBBBB;         
     52        border-bottom:1px solid #BBBBBB; 
    5253} 
    5354 
     
    5960 
    6061.qr1 td,.qr2 td{background-color:white; 
    61                         cursor: pointer;  
     62                        cursor: pointer; 
    6263} 
     64 
     65        .simple .qr1 td, .simple .qr2 td{ 
     66                cursor: auto; 
     67        } 
     68 
    6369.qr2 td{background-color:#F5F6F8} 
    6470 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.