NIHVIVO-1860: Added markup and styles for vivo-basic alert when theme is active

This commit is contained in:
mb863 2011-02-01 02:02:30 +00:00
parent b4b6d8d943
commit f1072bc596
3 changed files with 41 additions and 0 deletions

View file

@ -826,4 +826,24 @@ margin-bottom:250px;
/* This css rules will override the one in individual.css */ /* This css rules will override the one in individual.css */
.green { .green {
color:#000 !important; color:#000 !important;
}
/* styles for vivo-basic deprecated alert */
#deprecated {
border: 3px solid #edc113;
background-color: #F8F8C8;
color: #000;
margin-bottom: 1em;
text-align: left;
font-size: 1.1em;
padding: 20px 20px 0 20px;
width: 86%;
}
#deprecated p {
margin-top: 1.1em;
text-align: left;
}
#deprecated h1 {
font-size: 1.4em;
} }

View file

@ -2,6 +2,8 @@
<#import "lib-list.ftl" as l> <#import "lib-list.ftl" as l>
<#include "vivo-basic-deprecation.ftl">
<div id="wrap" class="container"> <div id="wrap" class="container">
<div id="header"> <div id="header">

View file

@ -0,0 +1,19 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<div id="deprecated" class="container" role="alert">
<h1>The vivo-basic theme has been deprecated with the 1.2 release and is not recommended for production instances.</h1>
<p>Since vivo-basic was the default theme for all previous releases, it is included as part of VIVO 1.2 to help with the transition of upgrading existing installations to latest code, but all vivo-basic development has ceased and it will not be distributed in future releases.</p>
<p>Please note that vivo-basic does not support all of the new 1.2 features. Most notably, in choosing to use vivo-basic you will be missing out on the following:</p>
<ul>
<li>new primary menu for site navigation (replaces tabs)</li>
<li>home page with class group browse and visual graph</li>
<li>menu pages with class group browse, individual browse and visual graph</li>
</ul>
<p>The new default theme shipped with the application is called <strong>wilma</strong> and fully supports all 1.2 features. For details on how to copy the wilma theme and customize it to your liking, please review the <a href="http://www.vivoweb.org/support/user-guide/administration" title="Download VIVO documentation" target=""_blank>Site Administrator's Guide</a>. You can select your active theme on the site information page, located at <em>Site Admin > Site Information</em>.</p>
<p><strong>To remove this notification simply comment out the include for vivo-basic-deprecation.ftl in themes/vivo/templates/identity.ftl.</strong></p>
</div>