]> git.wh0rd.org Git - tt-rss.git/commitdiff
tweak hello/prefs/logout linkbar (refs #163)
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Nov 2007 09:59:19 +0000 (10:59 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Nov 2007 09:59:19 +0000 (10:59 +0100)
prefs.php
themes/graycube/theme.css
tt-rss.css
tt-rss.php

index d1d98ea16396d4ce8a6643805f5539478d9cbb46..0544a8700b4602887c0035927cc520804c0324a4 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -87,9 +87,9 @@ window.onload = init;
 
 <div id="prefHeader">
        <?php if (!SINGLE_USER_MODE) { ?>
-               <div style="float : right">
-                       <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
-                       (<a href="logout.php"><?php echo __('Logout') ?></a>)
+               <div class="topLinks">
+                       <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
+                       <a href="logout.php"><?php echo __('Logout') ?></a>
                </div>
        <?php } ?>
        <img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>   
index cca6095a8fd3330f2dbb0f0f19a0548f7d51df97..fd9b24e350a417bc52785387f691811a1db81d66 100644 (file)
@@ -458,3 +458,11 @@ ul.headlineDropdownMenu ul li:hover {
 .insensitive a:hover {
        color : black;
 }
+
+div.topLinks a {
+       color : black;
+}
+
+div.topLinks a:hover {
+       color : gray;
+}
index 267e112d34d47cd1a5f5a63aa41830c9c88dfaa6..f1580b0336fbe898aa02d0ddb4dc0ec8dbe4cceb 100644 (file)
@@ -1697,3 +1697,17 @@ div.autocomplete ul li {
 #feedOpToolbar {
        float : right;
 }
+
+div.topLinks {
+       float : right;
+       margin-right : 5px;
+       color : gray;
+}
+
+div.topLinks a {
+       color : #4684ff;        
+}
+
+div.topLinks a:hover {
+       color : black;
+}
index 34f11d1fd1214e5d2871025b22d661a24b0f4410..5ef24050abb9ec43419da7ea13f12a11ba45f870 100644 (file)
@@ -103,11 +103,16 @@ window.onload = init;
 <div id="infoBoxShadow"><div id="infoBox">&nbsp;</div></div>
 
 <div id="header">
-       <div style="float : right">
+       <div class="topLinks">
        <?php if (!SINGLE_USER_MODE) { ?>
-                       <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
-                       (<a href="logout.php"><?php echo __('Logout') ?></a>)
+                       <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
        <?php } ?>
+       <a href="prefs.php"><?php echo __('Preferences') ?></a>
+
+       <?php if (!SINGLE_USER_MODE) { ?>
+                       | <a href="logout.php"><?php echo __('Logout') ?></a>
+       <?php } ?>
+
        <img id="newVersionIcon" style="display:none;" onclick="javascript:explainError(2)" 
                src="images/new_version.png" title="New version is available!" 
                alt="new_version_icon">
@@ -129,7 +134,7 @@ window.onload = init;
                        <select id="quickMenuChooser" onchange="quickMenuChange()">
                                        <option value="qmcDefault" selected><?php echo __('Actions...') ?></option>
                                        <option value="qmcSearch"><?php echo __('Search') ?></option>
-                                       <option value="qmcPrefs"><?php echo __('Preferences') ?></option>
+                                       <!-- <option value="qmcPrefs"><?php echo __('Preferences') ?></option> -->
                                        <option disabled>--------</option>
                                        <option style="color : #5050aa" disabled><?php echo __('Feed actions:') ?></option>
                                        <option value="qmcAddFeed"><?php echo __('&nbsp;&nbsp;Subscribe to feed') ?></option>