[3833] trunk/htdocs/system/admin: On the admin logs page, change the width of the severity and message columns so that severity actually displays .

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Nov 25, 2009, 8:16:12 PM11/25/09
to habar...@googlegroups.com
Revision
3833
Author
michaeltwofish
Date
2009-11-26 01:16:11 +0000 (Thu, 26 Nov 2009)

Log Message

On the admin logs page, change the width of the severity and message columns so that severity actually displays. Fix the CSS for the header so that it lines up with the columns. This is tabular data and should be changed to a table anyway.

Modified Paths

Diff

Modified: trunk/htdocs/system/admin/css/admin.css (3832 => 3833)


--- trunk/htdocs/system/admin/css/admin.css	2009-11-25 15:01:33 UTC (rev 3832)
+++ trunk/htdocs/system/admin/css/admin.css	2009-11-26 01:16:11 UTC (rev 3833)
@@ -1287,6 +1287,12 @@
 
 /* LOGS PAGE */
 
+body.page-logs .head {
+	margin-left: -40px;
+	margin-right: -40px;
+	padding: 3px 0 3px 2px;
+}
+
 body.page-logs .time, body.page-logs .user, body.page-logs .ip, body.page-logs .module, body.page-logs .severity {
 	white-space: nowrap;
 	overflow: hidden;

Modified: trunk/htdocs/system/admin/logs.php (3832 => 3833)


--- trunk/htdocs/system/admin/logs.php	2009-11-25 15:01:33 UTC (rev 3832)
+++ trunk/htdocs/system/admin/logs.php	2009-11-26 01:16:11 UTC (rev 3833)
@@ -37,8 +37,8 @@
 		<span class="ip pct10"><?php _e('IP'); ?></span>
 		<span class="module pct10"><?php _e('Module'); ?></span>
 		<span class="type pct10"><?php _e('Type'); ?></span>
-		<span class="severity pct5"><?php _e('Severity'); ?></span>
-		<span class="message pct30"><?php _e('Message'); ?></span>
+		<span class="severity pct10"><?php _e('Severity'); ?></span>
+		<span class="message pct25"><?php _e('Message'); ?></span>
 
 	</div>
 
@@ -49,8 +49,8 @@
 		<span class="pct10"><?php echo Utils::html_select('address', $addresses, $address, array( 'class'=>'pct90')); ?></span>
 		<span class="pct10"><?php echo Utils::html_select('module', $modules, $module, array( 'class'=>'pct90')); ?></span>
 		<span class="pct10"><?php echo Utils::html_select('type', $types, $type, array( 'class'=>'pct90')); ?></span>
-		<span class="pct5"><?php echo Utils::html_select('severity', $severities, $severity, array( 'class'=>'pct90')); ?></span>
-		<span class="pct30"><input type="submit" name="filter" value="<?php _e('Filter'); ?>"></span>
+		<span class="pct10"><?php echo Utils::html_select('severity', $severities, $severity, array( 'class'=>'pct90')); ?></span>
+		<span class="pct25"><input type="submit" name="filter" value="<?php _e('Filter'); ?>"></span>
 	</div>
 	
 	<?php if(isset($years)) { ?>

Modified: trunk/htdocs/system/admin/logs_items.php (3832 => 3833)


--- trunk/htdocs/system/admin/logs_items.php	2009-11-25 15:01:33 UTC (rev 3832)
+++ trunk/htdocs/system/admin/logs_items.php	2009-11-26 01:16:11 UTC (rev 3833)
@@ -14,8 +14,8 @@
 		<span class="ip pct10 minor"><span><?php echo long2ip($log->ip); ?></span></span>
 		<span class="module pct10 minor"><span><?php echo $log->module; ?></span></span>
 		<span class="type pct10 minor"><span><?php echo $log->type; ?></span></span>
-		<span class="severity pct5 minor"><span><?php echo $log->severity; ?></span></span>
-		<span class="message pct30 minor less"><span><?php echo Utils::truncate(htmlspecialchars($log->message), 40, false); ?></span></span>
-		<span class="message pct30 minor more"><span><?php echo htmlspecialchars($log->message); ?></span></span>
+		<span class="severity pct10 minor"><span><?php echo $log->severity; ?></span></span>
+		<span class="message pct25 minor less"><span><?php echo Utils::truncate(htmlspecialchars($log->message), 40, false); ?></span></span>
+		<span class="message pct25 minor more"><span><?php echo htmlspecialchars($log->message); ?></span></span>
 </div>
 <?php endforeach; ?>
Reply all
Reply to author
Forward
0 new messages