Tweak the build script, so a developer can build vitro-core and it won't have any effect when they build vivoweb in the same workspace.

This commit is contained in:
jeb228 2010-01-29 22:12:41 +00:00
commit 3f17d16d7b
68 changed files with 40148 additions and 0 deletions

View file

@ -0,0 +1,60 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* --------------------------------------------------------------
forms.css
* Sets up some default styling for forms
* Gives you classes to enhance your forms
Usage:
* For text fields, use class .title or .text
-------------------------------------------------------------- */
label { font-weight: bold; display: block; margin-top: .5em; }
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend { font-weight: bold; font-size:1.2em; }
/* Form fields
-------------------------------------------------------------- */
input.text, input.title,
textarea, select {
margin:0 0;
border:1px solid #bbb;
}
input.text:focus, input.title:focus,
textarea:focus, select:focus {
border:1px solid #666;
}
input.text,
input.title { width: 300px; padding:5px; }
input.title { font-size:1.5em; }
/*textarea { width: 390px; height: 250px; padding:5px; }*/
textarea { width: 90%; }
input.button { margin: 1em 0; }
/* Success, notice and error boxes
-------------------------------------------------------------- */
/*.error,*/
.notice,
/*.warning, */
.success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; display: block; }
.error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.errorText { color: #8a1f11; margin: 0; display: block; } /* errors that aren't displayed with a box */
.noticeText { color: #514721; margin: 0; display: block; }
.notice,
.warning { background: #FFF6BF; color: #7F7034; border-color: #FFD324; }
.success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a { color: #8a1f11; }
.notice a { color: #514721; }
.success a { color: #264409; }

View file

@ -0,0 +1,213 @@
/* --------------------------------------------------------------
grid.css
* Sets up an easy-to-use grid of 24 columns.
By default, the grid is 950px wide, with 24 columns
spanning 30px, and a 10px margin between columns.
If you need fewer or more columns, namespaces or semantic
element names, use the compressor script (lib/compress.rb)
Note: Changes made in this file will not be applied when
using the compressor: make changes in lib/blueprint/grid.css.rb
-------------------------------------------------------------- */
/* A container should group all your columns. */
.container {
width: 950px;
margin: 0 auto;
}
/* Use this class on any .span / container to see the grid. */
.showgrid { background: url(src/grid.png); }
/* Columns
-------------------------------------------------------------- */
/* Sets up basic grid floating and margin. */
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5,
div.span-6, div.span-7, div.span-8, div.span-9, div.span-10,
div.span-11, div.span-12, div.span-13, div.span-14, div.span-15,
div.span-16, div.span-17, div.span-18, div.span-19, div.span-20,
div.span-21, div.span-22, div.span-23, div.span-24 {
float: left;
margin-right: 10px;
}
/* The last column in a row needs this class. */
.last, div.last { margin-right: 0; }
/* Use these classes to set the width of a column. */
.span-1 { width: 30px; }
.span-2 { width: 70px; }
.span-3 { width: 110px; }
.span-4 { width: 150px; }
.span-5 { width: 190px; }
.span-6 { width: 230px; }
.span-7 { width: 270px; }
.span-8 { width: 310px; }
.span-9 { width: 350px; }
.span-10 { width: 390px; }
.span-11 { width: 430px; }
.span-12 { width: 470px; }
.span-13 { width: 510px; }
.span-14 { width: 550px; }
.span-15 { width: 590px; }
.span-16 { width: 630px; }
.span-17 { width: 670px; }
.span-18 { width: 710px; }
.span-19 { width: 750px; }
.span-20 { width: 790px; }
.span-21 { width: 830px; }
.span-22 { width: 870px; }
.span-23 { width: 910px; }
.span-24 { width: 950px; margin: 0; }
/* Add these to a column to append empty cols. */
.append-1 { padding-right: 40px; }
.append-2 { padding-right: 80px; }
.append-3 { padding-right: 120px; }
.append-4 { padding-right: 160px; }
.append-5 { padding-right: 200px; }
.append-6 { padding-right: 240px; }
.append-7 { padding-right: 280px; }
.append-8 { padding-right: 320px; }
.append-9 { padding-right: 360px; }
.append-10 { padding-right: 400px; }
.append-11 { padding-right: 440px; }
.append-12 { padding-right: 480px; }
.append-13 { padding-right: 520px; }
.append-14 { padding-right: 560px; }
.append-15 { padding-right: 600px; }
.append-16 { padding-right: 640px; }
.append-17 { padding-right: 680px; }
.append-18 { padding-right: 720px; }
.append-19 { padding-right: 760px; }
.append-20 { padding-right: 800px; }
.append-21 { padding-right: 840px; }
.append-22 { padding-right: 880px; }
.append-23 { padding-right: 920px; }
/* Add these to a column to prepend empty cols. */
.prepend-1 { padding-left: 40px; }
.prepend-2 { padding-left: 80px; }
.prepend-3 { padding-left: 120px; }
.prepend-4 { padding-left: 160px; }
.prepend-5 { padding-left: 200px; }
.prepend-6 { padding-left: 240px; }
.prepend-7 { padding-left: 280px; }
.prepend-8 { padding-left: 320px; }
.prepend-9 { padding-left: 360px; }
.prepend-10 { padding-left: 400px; }
.prepend-11 { padding-left: 440px; }
.prepend-12 { padding-left: 480px; }
.prepend-13 { padding-left: 520px; }
.prepend-14 { padding-left: 560px; }
.prepend-15 { padding-left: 600px; }
.prepend-16 { padding-left: 640px; }
.prepend-17 { padding-left: 680px; }
.prepend-18 { padding-left: 720px; }
.prepend-19 { padding-left: 760px; }
.prepend-20 { padding-left: 800px; }
.prepend-21 { padding-left: 840px; }
.prepend-22 { padding-left: 880px; }
.prepend-23 { padding-left: 920px; }
/* Border on right hand side of a column. */
div.border {
padding-right: 4px;
margin-right: 5px;
border-right: 1px solid #eee;
}
/* Border with more whitespace, spans one column. */
div.colborder {
padding-right: 24px;
margin-right: 25px;
border-right: 1px solid #eee;
}
/* Use these classes on an element to push it into the
next column, or to pull it into the previous column. */
.pull-1 { margin-left: -40px; }
.pull-2 { margin-left: -80px; }
.pull-3 { margin-left: -120px; }
.pull-4 { margin-left: -160px; }
.pull-5 { margin-left: -200px; }
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5 {
float:left;
position:relative;
}
.push-1 { margin: 0 -40px 1.5em 40px; }
.push-2 { margin: 0 -80px 1.5em 80px; }
.push-3 { margin: 0 -120px 1.5em 120px; }
.push-4 { margin: 0 -160px 1.5em 160px; }
.push-5 { margin: 0 -200px 1.5em 200px; }
.push-1, .push-2, .push-3, .push-4, .push-5 {
float: right;
position:relative;
}
/* Misc classes and elements
-------------------------------------------------------------- */
/* In case you need to add a gutter above/below an element */
.prepend-top {
margin-top:1.5em;
}
.append-bottom {
margin-bottom:1.5em;
}
/* Use a .box to create a padded box inside a column. */
.box {
padding: 1.5em;
margin-bottom: 1.5em;
background: #E5ECF9;
}
/* Use this to create a horizontal ruler across a column. */
hr {
background: #ddd;
color: #ddd;
clear: both;
float: none;
width: 100%;
height: .1em;
margin: 0 0 1.45em;
border: none;
}
hr.space {
background: #fff;
color: #fff;
}
/* Clearing floats without extra markup
Based on How To Clear Floats Without Structural Markup by PiE
[http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after, .container:after {
content: "\0020";
display: block;
height: 0;
clear: both;
visibility: hidden;
overflow:hidden;
}
.clearfix, .container {display: block;}
/* Regular clearing
apply to column that should drop below previous ones. */
.clear { clear:both; }

View file

@ -0,0 +1,82 @@
/* --------------------------------------------------------------
ie.css
Contains every hack for Internet Explorer,
so that our core files stay sweet and nimble.
-------------------------------------------------------------- */
/* Make sure the layout is centered in IE5 */
body { text-align: center; }
.container { text-align: left; }
/* Fixes IE margin bugs */
* html .column, * html div.span-1, * html div.span-2,
* html div.span-3, * html div.span-4, * html div.span-5,
* html div.span-6, * html div.span-7, * html div.span-8,
* html div.span-9, * html div.span-10, * html div.span-11,
* html div.span-12, * html div.span-13, * html div.span-14,
* html div.span-15, * html div.span-16, * html div.span-17,
* html div.span-18, * html div.span-19, * html div.span-20,
* html div.span-21, * html div.span-22, * html div.span-23,
* html div.span-24 { overflow-x: hidden; }
/* Elements
-------------------------------------------------------------- */
/* Fixes incorrect styling of legend in IE6. */
* html legend { margin:0px -8px 16px 0; padding:0; }
/* Fixes incorrect placement of ol numbers in IE6/7. */
ol { margin-left:2em; }
/* Fixes wrong line-height on sup/sub in IE. */
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
/* Fixes IE7 missing wrapping of code elements. */
html>body p code { *white-space: normal; }
/* IE 6&7 has problems with setting proper <hr> margins. */
hr { margin: -8px auto 11px; }
/* Clearing
-------------------------------------------------------------- */
/* Makes clearfix actually work in IE */
.clearfix, .container {display: inline-block;}
* html .clearfix,
* html .container {height: 1%;}
/* Fix for peekaboo bug in IE7 and IE6 detailed at http://www.zeldman.com/2006/10/27/ie7fixes1/ */
html #content { height: 1%; }
/* Forms
-------------------------------------------------------------- */
/* Fixes padding on fieldset */
fieldset {padding-top: 0;}
/* Fixing lack of support for :hover on plus/minus toggle controls */
* html div.navlinkblock div.extraEntities {
display: block;
}
/* Fixing incorrect negative margins for bars that contain property names */
* html .propertyName {
margin-left: -6px;
}
/* IE6 doesn't support hover, so we're forcing edit links to remain visible */
* html span.editLinks,
* html em.nonEditable {
display: inline;
padding-right: 4px;
}
/* IE6 having trouble with the margins/padding on the admin panels */
/** html div.top { padding: 7px 0 1px 0; }*/
/** html div.bottom { padding: 1px 12px 16px 12px; }*/

View file

@ -0,0 +1,217 @@
/* --------------------------------------------------------------
liquid.css
* Sets up an easy-to-use grid of 24 columns that stretch
to the window width or can also be fixed width.
Liquid grid work by:
* Ben Listwon
* David Bedingfield
* Andrei Michael Herasimchuk
Involution Studios, http://www.involutionstudios.com
-----
grid.css
* Sets up an easy-to-use grid of 24 columns.
Based on work by:
* Nathan Borror [playgroundblues.com]
* Jeff Croft [jeffcroft.com]
* Christian Metts [mintchaos.com]
* Khoi Vinh [subtraction.com]
-----
By default, the grid is 80% of window width, with 24 columns.
To make the grid fixed, simply change the .container width
property to a pixel value. e.g., 960px.
-------------------------------------------------------------- */
/* A container should group your entire grid. */
.container {
/* min-width: 950px;*/
min-width: 700px;
/* width: 80%;*/
width: 90%; /* mw542 (9-1-2009): body now has padding to preserve space for edit controls */
margin: 0 auto;
/* overflow: hidden;*/
}
/* A block should group all your columns per row stack. */
.block {overflow: hidden;}
/* Columns
-------------------------------------------------------------- */
/* Use this class together with the .span-x classes
to create any composition of columns in a layout. */
.column {float: left;}
/* The last column in a row needs this class. */
.last { margin-right: 0; }
/* Use these classes to set the width of a column. */
.span-1 { width: 4%; }
.span-2 { width: 8%; }
.span-3 { width: 12%; }
.span-4 { width: 16%; }
.span-5 { width: 20%; }
.span-6 { width: 25%; }
.span-7 { width: 29%; }
.span-8 { width: 33%; }
.span-9 { width: 37%; }
.span-10 { width: 41%; }
.span-11 { width: 45%; }
.span-12 { width: 50%; }
.span-13 { width: 54%; }
.span-14 { width: 58%; }
.span-15 { width: 62%; }
.span-16 { width: 66%; }
.span-17 { width: 70%; }
.span-18 { width: 75%; }
.span-19 { width: 79%; }
.span-20 { width: 83%; }
.span-21 { width: 87%; }
.span-22 { width: 91%; }
.span-23 { width: 95%; }
.span-24 { width: 100%; margin-right: 0; }
.span-1>div, .span-2>div, .span-3>div, .span-4>div,
.span-5>div, .span-6>div, .span-7>div, .span-8>div,
.span-9>div, .span-10>div, .span-11>div, .span-12>div,
.span-13>div, .span-14>div, .span-15>div, .span-16>div,
.span-17>div, .span-18>div, .span-19>div, .span-20>div,
.span-21>div, .span-22>div, .span-23>div, .span-24>div {
margin: 0 0.833em 0 0;
/* overflow: hidden;*/
}
/* Add these to a column to append empty cols. */
.append-1 { padding-right: 4%; }
.append-2 { padding-right: 8%; }
.append-3 { padding-right: 12%; }
.append-4 { padding-right: 16%; }
.append-5 { padding-right: 20%; }
.append-6 { padding-right: 25%; }
.append-7 { padding-right: 29%; }
.append-8 { padding-right: 33%; }
.append-9 { padding-right: 37%; }
.append-10 { padding-right: 41%; }
.append-11 { padding-right: 45%; }
.append-12 { padding-right: 50%; }
.append-13 { padding-right: 54%; }
.append-14 { padding-right: 58%; }
.append-15 { padding-right: 62%; }
.append-16 { padding-right: 66%; }
.append-17 { padding-right: 70%; }
.append-18 { padding-right: 75%; }
.append-19 { padding-right: 79%; }
.append-20 { padding-right: 83%; }
.append-21 { padding-right: 87%; }
.append-22 { padding-right: 91%; }
.append-23 { padding-right: 95%; }
/* Add these to a column to prepend empty cols. */
.prepend-1 { padding-left: 4%; }
.prepend-2 { padding-left: 8%; }
.prepend-3 { padding-left: 12%; }
.prepend-4 { padding-left: 16%; }
.prepend-5 { padding-left: 20%; }
.prepend-6 { padding-left: 25%; }
.prepend-7 { padding-left: 29%; }
.prepend-8 { padding-left: 33%; }
.prepend-9 { padding-left: 37%; }
.prepend-10 { padding-left: 41%; }
.prepend-11 { padding-left: 45%; }
.prepend-12 { padding-left: 50%; }
.prepend-13 { padding-left: 54%; }
.prepend-14 { padding-left: 58%; }
.prepend-15 { padding-left: 62%; }
.prepend-16 { padding-left: 66%; }
.prepend-17 { padding-left: 70%; }
.prepend-18 { padding-left: 75%; }
.prepend-19 { padding-left: 79%; }
.prepend-20 { padding-left: 83%; }
.prepend-21 { padding-left: 87%; }
.prepend-22 { padding-left: 91%; }
.prepend-23 { padding-left: 95%; }
/* Border on right hand side of a column. */
.border {
border-right: 1px solid #eee;
}
/* Border with more whitespace, spans one column. */
.colborder {
padding-right: 2%;
margin-right: 2%;
border-right: 1px solid #eee;
}
.colborder>div {
margin: 0;
}
/* Use these classes on an element to push it into the
next column, or to pull it into the previous column. */
.pull-1 { margin-left: -3.333em; }
.pull-2 { margin-left: -6.666em; }
.pull-3 { margin-left: -10em; }
.pull-4 { margin-left: -13.333em; }
.push-0 { margin: 0 0 0 1.5em; }
.push-1 { margin: 0 -3.333em 0 1.5em; }
.push-2 { margin: 0 -6.666em 0 1.5em; }
.push-3 { margin: 0 -10em 0 1.5em; }
.push-4 { margin: 0 -13.333em 0 1.5em; }
.push-0, .push-1, .push-2, .push-3, .push-4 { float: right; }
/* Misc classes and elements
-------------------------------------------------------------- */
/* Use a .box to create a padded box inside a column. */
.box {
padding: 1.5em;
margin-bottom: 1.5em;
background: #eee;
}
/* Use this to create a horizontal ruler across a column. */
hr {
background: #ddd;
color: #ddd;
width: 100%;
height: 0.083em;
margin: 0 0 1.583em;
border: none;
}
hr.space {
background: #fff;
color: #fff;
}
hr.clear {
color: #fff;
background: #fff;
border: 0;
height: 0;
margin: 0;
padding: 0;
}
hr.hidden {
display: none;
}
.clear {
clear: both;
}

View file

@ -0,0 +1,42 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* --------------------------------------------------------------
reset.css
* Resets default browser CSS.
-------------------------------------------------------------- */
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;
}
body {
line-height: 1.5;
}
/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
/*table, td, th { vertical-align: middle; }*/
table, td, th { vertical-align: top; }
/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
/* Remove annoying border on linked images. */
a img { border: none; }

View file

@ -0,0 +1,116 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* --------------------------------------------------------------
typography.css
* Sets up some sensible default typography.
-------------------------------------------------------------- */
/* Default font settings.
The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body {
font-size: 75%;
color: #222;
background: #fff;
/* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;*/
font-family: Arial, Helvetica, sans-serif;
}
/* Headings
-------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 { font-weight: normal; font-weight: bold; color: #111; }
/*h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }*/
h1 { font-size: 2em; margin-bottom: 0.75em; }
h2 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h3 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h4 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h5 { font-size: 1em; font-weight: bold; }
h6 { font-size: 1em; font-weight: bold; }
h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
margin: 0;
}
/* Text elements
-------------------------------------------------------------- */
p { margin: 0 0 1.5em; }
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
a:focus,
a:hover { color: #000; }
/*a { color: #009; text-decoration: underline; }*/
a { color: #467ab3; text-decoration: underline; }
blockquote { margin: 1.5em; color: #666; font-style: italic; }
strong { font-weight: bold; }
em,dfn { font-style: italic; }
dfn { font-weight: bold; }
sup, sub { line-height: 0; }
abbr,
acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
del { color:#666; }
pre { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
/* Lists
-------------------------------------------------------------- */
li ul,
li ol { margin:0 1.5em; }
ul, ol { margin: 0 1.5em 1.5em 1.5em; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em;}
/* Tables
-------------------------------------------------------------- */
table { margin-bottom: 1.4em; width:100%; }
th { font-weight: bold; }
thead th { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td { background: #e5ecf9; }
tfoot { font-style: italic; }
caption { background: #eee; }
/* Misc classes
-------------------------------------------------------------- */
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide { display: none; }
.quiet { color: #666; }
.loud { color: #000; }
.highlight { background:#ff0; }
.added { background:#060; color: #fff; }
.removed { background:#900; color: #fff; }
.first { margin-left:0; padding-left:0; }
.last { margin-right:0; padding-right:0; }
.top { margin-top:0; padding-top:0; }
.bottom { margin-bottom:0; padding-bottom:0; }

View file

@ -0,0 +1,342 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/******************* styles copied from old global.css.jsp ********************************/
.buttonForm {
margin-top : 0;
margin-bottom : 0;
margin-right : 0;
margin-left : 0.5em;
padding-bottom : 0.5em;
color : #444444;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
line-height : 16px;
min-height : 100px;
display : inline;
}
.editingForm {
margin-top : 0;
margin-bottom : 0;
margin-right : 0;
margin-left : 0;
padding-bottom : 1em;
color : #444444;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
line-height : 16px;
background-color : #eee; /* cals+vivo themes were: #dddddd; */
min-height : 100px;
font-size : 0.9em;
}
.editingForm table {
text-align : left;
border-width : 1px;
border-style : solid;
border-color : black;
border-collapse:separate;
}
.editingForm td{
padding: 2px 2px 2px 2px;
font-size : 1em;
}
td.verticalfieldlabel {
font-size : 11px;
line-height : 13px;
}
.editingForm .entryFormHead {
text-align : center;
padding : 0.2em;
background-color: #f8f8c8;
border-width : 1px;
border-style : solid;
border-color : black;
}
.editingForm .entryFormHead h2{
margin : 0.1em;
padding : 0em;
font-size: 1.4em;
color : black;
}
.editingForm .entryFormHead h3{
margin : 0.1em;
padding : 0em;
font-size : 1.2em;
font-weight: 600; /* cals theme was: 650 */
color : red;
}
.editingForm .entryFormHead .entryFormHeadInstructions {
margin : 0em;
padding : 0em;
font-size : 0.8em;
}
.editingForm .form-item {
background-color: #FAFAD2;
border-color : #2E440C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
}
.editingForm .form-button {
background-color: #ccf;
border-color : #ccf;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 1em;
border-width : 1px;
margin-top : 2px;
width : auto;
overflow : visible;
}
tr.form-row-even {
background-color : #e9f0ff;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
tr.form-row-odd {
background-color : #e9f9ff;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
.form-editingRow {
background-color: #ff9;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
/* DWR apparently no longer used
.form-subEditingRow {
background-color : #ffb;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width : 1px;
margin-top : 2px;
} */
table.form-background td {
padding-left : 1em;
padding-right : 1em;
}
table.form-background td form {
padding : 0.2em;
}
.form-background {
background-color : #C8D8F8;
border-color : #CCCCFF;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
.form-background.vclass {
background-color : #E05550;
}
.form-background.property {
background-color : #A8F0A0;
}
.form-table-head {
background-color: #ccf;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
.navlinkblock {
color : black; /*#4B0082;*/
font-family : Verdana,Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : normal;
margin-top : 1px;
margin-bottom : 1px;
padding-top : 1px;
padding-bottom : 4px;
}
td.editformcell {
font-size: 9px;
}
td.editformcell select {
margin: 0;
}
.header {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_header {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_upperleftcorner {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_upperleftcenter {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.rownumheader {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.headercenter {
background-color: #9370DB;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.postheader {
background-color: #E6E6FA;
color : #777777;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_postheader {
background-color: #E6E6FA;
color : #777777;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.postheadercenter {
background-color: #E6E6FA;
color : #4682B4;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.postheaderright {
background-color: #E6E6FA;
color : #4682B4;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : right;
}
.verticalfieldlabel {
background-color: #DEDEDF;
color : black;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 8pt;
font-style : normal;
text-align : right;
vertical-align : top;
}
.row, .rowvert {
background-color: #F0FFFF;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.rowalternate {
background-color: #F8F8FF;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.rowbold {
background-color: #FFFAFA;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
font-weight : bold;
text-align : left;
}
.rownum {
background-color: #87CEFA;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
span.entityRelationsSpan {
padding-top : 4px;
margin : 0 0 0 1em;
font-weight : bold;
font-size : 90%;
color : #2E440C;
text-align : center;
}
/* Temporary hack to remove stuff from forms in vivoweb only */
.hideFromVivoWeb {
display: none;
height: 0;
}

View file

@ -0,0 +1,10 @@
/*************************************************
vivo-basic theme: entity page styles
This document is included by EntityController
Original version
2009-05-05 mw542
**************************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */

View file

@ -0,0 +1,59 @@
/*************************************************
vivo-basic theme: editing form styles
This document is included by formPrefix.jsp
**************************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
form {
padding-bottom: 20px;
}
.form p {
margin-bottom:0.5em;
}
form textarea {
width: 60%;
}
form a:link.cancel, form a:visited.cancel {
color: #f00;
border-color: #f00;
}
form select option{
padding-right: 5px;
}
form a:hover.cancel {
color: #fff;
background: #f00;
}
form dl {
margin-bottom: 20px;
}
form dl dt, form dl dd {
padding-top: 15px;
}
.validationError {
font-weight:bold;
color:red;
}
.inlineForm input {
display:inline;
}
.inlineForm label {
display:inline;
}
p.submit {
margin-top: 1em;
}

View file

@ -0,0 +1,23 @@
/****************************************
vivo-basic theme: institutional identity
Original version
2009-01-27 nac26
*****************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/**********************************************************************************
Add styles for institutional identity here.
Be sure to place all of your content in <div id="institution"> found in themes/vivo-basic/jsp/identity.jsp on line 77.
See our online documentation for more info:
http://vivoweb.org/support/user-guide/theme-modifications
**********************************************************************************/
/****************
Institution
****************/
div#institution { position: relative; }

View file

@ -0,0 +1,76 @@
/****************************************
vivo-basic theme: print styles
Original version
2009-04-30 mw542
*****************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
body {
line-height: 1.3;
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color:#000;
background: none;
font-size: 10pt;
}
/************************
Hide unnecessary stuff
************************/
div#header,
div#footer,
div#cu-identity,
div#dashboard,
span.entityMoreSpan {
display: none !important;
}
div.admin, a.edit, a.delete, a.add, a.backToTop {
display: none !important;
}
div.empty {
display: none !important;
}
/************************
Show hidden content
************************/
div.extraEntities {
display: block !important; /* statements that are normally hidden by togglers */
}
/************************
Headings and Text
************************/
h1{font-size:20pt;}
h2{font-size:16pt;}
h3{font-size:14pt;}
h4,h5,h6{font-size:12pt;}
h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; clear: left; }
h3.propertyName {
font-size: 12pt;
}
/************************
Links and images
************************/
a:link, a:visited {
background: transparent;
font-weight:700;
text-decoration: underline;
}
img { clear: left; float:left; margin:0 1.5em 1.5em 0; }
a img { border:none; }

View file

@ -0,0 +1,649 @@
/****************************************
vivo-basic theme: screen styles
Original version
2009-04-30 mw542
*****************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
@import url("blueprint/reset.css");
@import url("blueprint/forms.css");
@import url("blueprint/typography.css");
@import url("blueprint/liquid.css");
@import url("blueprint/ie.css");
@import url("institution.css");
body {
position: relative;
background: #596673;
/* background: #737373;*/
padding: 0 4em;
}
#wrap { background: #fff; }
#contentwrap {
padding: 24px 20px;
background: #D9D9D9;
}
#content {
padding: 16px 12px;
background: #fff;
font-size: 108.33%; /* bumping up content text from 12px to 13px */
}
#footer {
color: #e5e5e5;
background: #3d454e;
/* background: #4e4e4e;*/
padding: 16px 20px 40px 20px;
text-align: right;
clear: both;
}
/****************
Global classes
****************/
ul.clean { margin-left: 0; }
ul.clean li { list-style-type: none; }
/****************
Identity
****************/
div#identity { position: relative; }
#identity h1 {
/* position: absolute;
top: 33px;
left: 10px;*/
padding-top: 25px;
margin-left: 20px;
margin-bottom: 5px;
width: 141px;
height: 43px;
text-indent: -9999px;
background: url(../site_icons/vivo_logo.gif) bottom left no-repeat;
}
#identity h1 a {
width: 141px;
height: 43px;
display: block;
overflow: hidden; /* hide the extended outline in firefox */
/* background: url(images/layout/transparent.gif) top left no-repeat;*/
/* for some reason IE7 needs a background to make this link clickable */
}
#identity em {
position: absolute;
top: 32px;
left: 167px;
color: #212d35;
font-style: normal;
font-size: 1.17em;
}
ul#otherMenu {
position: absolute;
margin: 0;
top: 3px;
right: 20px;
}
ul#otherMenu li {
display: inline;
margin-left: 4px;
}
ul#otherMenu li.border {
padding-right: 4px;
border-right: 1px solid #ccc;
}
/************************
Navigation and Search
************************/
div#navAndSearch {
position: relative;
background: #212d34;
/* background: #7d8b99;*/
border-top: 3px solid #3d454e;
/* border-top: 3px solid #4e4e4e;*/
padding-left: 20px;
/* padding-right: 300px;*/
padding-right: 22em;
padding-top: 8px;
padding-bottom: 8px;
height: 1%;
}
div#secondaryTabMenu { display: none; }
select#search-form-modifier,
#searchForm label { display: none; }
div#searchBlock {
width: 19em;
height: 100%;
text-align: right;
padding: 0 20px 0 10px !important; /* fix for IE6 */
padding: 10px 20px;
position: absolute;
top: 0;
right: 0;
background: #3d454e;
/* background: #4e4e4e;*/
}
#searchForm { margin-top: 10px; }
#navAndSearch ul {
margin: 0;
padding: 0;
}
#navAndSearch li {
list-style-type: none;
margin: 1px;
}
#navAndSearch li a {
display: block;
color: #fff;
text-decoration: none;
}
#navAndSearch li a:hover {
color: #000;
background: #fff;
}
#navAndSearch li a.activePrimaryTab,
#navAndSearch li a.activeTab {
color: #000;
background: #fff;
font-weight: bold;
}
ul#primary,
ul#primary li,
ul#index,
ul#index li {
float:left;
}
ul#primary li a,
ul#index li a { padding: 5px 12px; }
div#breadcrumbs {
color: #aaa;
clear: left;
background: #D9D9D9;
padding: 16px 20px 0 20px;
margin-bottom: -18px;
display: none;
}
div#breadcrumbs a { color: #888; }
div#breadcrumbs a:hover { color: #000; }
/************************
Individual Pages
************************/
div#label { margin-bottom: 1.5em; }
#label h2,
#label h3 {
display: inline;
padding-right: 6px;
}
em.moniker { color: #9c9c9c; }
ul.externalLinks { margin: 0 0 1.5em 0; }
ul.externalLinks li {
list-style-type: none;
display: inline;
padding-right: .5em;
padding-left: .8em;
border-left: 1px solid #ddd;
}
ul.externalLinks li.primary,
ul.externalLinks li.first {
padding-left: 0;
border: 0;
}
ul.externalLinks a { color: #84a655; } /* green links */
ul.externalLinks a:hover,
ul.externalLinks a:active,
a.externalLink:hover,
a.externalLink:active {
color: #000;
}
a.externalLink { color: #84a655; }
div.description { margin-bottom: 1.5em; }
.propertyName {
font-size: 1em;
line-height: 1em;
color: #666;
background: #ebebeb;
border-right: 1px solid #fff;
margin-left: -12px;
/* margin-bottom: .75em;*/
padding: 4px 12px;
float: left;
}
.propsItem,
.datatypeProperties,
.properties {
clear: left;
}
.propsItem { padding: 1em 0; }
.propsItem a { font-weight: bold; }
.pageGroupBody {
margin-bottom: 1em;
}
#acknowledgementText {
font-size: 90%;
}
/************************
Search Results
************************/
.contentsBrowseGroup h2 {
margin-top: 2em;
padding-bottom: .25em;
border-bottom: 1px solid #eee;
}
.contentsBrowseGroup h3 {
color: #666666;
font-size: 1em;
margin-bottom: 0;
}
.contentsBrowseGroup ul { margin-left: 0; }
.contentsBrowseGroup li {
list-style-type: none;
color: #9C9C9C;
}
.searchTOC a {
font-weight: bold;
padding-left: 3px;
}
/************************
Tabs
************************/
ul.tabEntities {
color: #9c9c9c;
margin: 1em 0;
}
ul.tabEntities li {
margin-bottom: 1em;
list-style-type: none;
}
ul.tabEntities a { font-weight: bold; }
ul.tabEntities a.externalLink,
.entityList a.externalLink {
text-decoration: none;
font-weight: normal;
}
div.blurb { color: #999; }
div.blurb a { font-weight: normal; }
/* Index and List pages */
.siteMap ul,
.entityList ul { margin-left: 0; }
.siteMap li {
list-style-type: none;
color: #9c9c9c;
}
.entityList li {
list-style-type: none;
color: #9c9c9c;
margin-bottom: .5em;
}
.siteMap li a,
.entityList li a { font-weight: bold; }
.siteMap h2 { margin-bottom: .5em; }
div.tab h2 {
margin: 0 -12px;
padding: 0 12px 10px 12px;
border-bottom: 5px solid #d9d9d9;
}
.tab h3 {
color: #999;
margin-top: 1em;
padding-bottom: 3px;
}
.tab h3 a { color: #1b4f89; }
.tab h3 a:hover { color: #000; }
.tab th, .tab td, .tab caption { padding-left: 0; }
.tabBody { padding: 12px 0; }
.tabDesc { padding-top: 16px; }
/************************
Footer
************************/
#footer a {
color: #fff;
font-weight: bold;
}
img.footerLogo { float: left; }
ul.otherNav { margin: 0; }
ul.otherNav li {
display: inline;
padding: 0 6px;
border-right: 1px solid #aaa;
}
ul.otherNav li.last {
border: 0;
padding-right: 0;
}
/**********************************************
Admin Panels & Controls
the odd combinations of positioning types
are necessary for cross-browser consistency
**********************************************/
/*** Admin Dashboard ***/
#adminDashboard {
margin-top: 1em;
display: inline-block;
width: 100%;
}
/*#adminDashboard .pageBodyGroup {
margin-top: 2em;
margin-bottom: 2em;
clear: both;
}*/
#adminDashboard .pageBodyGroup {
float: left;
clear: right;
width: 45%;
margin-top: 2em;
margin-bottom: 1em;
padding: 0 1em;
}
#adminDashboard .pageBodyGroup h4 {
margin-bottom: .25em;
}
#adminDashboard .pageBodyGroup h3 {
background-color: #efefef;
color: #000;
padding: 5px;
}
#adminDashboard .pageBodyGroup ul {
margin: 0 0 1.5em 0;
}
#adminDashboard .pageBodyGroup li {
list-style-type: none;
}
#adminDashboard #verbosePropertyForm {
margin-top: 3em;
}
#logoutPanel {
float: right;
margin-right: 4.5em;
}
#logoutPanel input.button {
margin-left: .9em;
}
/*** end Admin Dashboard ***/
div.admin {
color: #fff;
background: #aaa;
padding: 6px;
height: 1%; /* IE likes this */
width: 100%; /* and this */
}
div.panelContents {
color: #777;
background: #e5e3d5;
display: none;
padding: 12px;
}
div.top {
margin: 0 -12px;
padding: 0 24px 0 0;
position: relative;
top: -16px;
background: #e5e3d5;
}
div.bottom {
margin: 0 -12px;
position: relative;
bottom: -16px;
padding: 6px 12px 8px 12px;
}
.admin h3 {
font-size: 1em;
text-transform: uppercase;
font-weight: bold;
color: #ddd;
background: #aaa;
line-height: 2em;
margin: 0 !important; /* fix for IE6 */
margin-right: -24px;
padding: 0 12px;
width: 100% !important; /* fix for IE6 */
width: auto;
}
.admin p { margin-bottom: .25em; }
.admin a:link,
.admin a:visited { color: #fff; }
.panelContents a:link,
.panelContents a:visited { color: #777; }
.admin a:hover,
.admin a:active { color: #000; }
#loginPanel ul { margin: 0; }
#loginPanel li {
list-style-type: none;
margin-bottom: .5em;
}
/******************************************************************
ENTITY LIST TOGGLES
(The little plus/minus toggles that show additional items)
These controls are set up to use JavaScript but degrade to use
CSS :hover classes -- JavaScript can be found in controls.js
IE6 does not support :hover so it will see everything
(hack is in ie.css)
******************************************************************/
span.entityMoreSpan {
display: block;
font-style: italic;
background: url(../site_icons/plus.gif) left center no-repeat;
padding-left: 14px;
margin: .5em 0;
line-height: 1em;
cursor: pointer;
}
div.navlinkblock:hover span.entityMoreSpan,
div.navlinkblock-collapsed:hover span.entityMoreSpan,
span.entityMoreSpan:hover {
color: #8C65A1;
}
div.navlinkblock:hover span.entityMoreSpan,
div.navlinkblock-expanded span.entityMoreSpan {
background: url(../site_icons/minus.gif) left center no-repeat;
}
div.navlinkblock:hover div.extraEntities,
div.navlinkblock-expanded div.extraEntities {
display: block;
}
div.extraEntities {
display: none;
}
/********************************
Frontend Edit Controls and Forms
********************************/
div.editingForm { background: none; }
div.editingForm hr { display: none; }
a.add {
float: left;
line-height: 1em;
width: 1em;
height: 1em;
padding: 4px;
background: #ebebeb url(../site_icons/plus_transparent.gif) center center no-repeat;
text-indent: -9999px;
overflow: hidden;
}
a.add:hover { background-color: #000; }
ul.properties { margin: 0; }
ul.properties li {
color: #9c9c9c;
list-style-type: none;
}
ul.properties li,
div.datatypePropertyValue,
ul.datatypePropertyValue li {
position: relative;
}
span.editLinks,
em.nonEditable {
display: none;
}
span.editLinks a,
em.nonEditable { font-size: 84.62%; } /* 13px down to 11px */
span.editLinks a {
color: #da8622;
font-weight: normal;
}
span.editLinks a:hover { color: #000; }
span.editLinks a.edit { padding-right: 4px; }
span.statementWrap:hover span.editLinks,
span.statementWrap:hover em.nonEditable {
display: block;
width: 6em;
padding: 2px 0 4px 0;
position: absolute;
top: -2px;
left: -6em;
line-height: 1.5em;
background: #fff;
z-index: 10;
text-align: center;
}
span.statementWrap:hover em.nonEditable {
padding-top: 5px;
width: 8em;
left: -8em;
font-style: normal;
}
/************************
Backend forms
************************/
div.sparqlform label {
font-weight: normal;
display: inline;
}

View file

@ -0,0 +1,8 @@
/*************************************************
vivo-basic theme: search result styles
This document is included by EntityListController
**************************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */

View file

@ -0,0 +1,170 @@
/*************************************************
vivo-basic theme: tab styles
(from original Vitro theme)
This version
2006-06-20 bjl23
Original version
2006-01-05 bdc34
**************************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/************ header ******************/
#contents h2 {
background-color: rgb(197,197,163);
color:inherit;
font-weight:600;
padding-left:0.3em;
padding-top:0.5ex;
padding-bottom:0.5ex;
margin-top:0ex;
margin-left:0em;
margin-right:0em;
}
.tab.depth1 table {
table-layout:fixed;
}
.tab.depth2 h3 {
background-color: #F1F1D1;
color:inherit;
font-size:1em;
line-height:2ex;
font-weight: normal;
padding: 0.6ex 0.45em 0.6ex 0.45em;
margin-right:0;
margin-left:0;
margin-top:1.5ex;
margin-bottom:1.5ex;
}
.tab.depth2 table {
table-layout:fixed;
}
.tab.depth3 h4{
font-weight: normal;
margin:0;
padding: 0.6ex 0.45em 0.6ex 0.45em;
}
.tabBody {
margin-left:0.45em;
margin-right:0.45em;
/* font-size:0.9em;
line-height:135%; */
}
.tabBody h4{
font-weight:bold;
text-align:center;
}
.tabBody table{
table-layout:auto;
}
.tabBody img{
margin-right:0.5em;
}
.tabBody form{
margin-top:0.5ex;
margin-bottom:0.5ex;
}
.tabBody p{
margin-top:1.4ex;
margin-bottom:1.4ex;
}
.tabEntities {
font-size:0.9em;
}
ul.tabEntities.entityListForTab {
padding-bottom:1ex;
}
/******** table *******************/
#contents td{
vertical-align: top;
/* font-family: "Lucida Grande",Verdana,Lucida,Arial,Helvetica,sans-serif; */
padding:0.2em;
}
.subtabs table{
width: 100%;
}
#tabContent table{
width: 100%;
/* table-layout:fixed; */
}
#tabContent td {
padding:0.4em;
}
/******** vertical layout *****/
ul.tabSubAsList {
list-style:disc;
margin-left:1.7em;
margin-top:0.5ex;
margin-bottom:0.5ex;
padding:0;
}
ul.tabSubAsList li{
/* font-size:0.85em; */
line-height:2.2ex;
margin:0;
padding:0;
}
.tabDesc{
margin-left:0.45em;
line-height:2.4ex;
}
.alphaIndex{
margin-left:0.45em;
margin-right:0.45em;
margin-top:1em;
margin-bottom:1em;
}
/** tab specific ***/
/* a style can be applied to a single tab based on its tabId */
#tabNN{
color:rgb(200,0,0);
background-color:rgb(0,200,200);
}
/**************** tab entities ******************/
.tabEntities img {
position:relative; left:-0.2em;
}
ul.tabEntities {
margin-top:0.2em;
margin-bottom:0.2em;
margin-left:1.7em;
padding:0;
list-style-type:none;
}
.tabEntities li{
padding: 0 0 0 0;
margin-top:1em;
margin-bottom:1em;
list-style-type:none;
}

