Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80772 - in website/public_html/beta: common/code style-v2/css_0
From: dnljms_at_[hidden]
Date: 2012-09-30 07:36:59


Author: danieljames
Date: 2012-09-30 07:36:58 EDT (Sun, 30 Sep 2012)
New Revision: 80772
URL: http://svn.boost.org/trac/boost/changeset/80772

Log:
Website: Make all of the out of date notice clickable.
Text files modified:
   website/public_html/beta/common/code/boost_filters.php | 13 +++++++------
   website/public_html/beta/style-v2/css_0/header.css | 11 +++++++++--
   2 files changed, 16 insertions(+), 8 deletions(-)

Modified: website/public_html/beta/common/code/boost_filters.php
==============================================================================
--- website/public_html/beta/common/code/boost_filters.php (original)
+++ website/public_html/beta/common/code/boost_filters.php 2012-09-30 07:36:58 EDT (Sun, 30 Sep 2012)
@@ -134,15 +134,16 @@
         echo '<div class="boost-common-header-notice">';
         if (is_file(ARCHIVE_DIR."/{$current->dir()}/$params[key]"))
         {
- echo 'This is the documentation for an old version of boost, click '.
- '<a href="/doc/libs/release/'.$params['key'].'">'.
- 'here for the current version of this page</a>';
+ echo '<a class="boost-common-header-inner" href="/doc/libs/release/',$params['key'],'">',
+ "Click here to view the latest version of this page.",
+ '</a>';
         }
         else
         {
- echo 'This is the documentation for an old version of boost, ';
- echo '<a href="/doc/libs/">click here for the current boost ';
- echo 'documentation</a>.';
+ echo '<a class="boost-common-header-inner" href="/doc/libs/">',
+ "This is an old version of boost. ",
+ "Click here for the latest version's documentation home page.",
+ '</a>';
         }
         echo '</div>', "\n";
         break;

Modified: website/public_html/beta/style-v2/css_0/header.css
==============================================================================
--- website/public_html/beta/style-v2/css_0/header.css (original)
+++ website/public_html/beta/style-v2/css_0/header.css 2012-09-30 07:36:58 EDT (Sun, 30 Sep 2012)
@@ -109,12 +109,19 @@
     border: 1px solid #aa5;
     background: #ffc;
     color: #000;
+}
+
+a.boost-common-header-inner,
+span.boost-common-header-inner,
+div.boost-common-header-inner {
+ display: block;
     padding: 10px 13px;
+ text-decoration: none;
+ color: #000;
 }
 
-.boost-common-header-notice a {
+a.boost-common-header-inner:hover {
     text-decoration: underline;
- color: #005a9c;
 }
 
 @media all and (min-width: 550px) {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk