Changeset 1339


Ignore:
Timestamp:
Jun 4, 2006, 12:13:38 PM (18 years ago)
Author:
chrisaga
Message:

fix bug 400 : <td nowrap> dans l'historique, and improve history tables, plus some code formating

Location:
trunk/template/yoga
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/admin/stats.tpl

    r918 r1339  
    66
    77<h3>{L_STAT_DETAIL_TITLE}</h3>
    8 <table class="table2" width="60%">
    9 <tr class="throw">
     8<table class="table2" id="dailyStats">
     9  <tr class="throw">
    1010    <th>{L_VALUE}</th>
    1111    <th>{L_PAGES_SEEN}</th>
    1212    <th>{L_VISITORS}</th>
    1313    <th>{L_PICTURES}</th>
    14 </tr>
     14  </tr>
    1515<!-- BEGIN statrow -->
    1616  <tr class="{statrow.T_CLASS}">
    1717    <td>{statrow.VALUE}</td>
    18     <td>{statrow.PAGES}</td>
    19     <td>{statrow.VISITORS}</td>
    20     <td>{statrow.IMAGES}</td>
     18    <td class="number">{statrow.PAGES}</td>
     19    <td class="number">{statrow.VISITORS}</td>
     20    <td class="number">{statrow.IMAGES}</td>
    2121  </tr>
    2222<!-- END statrow -->
     
    2424
    2525<h3>{L_DATE_TITLE}</h3>
    26 <table class="table2" width="98%">
    27 <tr class="throw">
     26<table class="table2" id="detailedStats">
     27  <tr class="throw">
    2828    <th>{L_STAT_HOUR}</th>
    2929    <th>{L_STAT_LOGIN}</th>
     
    3131    <th>{L_STAT_CATEGORY}</th>
    3232    <th>{L_STAT_FILE}</th>
    33     <th>{L_STAT_PICTURE}</th>
    34 </tr>
     33    <th>{L_STAT_PICTURE}</th> 
     34  </tr>
    3535<!-- BEGIN detail -->
    3636  <tr class="{detail.T_CLASS}">
    37     <td nowrap>{detail.HOUR}</td>
     37    <td class="hour">{detail.HOUR}</td>
    3838    <td>{detail.LOGIN}</td>
    3939    <td>{detail.IP}</td>
    40   <td>{detail.CATEGORY}</td>
    41   <td>{detail.FILE}</td>
    42   <td>{detail.PICTURE}</td>
     40    <td>{detail.CATEGORY}</td>
     41    <td>{detail.FILE}</td>
     42    <td>{detail.PICTURE}</td>
    4343  </tr>
    4444<!-- END detail -->
    4545</table>
    46 
    4746
    4847<!-- BEGIN navigation -->
  • trunk/template/yoga/default-layout.css

    r1274 r1339  
    5353/** General defaults **/
    5454INPUT {margin: 0;}
    55 ul, dl, li { text-align: left;}
     55UL, DL, LI { text-align: left;}
    5656TABLE {                 /* horizontaly centered */
    5757  margin-left: auto;
     
    5959}
    6060/* for debugging purpose */
    61 pre { text-align:left; }
     61PRE { text-align:left; }
    6262
    6363/** forms **/
    6464
    65 form { padding: 0em; }
    66 
    67 form p {
     65FORM { padding: 0em; }
     66
     67FORM P {
    6868        text-align: center;
    6969        margin-top: 2em;
     
    7474}
    7575
    76 textarea.description {
     76TEXTAREA.description {
    7777  height: 100px;
    7878  width: 500px;
    7979  overflow: auto;
    8080}
    81 select.categoryList {
     81SELECT.categoryList {
    8282  width: 100%;
    8383}
     
    8585/** go to an admin.css ? **/
    8686
    87 .table2 {
     87TABLE.table2 {
    8888  border: 1px solid black;
    8989  margin: 1em auto;
     
    9191}
    9292
    93 .table2 TD, .table2 TH {
     93TABLE.table2 TD, TABLE.table2 TH {
    9494  padding: 0 1em;
    9595}
    9696
    97 form#add_virtual p { text-align: left; }
     97TABLE.table2 TR {
     98  text-align: left;
     99}
     100
     101TABLE.table2 TR.throw {
     102  text-align: center;
     103}
     104
     105.hour {
     106  white-space: pre;
     107}
     108
     109.number {
     110  text-align: right;
     111}
     112 
     113TABLE#dailyStats {
     114  width: 60%;
     115}
     116
     117TABLE#detailedStats {
     118  width: 80%;
     119}
     120
     121FORM#add_virtual P { text-align: left; }
    98122FORM#categoryOrdering, FORM#addVirtual {
    99123  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
  • trunk/template/yoga/theme/clear/theme.css

    • Property svn:keywords set to Author Date Id Revision
    r1286 r1339  
    1111}
    1212
    13 H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover {
     13H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover, .row1 {
    1414  background-color: #d3d3d3;
    1515}
  • trunk/template/yoga/theme/dark/theme.css

    r1326 r1339  
    2222}
    2323
    24 H3, #the_page, #imageHeaderBar, #imageToolBar A:hover {
     24H3, #the_page, #imageHeaderBar, #imageToolBar A:hover, .row1 {
    2525  background-color: #3f3f3f;
    2626}
Note: See TracChangeset for help on using the changeset viewer.