Changeset 4721
- Timestamp:
- 08/06/07 15:39:53 (6 years ago)
- Files:
-
- modules/branches/2.3/dashboard/dashboard.css (modified) (4 diffs)
- modules/branches/2.3/dashboard/module.xml (modified) (1 diff)
- modules/branches/2.3/dashboard/page.index.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3/dashboard/dashboard.css
r4719 r4721 30 30 /* headings */ 31 31 .infobox h4 , .infobox h3 { 32 margin-bottom: 0;32 margin-bottom:8px; 33 33 margin-top:5px; 34 34 } … … 89 89 list-style-type:none; 90 90 padding-left:0; 91 margin:0; 91 92 } 92 93 #syslog ul li { 93 94 position:relative; 94 padding-left:18px;95 95 margin-bottom:0.2em; 96 96 border-bottom:1px dashed #ccc; … … 109 109 cursor:pointer; 110 110 } 111 #syslog ul li.notify_critical {112 background-image:url(images/notify_critical.png);113 background-repeat:no-repeat;114 }115 #syslog ul li.notify_security {116 background-image:url(images/notify_security.png);117 background-repeat:no-repeat;118 }119 111 #syslog ul li.notify_critical>div, #syslog ul li.notify_security>div { 120 112 /*background:#F7181C;*/ … … 124 116 color:white; 125 117 } 126 #syslog ul li.notify_update { 127 background-image:url(images/notify_update.png); 128 background-repeat:no-repeat; 129 } 130 #syslog ul li.notify_error { 131 background-image:url(images/notify_error.png); 132 background-repeat:no-repeat; 133 } 134 #syslog ul li.notify_warning { 135 background-image:url(images/notify_warning.png); 136 background-repeat:no-repeat; 137 } 138 #syslog ul li.notify_notice { 139 background-image:url(images/notify_notice.png); 140 background-repeat:no-repeat; 141 } 118 /* 142 119 143 120 /* modules/branches/2.3/dashboard/module.xml
r4719 r4721 18 18 </depends> 19 19 <changelog> 20 *0.3.1* Fix issue with miscounting total registrations, styling of notificationdetails20 *0.3.1* Fix issue with miscounting total registrations, minor styling details 21 21 *0.3* Show IP phones and trunks separately (#2209) 22 22 *0.2.5.4* make always accessible even in database mode, fix minor javascript bug modules/branches/2.3/dashboard/page.index.php
r4712 r4721 266 266 global $sysinfo; 267 267 global $astinfo; 268 $out = '<table>'; 268 $out = "<h3>"._("  ")."</h3></br>"; 269 $out .= '<table>'; 269 270 /* 270 271 $out .= '<tr><th>Distro:</th><td>'.$sysinfo->distro().'</td></tr>'; … … 274 275 */ 275 276 276 $out .= "<h3>"._("  ")."</h3></br>";277 277 $out .= '<tr><th>'._('System Uptime').':</th><td>'.time_string($sysinfo->uptime()).'</td></tr>'; 278 278 $ast_uptime = $astinfo->get_uptime(); … … 350 350 $out = ''; 351 351 $checksum = ''; 352 353 $notify_classes = array( 352 353 // notify_classes are also used as the image names 354 $notify_classes = array( 354 355 NOTIFICATION_TYPE_CRITICAL => 'notify_critical', 355 356 NOTIFICATION_TYPE_SECURITY => 'notify_security', … … 358 359 NOTIFICATION_TYPE_WARNING => 'notify_warning', 359 360 NOTIFICATION_TYPE_NOTICE => 'notify_notice', 361 ); 362 $notify_descriptions = array( 363 NOTIFICATION_TYPE_CRITICAL => _('Critical Error'), 364 NOTIFICATION_TYPE_SECURITY => _('Security Update'), 365 NOTIFICATION_TYPE_UPDATE => _('Update'), 366 NOTIFICATION_TYPE_ERROR => _('Error'), 367 NOTIFICATION_TYPE_WARNING => _('Warning'), 368 NOTIFICATION_TYPE_NOTICE => _('Notice'), 360 369 ); 361 370 … … 380 389 } 381 390 $out .= '><div>'; 382 383 $out .= '<h4 class="syslog_text"><span>'.$item['display_text'].'</span>'; 391 392 $out .= '<h4 class="syslog_text">'; 393 $out .= '<img src="images/'.$notify_classes[$item['level']].'" alt="'.$notify_descriptions[$item['level']].'" title="'.$notify_descriptions[$item['level']].'" width="16" height="16" border="0" /> '; 394 $out .= '<span>'.$item['display_text'].'</span>'; 384 395 $out .= '<div class="notification_buttons">'; 385 396 if (isset($item['candelete']) && $item['candelete']) {