View file

@ -0,0 +1,59 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Individual" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.VClass" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.edit.n3editing.EditConfiguration" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.edit.n3editing.EditSubmission" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
<%@ page import="java.util.List" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page errorPage="/error.jsp"%>
<c:if test="${sessionScope.loginHandler != null &&
sessionScope.loginHandler.loginStatus == 'authenticated' &&
sessionScope.loginHandler.loginRole >= sessionScope.loginHandler.editor}">
<c:set var="showCuratorEdits" value="true"/>
</c:if>
<c:set var='entity' value='${requestScope.entity}'/><%/* just moving this into page scope for easy use */ %>
<c:set var='dashboardPropsListJsp' value='/dashboardPropList'/>
<c:set var='portal' value='${currentPortalId}'/>
<c:set var='portalBean' value='${currentPortal}'/>
<c:set var='imageDir' value='images' />
<div id="dashboard"<c:if test="${showCuratorEdits}"> class="loggedIn"</c:if>>
<c:if test="${!empty entity.imageThumb}">
<c:if test="${!empty entity.imageFile}">
<c:url var="imageUrl" value="${imageDir}/${entity.imageFile}" />
<a class="image" href="${imageUrl}">
</c:if>
<c:url var="imageSrc" value='${imageDir}/${entity.imageThumb}'/>
<img class="headshot" src="<c:out value="${imageSrc}"/>" title="click to view larger image in new window" alt="" width="150"/>
<c:if test="${!empty entity.imageFile}"></a></c:if>
<c:if test="${!empty entity.citation}"><div class="citation">${entity.citation}</div></c:if>
</c:if>
<ul class="profileLinks">
<c:if test="${!empty entity.anchor}">
<c:choose>
<c:when test="${!empty entity.url}">
<c:url var="entityUrl" value="${entity.url}" />
<li><a class="externalLink" href="<c:out value="${entityUrl}"/>">${entity.anchor}</a></li>
</c:when>
<c:otherwise><li>${entity.anchor}</li></c:otherwise>
</c:choose>
</c:if>
<c:if test="${!empty entity.linksList }">
<c:forEach items="${entity.linksList}" var='link'>
<c:url var="linkUrl" value="${link.url}" />
<li><a class="externalLink" href="<c:out value="${linkUrl}"/>">${link.anchor}</a></li>
</c:forEach>
</c:if>
</ul>
<c:if test="${showCuratorEdits}">
<c:import url="${dashboardPropsListJsp}">
<%-- unless a value is provided, properties not assigned to a group will not appear on the dashboard --%>
<c:param name="unassignedPropsGroupName" value=""/>
</c:import>
</c:if>
</div>

