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

Author: LaMi <[email protected]>
Date:   Fri Jan 15 12:30:20 2010 +0100

Header menu is splitted in left/right area to fit the whole screen

---

 share/userfiles/templates/default.css         |    4 +++-
 share/userfiles/templates/default.header.html |    6 +++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/share/userfiles/templates/default.css 
b/share/userfiles/templates/default.css
index 3d2b7a0..91399eb 100644
--- a/share/userfiles/templates/default.css
+++ b/share/userfiles/templates/default.css
@@ -546,6 +546,7 @@ td#popupWindowContent fieldset.form label {
        font-size: 0.6em;
        height: 31px;
        width: 100%;
+       background: url('../images/templates/default.header.png');
 }
 
 .header ul.head {
@@ -554,7 +555,6 @@ td#popupWindowContent fieldset.form label {
        
        background-color: #F5F5F5;
        background: url('../images/templates/default.header.png');
-       width: 100%;
        
        height: 31px;
        
@@ -563,6 +563,8 @@ td#popupWindowContent fieldset.form label {
        list-style:none;
 }
 
+.header ul.right {float:right}
+
 .header ul.head li {
        margin: 0;
        padding: 0;
diff --git a/share/userfiles/templates/default.header.html 
b/share/userfiles/templates/default.header.html
index af88e5a..722e8e6 100644
--- a/share/userfiles/templates/default.header.html
+++ b/share/userfiles/templates/default.header.html
@@ -20,6 +20,7 @@
                        </dd>
                </dl>
        </li>
+       {if $viewType == 'Map' || $viewType == 'Automap' || $bRotation == true}
        <li>
                <dl class="dropdown">
                        <dt id="action-ddheader" 
onmouseover="ddMenu('action',1)" 
onmouseout="ddMenu('action',-1)">{$langActions} <img 
src="{$pathTemplateImages}default.header_down.png" alt="&#8711;" /></dt>
@@ -39,6 +40,7 @@
                        </dd>
                </dl>
        </li>
+       {/if}
        {if $viewType == 'WuiMap' && $permittedEdit == true}
        <li>
                <dl class="dropdown">
@@ -105,7 +107,8 @@
                </dl>
        </li>
        {/if}
-       <li style="width:300px;"></li>
+</ul>
+<ul class="head right">
        <li>
                <dl class="dropdown">
                  <dt id="user-ddheader" onmouseover="ddMenu('user',1)" 
onmouseout="ddMenu('user',-1)">{$langUser}<img 
src="{$pathTemplateImages}default.header_down.png" alt="&#8711;" /></dt>
@@ -142,5 +145,6 @@
                  </dd>
                </dl>
        </li>
+       <li style="width:120px"></li>
 </ul>
 </div>


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to