Dotclear

Changeset 2085:c9f71758ed62 for admin


Ignore:
Timestamp:
09/25/13 08:14:11 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

En attendant la réorga du dashboard, organisation des boîtes.

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1811 r2085  
    144144          if ($feed) 
    145145          { 
    146                $latest_news = '<h3>'.__('Dotclear news').'</h3><dl id="news">'; 
     146               $latest_news = '<div class="box medium dc-box"><h3>'.__('Dotclear news').'</h3><dl id="news">'; 
    147147               $i = 1; 
    148148               foreach ($feed->items as $item) 
     
    164164                    if ($i > 2) { break; } 
    165165               } 
    166                $latest_news .= '</dl>'; 
     166               $latest_news .= '</dl></div>'; 
    167167               $__dashboard_items[$dashboardItem][] = $latest_news; 
    168168               $dashboardItem++; 
     
    176176     if (!empty($__resources['doc'])) 
    177177     { 
    178           $doc_links = '<h3>'.__('Documentation and support').'</h3><ul>'; 
     178          $doc_links = '<div class="box small dc-box"><h3>'.__('Documentation and support').'</h3><ul>'; 
    179179      
    180180          foreach ($__resources['doc'] as $k => $v) { 
     
    183183          } 
    184184      
    185           $doc_links .= '</ul>'; 
     185          $doc_links .= '</ul></div>'; 
    186186          $__dashboard_items[$dashboardItem][] = $doc_links; 
    187187          $dashboardItem++; 
     
    324324     if ($i->count() > 0) 
    325325     { 
    326           $dashboardItems .= '<div class="box dc-box">'; 
     326          $dashboardItems .= ''; 
    327327          foreach ($i as $v) { 
    328328               $dashboardItems .= $v; 
    329329          } 
    330           $dashboardItems .= '</div>'; 
     330          $dashboardItems .= ''; 
    331331     } 
    332332} 
     
    395395     if ($i->count() > 0) 
    396396     { 
    397           $dashboardContents .= '<div class="box">'; 
     397          $dashboardContents .= ''; 
    398398          foreach ($i as $v) { 
    399399               $dashboardContents .= $v; 
    400400          } 
    401           $dashboardContents .= '</div>'; 
     401          $dashboardContents .= ''; 
    402402     } 
    403403} 
  • admin/style/default.css

    r2080 r2085  
    14601460          } 
    14611461     #dashboard-boxes .box { 
    1462           min-width: 300px; 
    1463           max-width: 580px; 
    14641462          padding: 10px; 
    14651463          border:   1px solid #ccc; 
     
    14701468          } 
    14711469          .box.small { 
    1472                width: 280px; 
     1470               width: 300px; 
     1471               } 
     1472          .box.medium { 
     1473               width: 640px; 
    14731474               } 
    14741475          .box.large { 
    1475                width: 580px; 
     1476               width: 100%; 
    14761477               } 
    14771478          .dc-box { 
     
    24952496          width: 150px; 
    24962497          } 
    2497      #dashboard-boxes .box { /* a revoir quand le dashboard sera fini */ 
     2498     #dashboard-boxes .box.small 
     2499     #dashboard-boxes .box.medium { 
    24982500          margin: 10px 0; 
    2499           min-width: 280px; 
    25002501          width: 280px; 
    25012502          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map