View file

@ -0,0 +1,95 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page language="java"%>
<%@ page import="java.util.Calendar" %>
<%@ page import="org.apache.commons.logging.Log" %>
<%@ page import="org.apache.commons.logging.LogFactory" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><%/* this odd thing points to something in web.xml */ %>
<jsp:useBean id="loginHandler" class="edu.cornell.mannlib.vedit.beans.LoginFormBean" scope="session" />
<%
/**
* @version 1.00
* @author Jon Corson-Rikert
* UPDATES:
* 2006-01-04 bdc removed <head> and <body> tags and moved from <table> to <div>
* 2005-07-07 JCR included LoginFormBean so can substitute filterbrowse for portalbrowse for authorized users
*/
final Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.web.themes.vivo-basic.footer.jsp");
VitroRequest vreq = new VitroRequest(request);
Portal portal = vreq.getPortal();
if (portal==null) {
log.error("portal from vreq.getPortal() null in themes/vivo-basic/footer.jsp");
}
HttpSession currentSession = request.getSession();
boolean authorized = false;
if (loginHandler.getLoginStatus().equals("authenticated")) /* test if session is still valid */
if (currentSession.getId().equals(loginHandler.getSessionId()))
if (request.getRemoteAddr().equals(
loginHandler.getLoginRemoteAddr()))
authorized = true;
%>
<c:set var="currentYear" value="<%= Calendar.getInstance().get(Calendar.YEAR) %>" />
<c:set var='context' value="<%=vreq.getContextPath()%>" />
<c:set var='themePath'>
<c:if test="${!empty context && context != ''}">/${context}</c:if>/<%=portal.getThemeDir()%>
</c:set>
<c:set var='themeDir'><c:out value='${themePath}' default='/themes/vivo-basic/' /></c:set>
<c:set var="currentPortal" value="<%=portal.getPortalId()%>"/>
<div id='footer'>
<% if (!(portal.getBannerImage() == null || portal.getBannerImage().equals("")))
{ %>
<img class="footerLogo" src="${themeDir}site_icons/<%=portal.getBannerImage()%>" alt="<%=portal.getShortHand()%>"/>
<% } %>
<div class='footerLinks'>
<ul class="otherNav">
<c:url var="aboutHref" value="<%= Controllers.ABOUT %>">
<c:param name="home" value="${currentPortal}"/>
</c:url>
<c:set var="aboutHref">
<c:out value="${aboutHref}" escapeXml="true"/>
</c:set>
<li><a href="${aboutHref}" title="more about this web site">About</a></li>
<c:url var="contactHref" value="/comments">
<c:param name="home" value="${currentPortal}"/>
</c:url>
<c:set var="contactHref">
<c:out value="${contactHref}" escapeXml="true"/>
</c:set>
<li class="last"><a href="${contactHref}" title="feedback form">Contact Us</a></li>
</ul>
</div>
<% if (portal.getCopyrightAnchor() != null && portal.getCopyrightAnchor().length()>0) { %>
<div class='copyright'>
&copy;${currentYear}&nbsp;
<% if (portal.getCopyrightURL() != null && portal.getCopyrightURL().length()>0) { %>
<a href="<%=portal.getCopyrightURL()%>">
<% } %>
<%=portal.getCopyrightAnchor()%>
<% if (portal.getCopyrightURL() != null && portal.getCopyrightURL().length()>0) { %>
</a>
<% } %>
</div>
<div class='copyright'>
All Rights Reserved. <a href="termsOfUse?home=<%=portal.getPortalId()%>">Terms of Use</a>
</div>
<% } %>
</div>

