NIHVIVO-2811 Move the Vitro themes to correspond to the VIVO themes.

This commit is contained in:
j2blake 2011-09-11 15:45:04 +00:00
parent 0ef4a791c8
commit f00cfd677a
27 changed files with 5 additions and 58 deletions

View file

@ -1,5 +0,0 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* If VITRO theme developers decide to use VITRO theme
as the base for their new theme, please use this file
for adding fixes for IE6 browsers */

View file

@ -1,5 +0,0 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* If VITRO theme developers decide to use VITRO theme
as the base for their new theme, please use this file
for adding fixes for IE7 browsers *

View file

@ -1,106 +0,0 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* CSS Document
CSS reste by Eric Meyer:
The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on... http://meyerweb.com/eric/tools/css/reset/
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
color: #595b5b;
font-weight: normal;
}
body {
line-height: 1.5em;
}
ol,
ul {
list-style: none;
font-weight: normal;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* New ones added to the default list */
a {
text-decoration: none;
}
fieldset {
border-style: none;
}
legend {
display: none;
}

View file

@ -1,26 +0,0 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/****************************************
****************************************
__ __ __ __ __ ___
/\ \/\ \\/\ \/\ \/\ \ / __`\
\ \ \_/ |\ \ \ \ \_/ |/\ \L\ \
\ \___/ \ \_\ \___/ \ \____/
\/__/ \/_/\/__/ \/___/
VIVO wilma theme: screen styles
Original version
2010-09-04 UI team
Last updated
2011-2-1
*****************************************
*****************************************/
@charset "UTF-8";
@import url("reset.css");
@import url("vitroTheme.css");

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 B

View file

@ -1,33 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
</div> <!-- #wrapper-content -->
<footer role="contentinfo">
<p class="copyright">
<#if copyright??>
<small>&copy;${copyright.year?c}
<#if copyright.url??>
<a href="${copyright.url}">${copyright.text}</a>
<#else>
${copyright.text}
</#if>
| <a class="terms" href="${urls.termsOfUse}">Terms of Use</a></small> |
</#if>
Powered by <a class="powered-by-vitro" href="http://vitro.sourceforge.net"><strong>Vitro</strong></a>
<#if user.hasRevisionInfoAccess>
| Version <a href="${version.moreInfoUrl}">${version.label}</a>
</#if>
</p>
<nav role="navigation">
<ul id="footer-nav" role="list">
<li role="listitem"><a href="${urls.about}">About</a></li>
<#if urls.contact??>
<li role="listitem"><a href="${urls.contact}">Contact Us</a></li>
</#if>
<li role="listitem"><a href="http://www.vivoweb.org/support" target="blank">Support</a></li>
</ul>
</nav>
</footer>
<#include "scripts.ftl">

View file

@ -1,26 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- NOTICE: This is SAMPLE Google Analytics code. You must replace it with your institution's code.
Please see documentation at https://confluence.cornell.edu/display/ennsrd/Google+Analytics+for+UI. -->
<#--
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5164622-5");
pageTracker._setDomainName("vivo.cornell.edu");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
var rollupTracker = _gat._getTracker("UA-12531954-1");
rollupTracker._setDomainName("none");
rollupTracker._setAllowLinker(true);
rollupTracker._trackPageview(location.host+location.pathname);
}
catch(err) {}
</script>
-->

View file

@ -1,30 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<meta charset="utf-8" />
<!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>${title}</title>
<#include "stylesheets.ftl">
<link rel="stylesheet" href="${urls.theme}/css/screen.css" />
<#include "headScripts.ftl">
<!--[if lt IE 7]>
<link rel="stylesheet" href="${urls.theme}/css/ie6.css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="${urls.theme}/css/ie7.css" />
<![endif]-->
<!--[if (gte IE 6)&(lte IE 8)]>
<script type="text/javascript" src="${urls.base}/js/selectivizr.js"></script>
<![endif]-->
<#-- Inject head content specified in the controller. Currently this is used only to generate an rdf link on
an individual profile page. -->
${headContent!}
<link rel="shortcut icon" type="image/x-icon" href="${urls.base}/favicon.ico">

