Module: nagvis
Branch: master
Commit: 3852f4b9e42c1d5f23863f0a2d607158f1ba9c8a
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=3852f4b9e42c1d5f23863f0a2d607158f1ba9c8a

Author: LaMi <[email protected]>
Date:   Wed Jan 13 09:40:09 2010 +0100

Fixed hover template path; Compressed the hover template css definition

---

 share/userfiles/templates/default.hover.css  |   81 +++++++-------------------
 share/userfiles/templates/default.hover.html |    2 +-
 2 files changed, 22 insertions(+), 61 deletions(-)

diff --git a/share/userfiles/templates/default.hover.css 
b/share/userfiles/templates/default.hover.css
index 8fba8a6..1f5b5e4 100644
--- a/share/userfiles/templates/default.hover.css
+++ b/share/userfiles/templates/default.hover.css
@@ -1,8 +1,8 @@
 /*****************************************************************************
  *
- * tmpl.default.css - CSS for default hover template
+ * default.hover.css - Hover template specific css definitions
  *
- * Copyright (c) 2004-2008 NagVis Project (Contact: [email protected])
+ * Copyright (c) 2004-2010 NagVis Project (Contact: [email protected])
  *
  * License:
  *
@@ -25,61 +25,22 @@
  * @author     Lars Michelsen <[email protected]>
  */
 
-table.hover_table {
-       border-collapse:collapse;
-}
-
-table.hover_table td, table.hover_table th {
-       border: 1px #a4a4a4 solid;
-       padding: 2px;
-       
-       font-size: 9px;
-       color: #314455;
-}
-
-table.hover_table th {
-       text-align: center;
-       background-color: #eee;
-}
-
-table.hover_table spacer {
-       height: 3px;
-       background-color: #eee;
-}
-
-table.hover_table td.label { text-align: center; background-color: #eee; }
-table.hover_table td.labelACK { text-align: center; background-color: #eee; }
-table.hover_table td.labelPENDING { text-align: center; background-color: 
#eee; }
-table.hover_table td.labelOK, table.hover_table td.labelUP { text-align: 
center; background-color: #66FF66; }
-table.hover_table td.labelWARNING { text-align: center; background-color: 
#FFFF7E; }
-table.hover_table td.labelCRITICAL, table.hover_table td.labelDOWN, 
table.hover_table td.labelUNREACHABLE { text-align: center; background-color: 
#FFBBBB; }
-table.hover_table td.labelERROR { text-align: center; background-color: #eee; }
-table.hover_table td.labelUNKNOWN { text-align: center; background-color: 
#eee; }
-
-table.hover_table label {
-       font-weight: bold;
-}
-
-table.hover_table td.statePENDING {
-       background-color: #ffffff;
-}
-
-table.hover_table td.stateOK, table.hover_table td.stateUP {
-       background-color: #00CC00;
-}
-
-table.hover_table td.stateWARNING {
-       background-color: #FFFF00;
-}
-
-table.hover_table td.stateCRITICAL, table.hover_table td.stateDOWN, 
table.hover_table td.stateUNREACHABLE {
-       background-color: #F83838;
-}
-
-table.hover_table td.stateERROR {
-       background-color: #66CCFF;
-}
-
-table.hover_table td.stateUNKNOWN {
-       background-color: #FFFF99;
-}
+table.hover_table {border-collapse:collapse}
+table.hover_table td, table.hover_table th {border:1px #a4a4a4 
solid;padding:2px;font-size:9px;color:#314455;}
+table.hover_table th {text-align:center;background-color:#eee}
+table.hover_table spacer {height:3px;background-color:#eee}
+table.hover_table td.label {text-align:center;background-color:#eee}
+table.hover_table td.labelACK {text-align:center;background-color: #eee}
+table.hover_table td.labelPENDING {text-align:center;background-color:#eee}
+table.hover_table td.labelOK, table.hover_table td.labelUP 
{text-align:center;background-color:#66FF66}
+table.hover_table td.labelWARNING {text-align:center;background-color:#FFFF7E}
+table.hover_table td.labelCRITICAL, table.hover_table td.labelDOWN, 
table.hover_table td.labelUNREACHABLE 
{text-align:center;background-color:#FFBBBB}
+table.hover_table td.labelERROR {text-align:center;background-color:#eee}
+table.hover_table td.labelUNKNOWN {text-align:center;background-color:#eee}
+table.hover_table label {font-weight:bold}
+table.hover_table td.statePENDING {background-color:#ffffff}
+table.hover_table td.stateOK, table.hover_table td.stateUP 
{background-color:#00CC00}
+table.hover_table td.stateWARNING {background-color:#FFFF00}
+table.hover_table td.stateCRITICAL, table.hover_table td.stateDOWN, 
table.hover_table td.stateUNREACHABLE {background-color:#F83838}
+table.hover_table td.stateERROR {background-color:#66CCFF}
+table.hover_table td.stateUNKNOWN {background-color:#FFFF99}
diff --git a/share/userfiles/templates/default.hover.html 
b/share/userfiles/templates/default.hover.html
index 1467622..0857c49 100644
--- a/share/userfiles/templates/default.hover.html
+++ b/share/userfiles/templates/default.hover.html
@@ -1,4 +1,4 @@
-<link rel="stylesheet" type="text/css" href="[html_templates]tmpl.default.css" 
/>
+<link rel="stylesheet" type="text/css" 
href="[html_templates]default.hover.css" />
 <table class="hover_table">
        <tr><th colspan="2">[lang_obj_type] ([lang_last_status_refresh]: 
[last_status_refresh])</th></tr>
        <tr><td 
class="label"><label>[lang_name]</label></td><td>[obj_name]</td></tr>


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to