|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80660 - in website/public_html/beta: common/code style-v2/css_0
From: dnljms_at_[hidden]
Date: 2012-09-23 05:48:19
Author: danieljames
Date: 2012-09-23 05:48:19 EDT (Sun, 23 Sep 2012)
New Revision: 80660
URL: http://svn.boost.org/trac/boost/changeset/80660
Log:
Website: Improve the documentation notices.
Text files modified:
website/public_html/beta/common/code/boost_filters.php | 10 ++++++++--
website/public_html/beta/style-v2/css_0/header.css | 7 +++++++
2 files changed, 15 insertions(+), 2 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-23 05:48:19 EDT (Sun, 23 Sep 2012)
@@ -131,19 +131,25 @@
case 0:
break;
case 1:
+ 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 latest version</a>';
+ 'here for the current version of this page</a>';
}
else
{
- echo 'This is the documentation for an old version of boost.';
+ 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 '</div>', "\n";
break;
case -1:
+ echo '<div class="boost-common-header-notice">';
echo 'This is the documentation for an unreleased version of boost';
+ 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-23 05:48:19 EDT (Sun, 23 Sep 2012)
@@ -102,3 +102,10 @@
#heading .heading-search #search-text #q:hover {
border-bottom: 1px #FFFFFF solid;
}
+.boost-common-header-notice {
+ border: 1px solid #aa5;
+ background: #ffc;
+ color: #000;
+ margin: 0 auto 1em auto;
+ padding: 0.5em 1em;
+}
\ No newline at end of file
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