View file

@ -0,0 +1,131 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page language="java" %>
<%@ page errorPage="error.jsp"%>
<%@ page import="org.apache.commons.logging.Log" %>
<%@ page import="org.apache.commons.logging.LogFactory" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.TabMenu" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.BreadCrumbsUtil" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<jsp:useBean id="loginHandler" class="edu.cornell.mannlib.vedit.beans.LoginFormBean" scope="session" />
<%
/**
*
* @version 1.00
* @author Jon Corson-Rikert, Brian Caruso, and Brian Lowe
*
* UPDATES:
* 2009-04-20 MW542 moved search form to menu.jsp
* 2007-09-27 BJL moved VIVO and CALS-specific markup to VIVO clone
* 2006-01-31 BJL edited to remove deprecated markup
* 2005-11-06 JCR put styling on extra search selection box
* 2005-10-25 JCR changed local ALL CALS RESEARCH constant to appBean.getSharedPortalFlagNumeric()
* 2005-10-11 JCR tweaks to VIVO search label spacing in header
* 2005-09-15 JCR,BDC converted to use revised ApplicationBean and PortalBean
* 2005-08-16 JCR added CALS_IMPACT contant and modified code to use CALS display for that portal
* 2005-08-01 JCR changed ordering of other portals being displayed to displayRank instead of appName (affects SGER, CALS portals)
* 2005-07-05 JCR retrieving ONLY_CURRENT and ONLY_PUBLIC from database and setting in ApplicationBean
* 2005-06-20 JCR enabling a common CALS research portal via ALL CALS RESEARCH
* 2005-06-20 JCR removed MIN_STATUS_ID and minstatus parameter from search -- has been changed to interactive-only maxstatus parameter
* JCR 2005-06-14 : added isInitialized() test for appBean and portalBean
*/
HttpSession currentSession = request.getSession();
String currentSessionIdStr = currentSession.getId();
int securityLevel = -1;
String loginName = null;
if (loginHandler.testSessionLevel(request) > -1) {
securityLevel = Integer.parseInt(loginHandler.getLoginRole());
loginName = loginHandler.getLoginName();
}
final Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.web.menu.jsp");
VitroRequest vreq = new VitroRequest(request);
Portal portal = vreq.getPortal();
int portalId = -1;
if (portal==null) {
log.error("Attribute 'portalBean' missing or null; portalId defaulted to 1");
portalId=1;
} else {
portalId=portal.getPortalId();
}
String fixedTabStr=(fixedTabStr=request.getParameter("fixed"))==null?null:fixedTabStr.equals("")?null:fixedTabStr;
%>
<c:set var='context' value="<%=vreq.getContextPath()%>" />
<c:set var='themePath'>
<c:if test="${!empty context && context != ''}">/${context}</c:if>/<%=portal.getThemeDir()%>
</c:set>
<c:set var='themeDir'><c:out value='${themePath}' default='/themes/vivo-basic/' /></c:set>
<c:set var="currentPortal" value="<%=portal.getPortalId()%>"/>
<%
String homeURL = (portal.getRootBreadCrumbURL()!=null && portal.getRootBreadCrumbURL().length()>0) ?
portal.getRootBreadCrumbURL() : request.getContextPath()+"/";
%>
<!-- uncomment this div to place your institutional branding/identity at the top of every page
<div id="institution">
</div>
-->
<div id="identity">
<h1><a title="Home" href="<%=homeURL%>"><%out.print(portal.getAppName());%></a></h1>
<% if (portal.getShortHand() != null) { %>
<em><%out.print(portal.getShortHand());%></em>
<% } %>
<ul id="otherMenu">
<%-- A user is logged in --%>
<% if (securityLevel > 0) { %>
<c:url var="logoutHref" value="<%= Controllers.LOGOUT_JSP %>">
<c:param name="home" value="${currentPortal}" />
<c:param name="loginSubmitMode" value="Log Out" />
</c:url>
<c:url var="siteAdminHref" value="<%= Controllers.SITE_ADMIN %>">
<c:param name="home" value="${currentPortal}" />
</c:url>
<li class="border">
Logged in as <strong><%= loginName %></strong> (<a href="${logoutHref}">Log out</a>)
</li>
<li class="border"><a href="${siteAdminHref}" >Site Admin</a></li>
<%-- A user is not logged in --%>
<% } else { %>
<c:url var="loginHref" value="<%= Controllers.LOGIN %>">
<c:param name="home" value="${currentPortal}"/>
<c:param name="login" value="block"/>
</c:url>
<li class="border"><a title="log in to manage this site" href="${loginHref}">Log in</a></li>
<% } %>
<c:url var="aboutHref" value="<%= Controllers.ABOUT %>">
<c:param name="home" value="${currentPortal}"/>
</c:url>
<c:set var="aboutHref">
<c:out value="${aboutHref}" escapeXml="true"/>
</c:set>
<li class="border"><a href="${aboutHref}" title="more about this web site">About</a></li>
<li><a href='<c:url value="/comments"><c:param name="home" value="${currentPortal}"/></c:url>'>Contact Us</a></li>
</ul>
</div><!-- end identity -->

