Changeset 1788:915879aff7fb
- Timestamp:
- 09/11/13 07:35:36 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r1770 r1788 162 162 } 163 163 $i++; 164 if ($i > 3) { break; }164 if ($i > 2) { break; } 165 165 } 166 166 $latest_news .= '</dl>'; … … 324 324 if ($i->count() > 0) 325 325 { 326 $dashboardItems .= '<div class="box ">';326 $dashboardItems .= '<div class="box dc-box">'; 327 327 foreach ($i as $v) { 328 328 $dashboardItems .= $v; … … 403 403 } 404 404 405 $class = ' '.(($dashboardItems != '') && ($dashboardContents != '') ? 'two-boxes' : 'one-box');405 //$class = ' '.(($dashboardItems != '') && ($dashboardContents != '') ? 'two-boxes' : 'one-box'); 406 406 407 407 if ($dashboardContents != '' || $dashboardItems != '') { 408 408 echo 409 '<hr />'.409 //'<hr />'. 410 410 '<div id="dashboard-boxes">'; 411 echo ($dashboardContents ? '<div class="db-contents'.$class.'">'.$dashboardContents.'</div>' : ''); 412 echo ($dashboardItems ? '<div class="db-items'.$class.'">'.$dashboardItems.'</div>' : ''); 411 echo 412 '<div class="db-items">'. 413 $dashboardItems.$dashboardContents. 414 '</div>'; 415 //echo ($dashboardContents ? '<div class="db-contents'.$class.'">'.$dashboardContents.'</div>' : ''); 416 //echo ($dashboardItems ? '<div class="db-items'.$class.'">'.$dashboardItems.'</div>' : ''); 413 417 echo 414 418 '</div>'; -
admin/style/default.css
r1787 r1788 270 270 font-size: 1.6rem; 271 271 } 272 h4, as_h4 { 272 #main-menu h3 { 273 font-weight: bold; 274 } 275 h4, .as_h4 { 273 276 font-size: 14px; /* ie < 9 sucks */ 274 277 font-size: 1.4rem; … … 1338 1341 padding-top: 2em; 1339 1342 } 1343 .db-items, .db-contents { 1344 display: inline-block; 1345 text-align: center; 1346 } 1347 #dashboard-boxes .box { 1348 min-width: 300px; 1349 max-width: 580px; 1350 padding: 10px; 1351 border: 1px solid #ccc; 1352 border-radius: 3px; 1353 min-height: 200px; 1354 margin: 10px; 1355 text-align: left; 1356 } 1357 .box.small { 1358 width: 300px; 1359 } 1360 .box.large { 1361 width: 580px; 1362 } 1363 .dc-box { 1364 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 1365 } 1340 1366 .db-items img, .db-contents img { 1341 1367 vertical-align: middle;
Note: See TracChangeset
for help on using the changeset viewer.