View file

@ -1,51 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<header id="branding" role="banner">
<h1 class="vitro-logo"><a title="VITRO | web-based ontology & instance editor" href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
<#-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
<#if siteTagline?has_content>
<em>${siteTagline}</em>
</#if>-->
<nav role="navigation">
<ul id="header-nav" role="list">
<li role="listitem"><a href="${urls.index}">Index</a></li>
<#if user.loggedIn>
<#if user.hasSiteAdminAccess>
<li role="listitem"><a href="${urls.siteAdmin}">Site Admin</a></li>
</#if>
<li>
<ul class="dropdown">
<li id="user-menu"><a href="#">${user.loginName}</a>
<ul class="sub_menu">
<#if urls.myAccount??>
<li role="listitem"><a href="${urls.myAccount}">My account</a></li>
</#if>
<li role="listitem"><a href="${urls.logout}">Log out</a></li>
</ul>
</li>
</ul>
</li>
${scripts.add('<script type="text/javascript" src="${urls.base}/js/userMenu/userMenuUtils.js"></script>')}
<#else>
<li role="listitem"><a class="log-out" title="log in to manage this site" href="${urls.login}">Log in</a></li>
</#if>
</ul>
</nav>
<section id="search" role="region">
<fieldset>
<legend>Search form</legend>
<form id="search-form" action="${urls.search}" name="search" role="search">
<div id="search-field">
<input type="text" name="querytext" class="search-vitro" value="${querytext!}" autocapitalize="off" />
<input type="submit" value="Search" class="search">
</div>
</form>
</fieldset>
</section>
</header>

View file

@ -1,28 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<nav role="navigation">
<ul id="main-nav" role="list">
<#list menu.items as item>
<li role="listitem"><a href="${item.url}" <#if item.active> class="selected" </#if>>${item.linkText}</a></li>
</#list>
</ul>
</nav>
<div id="wrapper-content" role="main">
<#if flash?has_content>
<#if flash?starts_with("Welcome") >
<section id="welcome-msg-container" role="container">
<section id="welcome-message" role="alert">${flash}</section>
</section>
<#else>
<section id="flash-message" role="alert">
${flash}
</section>
</#if>
</#if>
<!--[if lte IE 8]>
<noscript>
<p class="ie-alert">This site uses HTML elements that are not recognized by Internet Explorer 8 and below in the absence of JavaScript. As a result, the site will not be rendered appropriately. To correct this, please either enable JavaScript, upgrade to Internet Explorer 9, or use another browser. Here are the <a href="http://www.enable-javascript.com">instructions for enabling JavaScript in your web browser</a>.</p>
</noscript>
<![endif]-->

View file

@ -1,37 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<@widget name="login" include="assets" />
<#include "browse-classgroups.ftl">
<!DOCTYPE html>
<html lang="en">
<head>
<#include "head.ftl">
</head>
<body class="${bodyClasses!}">
<#include "identity.ftl">
<#include "menu.ftl">
<section id="intro" role="region">
<h2>What is VITRO?</h2>
<p>Vitro is a general-purpose web-based ontology and instance editor with customizable public browsing. Vitro is a Java web application that runs in a Tomcat servlet container.</p>
<p>With Vitro, you can:</p>
<ul>
<li>Create or load ontologies in OWL format</li>
<li>Edit instances and relationships</li>
<li>Build a public web site to display your data</li>
<li>Search your data</li>
</ul>
</section> <!-- #intro -->
<@widget name="login" />
<@allClassGroups vClassGroups />
<#include "footer.ftl">
</body>
</html>

View file

@ -1,20 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#import "lib-list.ftl" as l>
<!DOCTYPE html>
<html lang="en">
<head>
<#include "head.ftl">
</head>
<body class="${bodyClasses!}">
<#include "identity.ftl">
<#include "menu.ftl">
${body}
<#include "footer.ftl">
</body>
</html>