View file

@ -0,0 +1,146 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ page import="org.apache.commons.logging.Log" %>
<%@ page import="org.apache.commons.logging.LogFactory" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.TabMenu" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.BreadCrumbsUtil" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.TabWebUtil" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.PortalWebUtil" %>
<%@page import="java.util.List"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<jsp:useBean id="loginHandler" class="edu.cornell.mannlib.vedit.beans.LoginFormBean" scope="session" />
<%
/***********************************************
Make the Tab menu list and search block
mw542 2009-04-24 moved search from identity.jsp, updated with new code from bdc34
bdc34 2006-01-03 created
**********************************************/
final Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.web.menu.jsp");
Portal portal = (Portal)request.getAttribute("portalBean");
int portalId = -1;
if (portal==null) {
portalId=1;
} else {
portalId=portal.getPortalId();
}
VitroRequest vreq = new VitroRequest(request);
List primaryTabs = vreq.getWebappDaoFactory().getTabDao().getPrimaryTabs(portalId);
request.setAttribute("primaryTabs", primaryTabs);
int tabId = TabWebUtil.getTabIdFromRequest(vreq);
int rootId = TabWebUtil.getRootTabId(vreq);
List tabLevels = vreq.getWebappDaoFactory().getTabDao().getTabHierarcy(tabId,rootId);
request.setAttribute("tabLevels", tabLevels);
String uri = (String)request.getAttribute("javax.servlet.forward.request_uri");
if(uri != null){
request.setAttribute("indexClass", uri.indexOf("browsecontroller") > 0 ? "class=\"activeTab\"" : "");
if ( uri.indexOf("about") > 0) {
request.setAttribute("aboutClass","class=\"activeTab\"");
}
if ( uri.indexOf("comments") > 0) {
request.setAttribute("commentsClass","class=\"activeTab\"");
}
}
// application variables not stored in application bean
final String DEFAULT_SEARCH_METHOD = "fulltext";
final int FILTER_SECURITY_LEVEL = 4;
final int VIVO_SEARCHBOX_SIZE = 20;
ApplicationBean appBean = vreq.getAppBean();
PortalWebUtil.populateSearchOptions(portal, appBean, vreq.getWebappDaoFactory().getPortalDao());
PortalWebUtil.populateNavigationChoices(portal, request, appBean, vreq.getWebappDaoFactory().getPortalDao());
HttpSession currentSession = request.getSession();
String currentSessionIdStr = currentSession.getId();
int securityLevel = -1;
String loginName = null;
if (loginHandler.testSessionLevel(request) > -1) {
securityLevel = Integer.parseInt(loginHandler.getLoginRole());
loginName = loginHandler.getLoginName();
}
%>
<c:set var="themeDir">
<c:out value="<%=portal.getThemeDir()%>" default="themes/vivo-basic" />
</c:set>
<c:url var="themePath" value="/${themeDir}" />
<c:url var="searchURL" value="/search"/>
<c:set var="currentPortal" value="<%=portal.getPortalId()%>"/>
<c:set var="rootTab" value="<%=rootId%>"/>
<!-- ************** START menu.jsp ************** -->
<div id="navAndSearch" class="block">
<div id="primaryAndOther">
<ul id="primary">
<c:forEach items="${primaryTabs}" var="tab">
<li>
<c:remove var="activeClass"/>
<c:if test="${param.primary==tab.tabId}">
<c:set var="activeClass"> class="activeTab" </c:set>
</c:if>
<c:forEach items="${tabLevels}" var="subTab">
<c:if test="${subTab==tab.tabId && subTab != rootTab}">
<c:set var="activeClass"> class="activeTab" </c:set>
</c:if>
</c:forEach>
<c:url var="tabHref" value="/index.jsp"><c:param name="primary" value="${tab.tabId}"/></c:url>
<a ${activeClass} href="${tabHref}">
<c:out value="${tab.title}"/></a>
</li>
</c:forEach>
<li>
<a ${indexClass} href="<c:url value="/browsecontroller"/>"
title="list all contents by type">
Index</a>
</li>
</ul>
</div><!--END 'primaryAndOther'-->
<%-- TabMenu.getSecondaryTabMenu(vreq) --%>
<%------------- Search Form -------------%>
<div id="searchBlock">
<form id="searchForm" action="${searchURL}" >
<label for="search">Search </label>
<% if (securityLevel>=FILTER_SECURITY_LEVEL && appBean.isFlag1Active()) { %>
<select id="search-form-modifier" name="flag1" class="form-item" >
<option value="nofiltering" selected="selected">entire database (<%=loginName%>)</option>
<option value="${currentPortal}"><%=portal.getShortHand()%></option>
</select>
<% } else {%>
<input type="hidden" name="flag1" value="${currentPortal}" />
<% } %>
<input type="text" name="querytext" id="search" class="search-form-item" value="<c:out value="${requestScope.querytext}"/>" size="<%=VIVO_SEARCHBOX_SIZE%>" />
<input class="search-form-submit" name="submit" type="submit" value="Search" />
</form>
</div>
<%-- this div is needed for clearing floats --%>
<%-- <div class="clear"></div> --%>
</div><!-- END 'navigation' -->
<div id="breadcrumbs" class="small"><%=BreadCrumbsUtil.getBreadCrumbsDiv(request)%></div>
<!-- ************************ END menu.jsp ************************ -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB