[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Frescha frescha at unitedseed.de
Tue Feb 28 22:09:55 UTC 2012


The following commit has been merged in the debian/master branch:
commit 066bd3108291e5cc90b66b73dd3a0014bbf2de0e
Author: Frescha <frescha at unitedseed.de>
Date:   Tue Dec 27 20:02:52 2011 +0100

    add zebra efect eltdeatil mockup

diff --git a/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css b/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css
index 509e867..e0b7be2 100755
--- a/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css
+++ b/shinken/webui/plugins/eltdetail/htdocs/css/eltdetail2.css
@@ -245,28 +245,33 @@ div.content {
  *  Comments
  */
 
-.comment-text {
+.log-text {
 	margin-bottom: 5px;
 	width: 100%;
 	
 }
 
-.comment-meta {
+.log-meta {
 	width: 100%;
 	color: #999999;
 }
 
-.comment-meta span{
+.log-meta span{
 	margin-right:10px;
 }
 
-.comment-action a{
+.log-action a{
 	color: #e10000;
 	width: 5%;
 	text-decoration:none;
 	line-height: 35px;
 }
 
+.log-action a:hover {
+	font-weight:bold;
+}
+
+
 #log_container {}
 
 #log_container  h2{
@@ -304,8 +309,9 @@ div.content {
 	min-height:35px;
 }
 
-.row_alt {
-	background: #FFFFFF !important;
+#log_container  li:nth-child(2n) {
+  background:#FFFFFF;
+  font-style:italic;
 }
 
 .switches ul li {
diff --git a/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl b/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
index bee365b..0d0cc86 100644
--- a/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
+++ b/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
@@ -295,10 +295,10 @@ Invalid element name
 												%for c in elt.comments:
 												<li>
 													<div class="left">
-														<p class="comment-text">{{c.comment}}</p>
-														<div class="comment-meta"><span><b>Author:</b> {{c.author}}</span> <span><b>Creation:</b> {{helper.print_date(c.entry_time)}}</span> <span><b>Expire:</b>{{helper.print_date(c.expire_time)}}</span></div>
+														<p class="log-text">{{c.comment}}</p>
+														<div class="log-meta"><span><b>Author:</b> {{c.author}}</span> <span><b>Creation:</b> {{helper.print_date(c.entry_time)}}</span> <span><b>Expire:</b>{{helper.print_date(c.expire_time)}}</span></div>
 													</div>
-													<div class="right comment-action"><a class="icon_delete" href="#">Delete</a></div>
+													<div class="right log-action"><a class="icon_delete" href="#">Delete</a></div>
 												</li>
 												%end
 											</ol>

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list