Changeset 1378:329f01606608
- Timestamp:
- 08/15/13 09:29:04 (10 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r1358 r1378 121 121 $__dashboard_items = new ArrayObject(array(new ArrayObject,new ArrayObject)); 122 122 123 # Documentation links124 123 $dashboardItem = 0; 125 if ($core->auth->user_prefs->dashboard->doclinks) {126 if (!empty($__resources['doc']))127 {128 $doc_links = '<h3>'.__('Documentation and support').'</h3><ul>';129 130 foreach ($__resources['doc'] as $k => $v) {131 $doc_links .= '<li><a href="'.$v.'" title="'.$k.' '.__('(external link)').'">'.$k.'</a></li>';132 }133 134 $doc_links .= '</ul>';135 $__dashboard_items[$dashboardItem][] = $doc_links;136 $dashboardItem++;137 }138 }139 124 140 125 if ($core->auth->user_prefs->dashboard->dcnews) { … … 180 165 } 181 166 167 # Documentation links 168 if ($core->auth->user_prefs->dashboard->doclinks) { 169 if (!empty($__resources['doc'])) 170 { 171 $doc_links = '<h3>'.__('Documentation and support').'</h3><ul>'; 172 173 foreach ($__resources['doc'] as $k => $v) { 174 $doc_links .= '<li><a href="'.$v.'" title="'.$k.' '.__('(external link)').'">'.$k.'</a></li>'; 175 } 176 177 $doc_links .= '</ul>'; 178 $__dashboard_items[$dashboardItem][] = $doc_links; 179 $dashboardItem++; 180 } 181 } 182 182 183 $core->callBehavior('adminDashboardItems', $core, $__dashboard_items); 183 184 -
admin/style/default.css
r1377 r1378 383 383 color: #000; 384 384 font-variant: small-caps; 385 padding-top: .6rem; 385 386 } 386 387 #favorites-menu a { … … 438 439 /* ------------------------------------------------------------------ dashboard */ 439 440 #dashboard-main { 440 float: left;441 overflow: hidden;442 padding: 1em 2% 1em 0;443 width: 70%;444 }445 #dashboard-main.fullwidth {446 width: 100%;447 441 padding: 1em 0; 448 float: none;449 442 } 450 443 #icons { … … 456 449 width: 210px; 457 450 text-align: center; 458 margin: 2em 0; 451 margin: 1em 0; 452 padding: 1em 0; 459 453 display:inline-block; 454 vertical-align: top; 460 455 } 461 456 #icons a, … … 470 465 border-bottom: 1px dotted #f90; 471 466 } 467 #icons a img { 468 padding: 2em; 469 background: #eee; 470 border-radius: 1.6rem; 471 box-shadow: 0 3px 3px 0 #ccc; 472 } 473 #icons a img:hover { 474 background-color: #BBDB58; 475 } 472 476 #icons a:focus span, #icons a:hover span { 473 477 text-decoration: underline; 474 478 } 475 479 #quick { 476 clear: left;477 480 margin-top: 2em; 478 481 } … … 489 492 } 490 493 #dashboard-items { 491 float: left; 492 width: 27%; 493 overflow: hidden; 494 padding-bottom: 1em; 495 padding-top: 3em; 494 margin: 2em auto; 495 display: table; 496 /*background: #eef;*/ 497 border-collapse: collapse; 498 } 499 #dashboard-items div { 500 display: table-cell; 501 padding: 1em 3em; 502 vertical-align: top; 503 border: 1px dashed #A2CBE9; 496 504 } 497 505 #dashboard-items img { … … 1540 1548 #help-button {width:20px; overflow: hidden;} 1541 1549 #info-box1 {margin-left: 1rem;} 1550 #dashboard-items div {display: block;margin-bottom: 1em} 1542 1551 } 1543 1552 @media screen and (max-width: 492px) {
Note: See TracChangeset
for help on using the changeset viewer.