Copied wilma
1725
webapp/src/main/webapp/themes/iph/css/iph.css
Normal file
118
webapp/src/main/webapp/themes/iph/css/openSocial/gadgets.css
Normal file
|
@ -0,0 +1,118 @@
|
|||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
.gadgets-gadget-chrome {
|
||||
float: left;
|
||||
margin: 4px 6px 4px 12px; /* changed the left value from 0 tlw72*/
|
||||
border: 1px solid #CCC;
|
||||
border: 1px solid #dfebe5; /*#7aa5d6;*/
|
||||
}
|
||||
.col2 .gadgets-gadget-chrome {
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
.gadgets-gadget
|
||||
{
|
||||
width: 100%;
|
||||
border: none;
|
||||
background-color:#fff; /*tlw72*/
|
||||
}
|
||||
|
||||
.gadgets-gadget-title-bar {
|
||||
padding: 4px 4px 2px;
|
||||
background-color: #EEEBE5;
|
||||
background-color: #f1f2ee; /* #e5ecf9; */
|
||||
}
|
||||
/*.gadgets-gadget-title-bar:hover { background-color: #e7e3db; } */
|
||||
.gadgets-gadget-title-bar img,
|
||||
.gadgets-gadget-title-button {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* title bar */
|
||||
.gadgets-gadget-title a, .gadgets-gadget-title a:hover, .gadgets-gadget-title a:visited {
|
||||
/* font-weight: bold; */
|
||||
font-size: 16px; /*14px*/
|
||||
color: #2485AE; /*#CA7C29*/
|
||||
padding-left:8px; /*tlw72*/
|
||||
text-decoration: none; /*tlw72*/
|
||||
}
|
||||
.EditBody .gadgets-gadget-title a {
|
||||
color:#3B6394;
|
||||
}
|
||||
.EditBody .gadgets-gadget-title a:hover {
|
||||
color:#1E416C;
|
||||
}
|
||||
|
||||
.gadgets-gadget-title-button-bar {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.gadgets-gadget-canvas-title {
|
||||
color: #000;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.gadgets-gadget-user-prefs-dialog {
|
||||
background-color: #e5ecf9;
|
||||
}
|
||||
|
||||
.gadgets-gadget-user-prefs-dialog-action-bar {
|
||||
text-align: center;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.gadgets-gadget-title-button img {
|
||||
border: 2px solid #4F5CC7;
|
||||
border: none;
|
||||
float: left; /*right*/
|
||||
margin-left: 2px; /*margin-right*/
|
||||
margin-top:6px; /*tlw72*/
|
||||
}
|
||||
.EditBody .gadgets-gadget-title-button img {
|
||||
float: left;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.gadgets-gadget-content {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.gadgets-log-entry {
|
||||
}
|
||||
|
||||
/* Used to style messages produced during rewriting by CajaContentRewriter */
|
||||
.gadgets-messages {
|
||||
|
||||
}
|
||||
|
||||
.gadgets-gadget-status {
|
||||
font-weight: bold;
|
||||
float: right;
|
||||
/* text-align: center; */
|
||||
font-size: 12px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
* html .gadgets-gadget-status { margin-top: -18px; padding-right: 30px; } /* fudge line break for IE6 */
|
||||
*+html .gadgets-gadget-status { margin-top: -18px; padding-right: 30px; } /* fudge line break for IE7 */
|
||||
|
||||
/* list tool fix ticket #135 */
|
||||
* html #ctl00_ctl00_left_pnlOpenSocialTools { height: 130px; }
|
||||
*+html #ctl00_ctl00_left_pnlOpenSocialTools { height: 130px; }
|
||||
* html #ctl00_ctl00_left_pnlOpenSocialTools { margin-left: -8px; }
|
82
webapp/src/main/webapp/themes/iph/css/page-createAndLink.css
Normal file
|
@ -0,0 +1,82 @@
|
|||
#createAndLink select {
|
||||
height: 2.5em;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
#createAndLink .citation_error:before {
|
||||
content: url('../../../images/createAndLink/error.png');
|
||||
transform: scale(0.5);
|
||||
margin-top: 10px;
|
||||
margin-right: 10px;
|
||||
float: left;
|
||||
}
|
||||
#createAndLink .citation_error {
|
||||
height: 70px;
|
||||
}
|
||||
#createAndLink .citation_claimed:before {
|
||||
content: url('../../../images/createAndLink/tick.png');
|
||||
transform: scale(0.75);
|
||||
margin-top: -17px;
|
||||
margin-left: 535px;
|
||||
float: left;
|
||||
position: absolute;
|
||||
}
|
||||
#createAndLink .citation_claimed:hover:before {
|
||||
opacity: 0.2;
|
||||
}
|
||||
#createAndLink .citation_claimed .citation {
|
||||
opacity: 0.2;
|
||||
}
|
||||
#createAndLink .citation_claimed:hover .citation {
|
||||
opacity: 1.0;
|
||||
}
|
||||
#createAndLink .citation_type {
|
||||
font-style: italic;
|
||||
padding: 5px;
|
||||
}
|
||||
#createAndLink .citation_title {
|
||||
font-weight: bold;
|
||||
}
|
||||
#createAndLink .citation_journal {
|
||||
font-style: italic;
|
||||
}
|
||||
#createAndLink .claimed {
|
||||
font-weight: bold;
|
||||
}
|
||||
#createAndLink .linked {
|
||||
font-style: italic;
|
||||
}
|
||||
#createAndLink .entryId {
|
||||
background-color: #3e8baa; /* #E0E0E0; */
|
||||
color: #ffffff;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
}
|
||||
#createAndLink .entry {
|
||||
border: 2px solid #3e8baa; /* #E0E0E0; */
|
||||
padding: 5px;
|
||||
}
|
||||
#createAndLink label {
|
||||
display: inline;
|
||||
}
|
||||
#createAndLink .radioWithLabel:checked + .labelForRadio {
|
||||
font-weight: bold;
|
||||
}
|
||||
#createAndLink .description {
|
||||
padding-left: 22px;
|
||||
}
|
||||
#createAndLink .remainder {
|
||||
font-style: italic;
|
||||
}
|
||||
#createAndLink .claim-for {
|
||||
float: right;
|
||||
border: 2px solid #3e8baa; /* #E0E0E0; */
|
||||
padding: 5px;
|
||||
}
|
||||
#createAndLink .claim-for h3 {
|
||||
text-align: center;
|
||||
}
|
102
webapp/src/main/webapp/themes/iph/css/reset.css
Normal file
|
@ -0,0 +1,102 @@
|
|||
/* $This file is distributed under the terms of the license in LICENSE$ */
|
||||
|
||||
/* 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 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;
|
||||
}
|
28
webapp/src/main/webapp/themes/iph/css/screen.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
/* $This file is distributed under the terms of the license in LICENSE$ */
|
||||
|
||||
/****************************************
|
||||
****************************************
|
||||
__ __ __ __ __ ___
|
||||
/\ \/\ \\/\ \/\ \/\ \ / __`\
|
||||
\ \ \_/ |\ \ \ \ \_/ |/\ \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("iph.css");
|
||||
@import url("page-createAndLink.css");
|
||||
@import url("../../../local/css/local.css");
|
109
webapp/src/main/webapp/themes/iph/i18n/all.properties
Normal file
|
@ -0,0 +1,109 @@
|
|||
menu_contactus = Contact Us
|
||||
menu_welcomestart = Welcome
|
||||
menu_copyright = copyright
|
||||
menu_support = Support
|
||||
menu_logout = Log out
|
||||
menu_loginfull = Log in to manage this site
|
||||
menu_login = Log in
|
||||
menu_version = Version
|
||||
menu_about = About
|
||||
menu_termuse = Terms of Use
|
||||
menu_powered = Powered by
|
||||
|
||||
intro_title = Welcome to VIVO
|
||||
intro_para1 = VIVO is a research-focused discovery tool that enables collaboration among scholars of all disciplines.
|
||||
intro_para2 = Browse or search information on people, departments, courses, grants, and publications.
|
||||
intro_searchvivo = Search VIVO
|
||||
intro_filtersearch = Filter search
|
||||
|
||||
identity_title = VIVO | connect share discover
|
||||
identity_index = Index
|
||||
identity_edit = Edit Page
|
||||
identity_admin = Site Admin
|
||||
identity_myprofile = My profile
|
||||
identity_myaccount = My account
|
||||
identity_user = user
|
||||
|
||||
collection_capitalized = Collection
|
||||
place_of_grant = Place of grant
|
||||
email_address = Email Address
|
||||
|
||||
#
|
||||
# menupage templates ( /templates/freemarker/body/menupage )
|
||||
#
|
||||
grants_text_one = This body is from the the template file \
|
||||
vivo/productMods/templates/freemarker/body/menupage/grants.ftl. \
|
||||
In the display model, the grants page has a display:requiresBodyTemplate \
|
||||
property that defines that the grants page overrides the default template. \
|
||||
The default template for these pages is at /vitro/webapp/web/templates/freemarker/body/menupage/menupage.ftl
|
||||
grants_two = This technique could be used to define pages without menu items, that get \
|
||||
their content from a freemarker template. An example would be the about page.
|
||||
grants_text_three = This would create a page that would use about.ftl as the body. The page would be \
|
||||
accessed via /about and would override all servlet mappings in web.xml.
|
||||
|
||||
address_street_one = address street one
|
||||
address_street_two = address street two
|
||||
address_street_three = address street three
|
||||
address_label = address label
|
||||
|
||||
loading_website_image = Loading website image
|
||||
|
||||
researchers_in = researchers in
|
||||
view = view
|
||||
grant_type = grant Type
|
||||
grant_entry_for = grant entry for
|
||||
regions = regions
|
||||
grant_date = grant Date
|
||||
map_states_string = states.
|
||||
map_state_string = state.
|
||||
unable_to_handle_grant_editing = This form is unable to handle the editing of this grant because it is associated with multiple grant individuals.
|
||||
unable_to_handle_position_editing = This form is unable to handle the editing of this position because it is associated with multiple Position individuals.
|
||||
currently_no_papers_for = Currently there are no {0} papers for
|
||||
change_selection = change selection
|
||||
view_all_departments = view all academic departments
|
||||
first_name = First name
|
||||
last_name = Last name
|
||||
first_grant = First Grant
|
||||
last_grant = Last Grant
|
||||
currently_no_researchers = There are currently no researchers with a defined geographic focus.
|
||||
reviewer_role = Reviewer Role
|
||||
vivo_profile = VIVO profile
|
||||
loading_data = loading data
|
||||
select_award = Selected Award
|
||||
grants_in_vivo = grants in VIVO
|
||||
service_provider_role = Service Provider Role
|
||||
view_all_faculty = view all faculty
|
||||
no_grants_for = Currently there are no grants for
|
||||
statewide_locations = state-wide locations.
|
||||
faculty_who_are_members_of_org = Here are the faculty in the {0} department who are members of this organization.
|
||||
indiv_foafperson_for = for
|
||||
indiv_foafperson_return = return to
|
||||
no_departments_found = No academic departments found.
|
||||
leadership_role = Leadership Role
|
||||
countries = countries
|
||||
first_publication = First publication
|
||||
last_publication = Last publication
|
||||
research_area = individuals in the department with this research area
|
||||
password = password
|
||||
limit_search = limit search
|
||||
placeholder_image = placeholder image
|
||||
view_all_members_of_org = View all the members of this organization.
|
||||
display_more = more
|
||||
create_entry = Create Entry
|
||||
attendee_capitalized = Attendee
|
||||
no_faculty_found = No faculty members found.
|
||||
create_capitalized = Create
|
||||
to = to
|
||||
enter_new_role_value = Please enter a new value in the Role field.
|
||||
countries_and_regions = countries and regions.
|
||||
province_or_region = Province or Region
|
||||
full_name = Full name
|
||||
researchers = researchers
|
||||
years_participation_in = Years of Participation in
|
||||
return_to_grant = Return to grant
|
||||
profile_capitalized = Profile
|
||||
organizer_role = Organizer Role
|
||||
faculty_memberships = Faculty Memberships
|
||||
edit_mailing_address = Edit Mailing Address
|
||||
add_capitalized = Add
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/VIVO-logo.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/addNewAccount.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/addNewAccountOver.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/alert-overlay.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
webapp/src/main/webapp/themes/iph/images/arrow-down-account.gif
Normal file
After Width: | Height: | Size: 175 B |
After Width: | Height: | Size: 56 B |
BIN
webapp/src/main/webapp/themes/iph/images/arrow-green.gif
Normal file
After Width: | Height: | Size: 183 B |
BIN
webapp/src/main/webapp/themes/iph/images/arrow-grey.gif
Normal file
After Width: | Height: | Size: 183 B |
BIN
webapp/src/main/webapp/themes/iph/images/arrow-menu-account.gif
Normal file
After Width: | Height: | Size: 170 B |
BIN
webapp/src/main/webapp/themes/iph/images/arrow.gif
Normal file
After Width: | Height: | Size: 294 B |
BIN
webapp/src/main/webapp/themes/iph/images/arrowSmall.gif
Normal file
After Width: | Height: | Size: 281 B |
BIN
webapp/src/main/webapp/themes/iph/images/filteredSearch.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/green_minus_sign.gif
Normal file
After Width: | Height: | Size: 314 B |
BIN
webapp/src/main/webapp/themes/iph/images/green_plus_sign.gif
Normal file
After Width: | Height: | Size: 346 B |
BIN
webapp/src/main/webapp/themes/iph/images/header-background.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/header-background.png
Normal file
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 234 B |
After Width: | Height: | Size: 114 B |
After Width: | Height: | Size: 105 B |
BIN
webapp/src/main/webapp/themes/iph/images/pointToCropPreview.jpg
Normal file
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
BIN
webapp/src/main/webapp/themes/iph/images/selected-main-nav.jpg
Normal file
After Width: | Height: | Size: 523 B |
BIN
webapp/src/main/webapp/themes/iph/images/separator-main-nav.jpg
Normal file
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 48 B |
BIN
webapp/src/main/webapp/themes/iph/images/sort-asc.gif
Normal file
After Width: | Height: | Size: 262 B |
BIN
webapp/src/main/webapp/themes/iph/images/sort-desc.gif
Normal file
After Width: | Height: | Size: 264 B |
BIN
webapp/src/main/webapp/themes/iph/images/stats-bg.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
33
webapp/src/main/webapp/themes/iph/templates/footer.ftl
Normal file
|
@ -0,0 +1,33 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
</div> <!-- #wrapper-content -->
|
||||
|
||||
<footer role="contentinfo">
|
||||
<p class="copyright">
|
||||
<#if copyright??>
|
||||
<small>©${copyright.year?c}
|
||||
<#if copyright.url??>
|
||||
<a href="${copyright.url}" title="${i18n().menu_copyright}">${copyright.text}</a>
|
||||
<#else>
|
||||
${copyright.text}
|
||||
</#if>
|
||||
| <a class="terms" href="${urls.termsOfUse}" title="${i18n().menu_termuse}">${i18n().menu_termuse}</a></small> |
|
||||
</#if>
|
||||
${i18n().menu_powered} <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank" title="${i18n().menu_powered} VIVO"><strong>VIVO</strong></a>
|
||||
<#if user.hasRevisionInfoAccess>
|
||||
| ${i18n().menu_version} <a href="${version.moreInfoUrl}" title="${i18n().menu_version}">${version.label}</a>
|
||||
</#if>
|
||||
</p>
|
||||
|
||||
<nav role="navigation">
|
||||
<ul id="footer-nav" role="list">
|
||||
<li role="listitem"><a href="${urls.about}" title="${i18n().menu_about}">${i18n().menu_about}</a></li>
|
||||
<#if urls.contact??>
|
||||
<li role="listitem"><a href="${urls.contact}" title="${i18n().menu_contactus}">${i18n().menu_contactus}</a></li>
|
||||
</#if>
|
||||
<li role="listitem"><a href="http://www.vivoweb.org/support" target="blank" title="${i18n().menu_support}">${i18n().menu_support}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
<#include "scripts.ftl">
|
|
@ -0,0 +1,12 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<#-- Template for the body of the GadgetDetails page -->
|
||||
|
||||
<div class="pageTitle" id="gadgets-title"><h2>${title!}</h2></div>
|
||||
|
||||
<#-- VIVO OpenSocial Extension by UCSF -->
|
||||
<#if openSocial??>
|
||||
<#if openSocial.visible>
|
||||
<div id="gadgets-detail" class="gadgets-gadget-parent"></div>
|
||||
</#if>
|
||||
</#if>
|
54
webapp/src/main/webapp/themes/iph/templates/gadgetLogin.ftl
Normal file
|
@ -0,0 +1,54 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<#-- Template for the body of the GadgetDetails page -->
|
||||
|
||||
<style media="screen" type="text/css">
|
||||
th {
|
||||
vertical-align: top;
|
||||
width: 150px;
|
||||
text-align: right;
|
||||
padding-right: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="pageTitle" id="gadgets-title"><h2>${title!}</h2></div>
|
||||
|
||||
<#-- VIVO OpenSocial Extension by UCSF -->
|
||||
<#if openSocial??>
|
||||
<form method="POST">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<th>
|
||||
Gadget URLs</br>
|
||||
One Per Line
|
||||
</th>
|
||||
<td>
|
||||
<textarea name="gadgetURLS" rows="10" cols="160">${gadgetURLS}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Debug mode
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="debug" value="debug" checked="checked" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Use Cache
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="useCache" value="useCache" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
</th>
|
||||
<td>
|
||||
<input type="submit" value="Submit" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</#if>
|
|
@ -0,0 +1,26 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<#-- 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>
|
||||
-->
|
38
webapp/src/main/webapp/themes/iph/templates/head.ftl
Normal file
|
@ -0,0 +1,38 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<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">
|
||||
<meta name="generator" content="VIVO ${version.label}" />
|
||||
|
||||
<title>${(title?html)!siteName!}</title>
|
||||
|
||||
<#-- VIVO OpenSocial Extension by UCSF -->
|
||||
<#if openSocial??>
|
||||
<#if openSocial.visible>
|
||||
<#-- Required to add these BEFORE stylesheets.flt and headScripts.ftl are processed -->
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.theme}/css/openSocial/gadgets.css" />')}
|
||||
${headScripts.add('<script type="text/javascript" src="${openSocial.containerJavascriptSrc}"></script>',
|
||||
'<script type="text/javascript" language="javascript">${openSocial.gadgetJavascript}</script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/openSocial/orng.js"></script>')}
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
<#include "stylesheets.ftl">
|
||||
<link rel="stylesheet" href="${urls.theme}/css/screen.css" />
|
||||
|
||||
<#include "headScripts.ftl">
|
||||
|
||||
<#if metaTags??>
|
||||
${metaTags.list()}
|
||||
</#if>
|
||||
|
||||
<!--[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">
|
52
webapp/src/main/webapp/themes/iph/templates/identity.ftl
Normal file
|
@ -0,0 +1,52 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<header id="branding" role="banner">
|
||||
|
||||
<h1 class="vivo-logo"><a title="${i18n().identity_title}" 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">
|
||||
<#include "languageSelector.ftl">
|
||||
<li role="listitem"><a href="${urls.index}" title="${i18n().identity_index}">${i18n().identity_index}</a></li>
|
||||
<#if user.loggedIn>
|
||||
<#-- COMMENTING OUT THE EDIT PAGE LINK FOR RELEASE 1.5. WE NEED TO IMPLEMENT THIS IN A MORE
|
||||
USER FRIENDLY WAY. PERHAPS INCLUDE A LINK ON THE PAGES THEMSELVES AND DISPLAY IF THE
|
||||
USER IS A SITE ADMIN. tlw72
|
||||
|
||||
<#if (page??) && (page?is_hash || page?is_hash_ex) && (page.URLToEditPage??) >
|
||||
<li role="listitem"><a href="${page.URLToEditPage}" title="${i18n().identity_edit}">${i18n().identity_edit}</a></li>
|
||||
</#if>
|
||||
-->
|
||||
<#if user.hasSiteAdminAccess>
|
||||
<li role="listitem"><a href="${urls.siteAdmin}" title="${i18n().identity_admin}">${i18n().identity_admin}</a></li>
|
||||
</#if>
|
||||
<li>
|
||||
<ul class="dropdown">
|
||||
<li id="user-menu"><a href="#" title="${i18n().identity_user}">${user.loginName}</a>
|
||||
<ul class="sub_menu">
|
||||
<#if user.hasProfile>
|
||||
<li role="listitem"><a href="${user.profileUrl}" title="${i18n().identity_myprofile}">${i18n().identity_myprofile}</a></li>
|
||||
</#if>
|
||||
<#if urls.myAccount??>
|
||||
<li role="listitem"><a href="${urls.myAccount}" title="${i18n().identity_myaccount}">${i18n().identity_myaccount}</a></li>
|
||||
</#if>
|
||||
<li role="listitem"><a href="${urls.logout}" title="${i18n().menu_logout}">${i18n().menu_logout}</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="${i18n().menu_loginfull}" href="${urls.login}">${i18n().menu_login}</a></li>
|
||||
</#if>
|
||||
</ul>
|
||||
|
||||
</nav>
|
|
@ -0,0 +1,202 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<#--
|
||||
Individual profile page template for foaf:Person individuals. This is the default template for foaf persons
|
||||
in the Wilma theme and should reside in the themes/wilma/templates directory.
|
||||
-->
|
||||
|
||||
<#include "individual-setup.ftl">
|
||||
<#import "lib-vivo-properties.ftl" as vp>
|
||||
<#--Number of labels present-->
|
||||
<#if !labelCount??>
|
||||
<#assign labelCount = 0 >
|
||||
</#if>
|
||||
<#--Number of available locales-->
|
||||
<#if !localesCount??>
|
||||
<#assign localesCount = 1>
|
||||
</#if>
|
||||
<#--Number of distinct languages represented, with no language tag counting as a language, across labels-->
|
||||
<#if !languageCount??>
|
||||
<#assign languageCount = 1>
|
||||
</#if>
|
||||
<#assign visRequestingTemplate = "foaf-person-wilma">
|
||||
|
||||
<#--add the VIVO-ORCID interface -->
|
||||
<#include "individual-orcidInterface.ftl">
|
||||
|
||||
<section id="individual-intro" class="vcard person" role="region">
|
||||
|
||||
<section id="share-contact" role="region">
|
||||
<!-- Image -->
|
||||
<#assign individualImage>
|
||||
<@p.image individual=individual
|
||||
propertyGroups=propertyGroups
|
||||
namespaces=namespaces
|
||||
editable=editable
|
||||
showPlaceholder="always" />
|
||||
</#assign>
|
||||
|
||||
<#if ( individualImage?contains('<img class="individual-photo"') )>
|
||||
<#assign infoClass = 'class="withThumb"'/>
|
||||
</#if>
|
||||
|
||||
<div id="photo-wrapper">${individualImage}</div>
|
||||
<!-- Contact Info -->
|
||||
<div id="individual-tools-people">
|
||||
<span id="iconControlsLeftSide">
|
||||
<img id="uriIcon" title="${individual.uri}" src="${urls.images}/individual/uriIcon.gif" alt="${i18n().uri_icon}"/>
|
||||
<#if checkNamesResult?has_content >
|
||||
<img id="qrIcon" src="${urls.images}/individual/qr_icon.png" alt="${i18n().qr_icon}" />
|
||||
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage!}
|
||||
<a class="qrCloseLink" href="#" title="${i18n().qr_code}">${i18n().close_capitalized}</a>
|
||||
</span>
|
||||
</#if>
|
||||
</span>
|
||||
</div>
|
||||
<#include "individual-contactInfo.ftl">
|
||||
|
||||
<!-- Websites -->
|
||||
<#include "individual-webpage.ftl">
|
||||
</section>
|
||||
|
||||
<section id="individual-info" ${infoClass!} role="region">
|
||||
<section id="right-hand-column" role="region">
|
||||
<#include "individual-visualizationFoafPerson.ftl">
|
||||
<#if editable>
|
||||
<#if claimSources?size > 0>
|
||||
<br />${i18n().claim_publications_by}<br />
|
||||
<#if claimSources?seq_contains("doi")>
|
||||
<form action="${urls.base}/createAndLink/doi" method="get" style="float: left;">
|
||||
<input type="hidden" name="profileUri" value="${individual.uri}" />
|
||||
<input type="submit" class="submit" value="${i18n().claim_publications_by_doi}" />
|
||||
</form>
|
||||
</#if>
|
||||
<#if claimSources?seq_contains("pmid")>
|
||||
<form action="${urls.base}/createAndLink/pmid" method="get" style="float: right;">
|
||||
<input type="hidden" name="profileUri" value="${individual.uri}" />
|
||||
<input type="submit" class="submit" value="${i18n().claim_publications_by_pmid}" />
|
||||
</form>
|
||||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
</section>
|
||||
<#include "individual-adminPanel.ftl">
|
||||
|
||||
<header>
|
||||
<#if relatedSubject??>
|
||||
<h2>${relatedSubject.relatingPredicateDomainPublic} ${i18n().indiv_foafperson_for} ${relatedSubject.name}</h2>
|
||||
<p><a href="${relatedSubject.url}" title="${i18n().indiv_foafperson_return}">← ${i18n().indiv_foafperson_return} ${relatedSubject.name}</a></p>
|
||||
<#else>
|
||||
<h1 class="foaf-person">
|
||||
<#-- Label -->
|
||||
<span itemprop="name" class="fn"><@p.label individual editable labelCount localesCount/></span>
|
||||
</h1>
|
||||
<section id="preferredTitle">
|
||||
<#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
|
||||
<#assign title = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Title")!>
|
||||
<#if title?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<#if (title.statements?size < 1) >
|
||||
<@p.addLinkWithLabel title editable />
|
||||
<#elseif editable>
|
||||
<h2>${title.name?capitalize!}</h2>
|
||||
<@p.verboseDisplay title />
|
||||
</#if>
|
||||
<#list title.statements as statement>
|
||||
<span itemprop="jobTitle" class="display-title<#if editable>-editable</#if>">${statement.preferredTitle}</span>
|
||||
<@p.editingLinks "${title.localName}" "${title.name}" statement editable title.rangeUri />
|
||||
</#list>
|
||||
</#if>
|
||||
<#-- If preferredTitle is unpopulated, display mostSpecificTypes -->
|
||||
<#if ! (title.statements)?has_content>
|
||||
<@p.mostSpecificTypes individual />
|
||||
</#if>
|
||||
</section>
|
||||
</#if>
|
||||
<!-- Positions -->
|
||||
<#include "individual-positions.ftl">
|
||||
</header>
|
||||
|
||||
<!-- Overview -->
|
||||
<#include "individual-overview.ftl">
|
||||
|
||||
<!-- Research Areas -->
|
||||
<#include "individual-researchAreas.ftl">
|
||||
|
||||
<!-- Geographic Focus -->
|
||||
<#include "individual-geographicFocus.ftl">
|
||||
|
||||
<#include "individual-openSocial.ftl">
|
||||
</section>
|
||||
|
||||
</span></section>
|
||||
|
||||
<#assign nameForOtherGroup = "${i18n().other}">
|
||||
|
||||
<#-- Ontology properties -->
|
||||
<#if !editable>
|
||||
<#-- We don't want to see the first name and last name unless we might edit them. -->
|
||||
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/firstName")!>
|
||||
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/lastName")!>
|
||||
</#if>
|
||||
|
||||
<!-- Property group menu or tabs -->
|
||||
<#--
|
||||
With release 1.6 there are now two types of property group displays: the original property group
|
||||
menu and the horizontal tab display, which is the default. If you prefer to use the property
|
||||
group menu, simply substitute the include statement below with the one that appears after this
|
||||
comment section.
|
||||
|
||||
<#include "individual-property-group-menus.ftl">
|
||||
-->
|
||||
|
||||
<#include "individual-property-group-tabs.ftl">
|
||||
|
||||
<#assign rdfUrl = individual.rdfUrl>
|
||||
|
||||
<#if rdfUrl??>
|
||||
<script>
|
||||
var individualRdfUrl = '${rdfUrl}';
|
||||
</script>
|
||||
</#if>
|
||||
<script>
|
||||
var imagesPath = '${urls.images}';
|
||||
var individualUri = '${individual.uri!}';
|
||||
var individualPhoto = '${individual.thumbNail!}';
|
||||
var exportQrCodeUrl = '${urls.base}/qrcode?uri=${individual.uri!}';
|
||||
var baseUrl = '${urls.base}';
|
||||
var i18nStrings = {
|
||||
displayLess: '${i18n().display_less}',
|
||||
displayMoreEllipsis: '${i18n().display_more_ellipsis}',
|
||||
showMoreContent: '${i18n().show_more_content}',
|
||||
verboseTurnOff: '${i18n().verbose_turn_off}',
|
||||
researchAreaTooltipOne: '${i18n().research_area_tooltip_one}',
|
||||
researchAreaTooltipTwo: '${i18n().research_area_tooltip_two}'
|
||||
};
|
||||
var i18nStringsUriRdf = {
|
||||
shareProfileUri: '${i18n().share_profile_uri}',
|
||||
viewRDFProfile: '${i18n().view_profile_in_rdf}',
|
||||
closeString: '${i18n().close}'
|
||||
};
|
||||
</script>
|
||||
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/individual/individual.css" />',
|
||||
'<link rel="stylesheet" href="${urls.base}/css/individual/individual-vivo.css" />',
|
||||
'<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/smoothness/jquery-ui-1.12.1.css" />',
|
||||
'<link rel="stylesheet" type="text/css" href="${urls.base}/css/jquery_plugins/qtip/jquery.qtip.min.css" />')}
|
||||
|
||||
${headScripts.add('<script type="text/javascript" src="${urls.base}/js/tiny_mce/tiny_mce.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/jquery_plugins/qtip/jquery.qtip.min.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/jquery_plugins/jquery.truncator.js"></script>')}
|
||||
|
||||
${scripts.add('<script type="text/javascript" src="${urls.base}/js/individual/individualUtils.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/individual/individualQtipBubble.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/individual/individualUriRdf.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/individual/moreLessController.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/jquery-ui/js/jquery-ui-1.12.1.min.js"></script>',
|
||||
'<script type="text/javascript" src="${urls.base}/js/imageUpload/imageUploadUtils.js"></script>',
|
||||
'<script async type="text/javascript" src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script>',
|
||||
'<script async type="text/javascript" src="//cdn.plu.mx/widget-popup.js"></script>')}
|
||||
|
||||
<script type="text/javascript">
|
||||
i18n_confirmDelete = "${i18n().confirm_delete}";
|
||||
</script>
|
32
webapp/src/main/webapp/themes/iph/templates/menu.ftl
Normal file
|
@ -0,0 +1,32 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
</header>
|
||||
|
||||
<#include "developer.ftl">
|
||||
|
||||
<nav role="navigation">
|
||||
<ul id="main-nav" role="list">
|
||||
<#list menu.items as item>
|
||||
<li role="listitem"><a href="${item.url}" title="${item.linkText} ${i18n().menu_item}" <#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(i18n().menu_welcomestart) >
|
||||
<section id="welcome-msg-container" role="container">
|
||||
<section id="welcome-message" role="alert">${flash}</section>
|
||||
</section>
|
||||
<#else>
|
||||
<section id="flash-msg-container" role="container">
|
||||
<section id="flash-message" role="alert">${flash}</section>
|
||||
</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" title="java script instructions">instructions for enabling JavaScript in your web browser</a>.</p>
|
||||
</noscript>
|
||||
<![endif]-->
|
114
webapp/src/main/webapp/themes/iph/templates/page-home.ftl
Normal file
|
@ -0,0 +1,114 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<@widget name="login" include="assets" />
|
||||
|
||||
<#--
|
||||
With release 1.6, the home page no longer uses the "browse by" class group/classes display.
|
||||
If you prefer to use the "browse by" display, replace the import statement below with the
|
||||
following include statement:
|
||||
|
||||
<#include "browse-classgroups.ftl">
|
||||
|
||||
Also ensure that the homePage.geoFocusMaps flag in the runtime.properties file is commented
|
||||
out.
|
||||
-->
|
||||
<#import "lib-home-page.ftl" as lh>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<#include "head.ftl">
|
||||
<#if geoFocusMapsEnabled >
|
||||
<#include "geoFocusMapScripts.ftl">
|
||||
</#if>
|
||||
<script async type="text/javascript" src="${urls.base}/js/homePageUtils.js?version=x"></script>
|
||||
</head>
|
||||
|
||||
<body class="${bodyClasses!}" onload="${bodyOnload!}">
|
||||
<#-- supplies the faculty count to the js function that generates a random row number for the search query -->
|
||||
<@lh.facultyMemberCount vClassGroups! />
|
||||
<#include "identity.ftl">
|
||||
|
||||
<#include "menu.ftl">
|
||||
|
||||
<section id="intro" role="region">
|
||||
<h2>${i18n().intro_title}</h2>
|
||||
|
||||
<p>${i18n().intro_para1}</p>
|
||||
<p>${i18n().intro_para2}</p>
|
||||
|
||||
<section id="search-home" role="region">
|
||||
<h3>${i18n().intro_searchvivo} <span class="search-filter-selected">filteredSearch</span></h3>
|
||||
|
||||
<fieldset>
|
||||
<legend>${i18n().search_form}</legend>
|
||||
<form id="search-homepage" action="${urls.search}" name="search-home" role="search" method="post" >
|
||||
<div id="search-home-field">
|
||||
<input type="text" name="querytext" class="search-homepage" value="" autocapitalize="off" />
|
||||
<input type="submit" value="${i18n().search_button}" class="search" />
|
||||
<input type="hidden" name="classgroup" value="" autocapitalize="off" />
|
||||
</div>
|
||||
|
||||
<a class="filter-search filter-default" href="#" title="${i18n().intro_filtersearch}">
|
||||
<span class="displace">${i18n().intro_filtersearch}</span>
|
||||
</a>
|
||||
|
||||
<ul id="filter-search-nav">
|
||||
<li><a class="active" href="">${i18n().all_capitalized}</a></li>
|
||||
<@lh.allClassGroupNames vClassGroups! />
|
||||
</ul>
|
||||
</form>
|
||||
</fieldset>
|
||||
</section> <!-- #search-home -->
|
||||
|
||||
</section> <!-- #intro -->
|
||||
|
||||
<@widget name="login" />
|
||||
|
||||
<!-- List of research classes: e.g., articles, books, collections, conference papers -->
|
||||
<@lh.researchClasses />
|
||||
|
||||
<!-- List of four randomly selected faculty members -->
|
||||
<@lh.facultyMbrHtml />
|
||||
|
||||
<!-- List of randomly selected academic departments -->
|
||||
<@lh.academicDeptsHtml />
|
||||
|
||||
<#if geoFocusMapsEnabled >
|
||||
<!-- Map display of researchers' areas of geographic focus. Must be enabled in runtime.properties -->
|
||||
<@lh.geographicFocusHtml />
|
||||
</#if>
|
||||
|
||||
<!-- Statistical information relating to property groups and their classes; displayed horizontally, not vertically-->
|
||||
<@lh.allClassGroups vClassGroups! />
|
||||
|
||||
<#include "footer.ftl">
|
||||
<#-- builds a json object that is used by js to render the academic departments section -->
|
||||
<@lh.listAcademicDepartments />
|
||||
<script>
|
||||
var i18nStrings = {
|
||||
researcherString: '${i18n().researcher}',
|
||||
researchersString: '${i18n().researchers}',
|
||||
currentlyNoResearchers: '${i18n().currently_no_researchers}',
|
||||
countriesAndRegions: '${i18n().countries_and_regions}',
|
||||
countriesString: '${i18n().countries}',
|
||||
regionsString: '${i18n().regions}',
|
||||
statesString: '${i18n().map_states_string}',
|
||||
stateString: '${i18n().map_state_string}',
|
||||
statewideLocations: '${i18n().statewide_locations}',
|
||||
researchersInString: '${i18n().researchers_in}',
|
||||
inString: '${i18n().in}',
|
||||
noFacultyFound: '${i18n().no_faculty_found}',
|
||||
placeholderImage: '${i18n().placeholder_image}',
|
||||
viewAllFaculty: '${i18n().view_all_faculty}',
|
||||
viewAllString: '${i18n().view_all}',
|
||||
viewAllDepartments: '${i18n().view_all_departments}',
|
||||
noDepartmentsFound: '${i18n().no_departments_found}'
|
||||
};
|
||||
// set the 'limmit search' text and alignment
|
||||
if ( $('input.search-homepage').css('text-align') == "right" ) {
|
||||
$('input.search-homepage').attr("value","${i18n().limit_search} \u2192");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
27
webapp/src/main/webapp/themes/iph/templates/page.ftl
Normal file
|
@ -0,0 +1,27 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<#import "lib-list.ftl" as l>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<#include "head.ftl">
|
||||
</head>
|
||||
|
||||
<body class="${bodyClasses!}" onload="${bodyOnload!}">
|
||||
<#include "identity.ftl">
|
||||
<#include "search.ftl" >
|
||||
<#include "menu.ftl">
|
||||
|
||||
<#-- VIVO OpenSocial Extension by UCSF -->
|
||||
<#if openSocial??>
|
||||
<#if openSocial.visible>
|
||||
<div id="gadgets-tools" class="gadgets-gadget-parent"></div>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
${body}
|
||||
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
17
webapp/src/main/webapp/themes/iph/templates/search.ftl
Normal file
|
@ -0,0 +1,17 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
|
||||
<#--Breaking this out so this can be utilized by other pages such as the jsp advanced tools pages-->
|
||||
|
||||
<section id="search" role="region">
|
||||
<fieldset>
|
||||
<legend>${i18n().search_form}</legend>
|
||||
|
||||
<form id="search-form" action="${urls.search}" name="search" role="search" accept-charset="UTF-8" method="POST">
|
||||
<div id="search-field">
|
||||
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" autocapitalize="off" />
|
||||
<input type="submit" value="${i18n().search_button}" class="search">
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
</section>
|
||||
|