Changeset 2085:c9f71758ed62 for admin
- Timestamp:
- 09/25/13 08:14:11 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r1811 r2085 144 144 if ($feed) 145 145 { 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">'; 147 147 $i = 1; 148 148 foreach ($feed->items as $item) … … 164 164 if ($i > 2) { break; } 165 165 } 166 $latest_news .= '</dl> ';166 $latest_news .= '</dl></div>'; 167 167 $__dashboard_items[$dashboardItem][] = $latest_news; 168 168 $dashboardItem++; … … 176 176 if (!empty($__resources['doc'])) 177 177 { 178 $doc_links = '< h3>'.__('Documentation and support').'</h3><ul>';178 $doc_links = '<div class="box small dc-box"><h3>'.__('Documentation and support').'</h3><ul>'; 179 179 180 180 foreach ($__resources['doc'] as $k => $v) { … … 183 183 } 184 184 185 $doc_links .= '</ul> ';185 $doc_links .= '</ul></div>'; 186 186 $__dashboard_items[$dashboardItem][] = $doc_links; 187 187 $dashboardItem++; … … 324 324 if ($i->count() > 0) 325 325 { 326 $dashboardItems .= ' <div class="box dc-box">';326 $dashboardItems .= ''; 327 327 foreach ($i as $v) { 328 328 $dashboardItems .= $v; 329 329 } 330 $dashboardItems .= ' </div>';330 $dashboardItems .= ''; 331 331 } 332 332 } … … 395 395 if ($i->count() > 0) 396 396 { 397 $dashboardContents .= ' <div class="box">';397 $dashboardContents .= ''; 398 398 foreach ($i as $v) { 399 399 $dashboardContents .= $v; 400 400 } 401 $dashboardContents .= ' </div>';401 $dashboardContents .= ''; 402 402 } 403 403 } -
admin/style/default.css
r2080 r2085 1460 1460 } 1461 1461 #dashboard-boxes .box { 1462 min-width: 300px;1463 max-width: 580px;1464 1462 padding: 10px; 1465 1463 border: 1px solid #ccc; … … 1470 1468 } 1471 1469 .box.small { 1472 width: 280px; 1470 width: 300px; 1471 } 1472 .box.medium { 1473 width: 640px; 1473 1474 } 1474 1475 .box.large { 1475 width: 580px;1476 width: 100%; 1476 1477 } 1477 1478 .dc-box { … … 2495 2496 width: 150px; 2496 2497 } 2497 #dashboard-boxes .box { /* a revoir quand le dashboard sera fini */ 2498 #dashboard-boxes .box.small 2499 #dashboard-boxes .box.medium { 2498 2500 margin: 10px 0; 2499 min-width: 280px;2500 2501 width: 280px; 2501 2502 }
Note: See TracChangeset
for help on using the changeset viewer.