2013-04-30 14:46:22 -04:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
2010-10-28 20:16:17 +00:00
|
|
|
|
2011-01-12 15:46:44 +00:00
|
|
|
<@widget name="login" include="assets" />
|
2013-04-30 14:46:22 -04:00
|
|
|
|
|
|
|
<#--
|
|
|
|
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>
|
2011-01-24 18:22:16 +00:00
|
|
|
|
2010-10-25 18:43:26 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2010-10-27 13:21:55 +00:00
|
|
|
<head>
|
2010-12-08 14:04:45 +00:00
|
|
|
<#include "head.ftl">
|
2013-04-30 14:46:22 -04:00
|
|
|
<#if geoFocusMapsEnabled >
|
|
|
|
<#include "geoFocusMapScripts.ftl">
|
|
|
|
</#if>
|
|
|
|
<script type="text/javascript" src="${urls.base}/js/homePageUtils.js?version=x"></script>
|
2010-10-27 13:21:55 +00:00
|
|
|
</head>
|
|
|
|
|
2012-06-05 19:31:08 +00:00
|
|
|
<body class="${bodyClasses!}" onload="${bodyOnload!}">
|
2014-04-23 14:20:22 -04:00
|
|
|
<#-- supplies the faculty count to the js function that generates a random row number for the search query -->
|
2013-04-30 14:46:22 -04:00
|
|
|
<@lh.facultyMemberCount vClassGroups! />
|
2010-12-08 14:04:45 +00:00
|
|
|
<#include "identity.ftl">
|
2011-08-12 00:03:41 +00:00
|
|
|
|
2010-12-08 14:04:45 +00:00
|
|
|
<#include "menu.ftl">
|
2011-08-11 15:03:05 +00:00
|
|
|
|
|
|
|
<section id="intro" role="region">
|
2013-04-27 16:57:34 -06:00
|
|
|
<h2>${i18n().intro_title}</h2>
|
2011-08-11 15:03:05 +00:00
|
|
|
|
2013-04-27 16:57:34 -06:00
|
|
|
<p>${i18n().intro_para1}</p>
|
2013-05-31 11:56:18 -04:00
|
|
|
<p>${i18n().intro_para2}</p>
|
2013-04-15 15:39:16 -04:00
|
|
|
|
2011-08-11 15:03:05 +00:00
|
|
|
<section id="search-home" role="region">
|
2013-04-27 16:57:34 -06:00
|
|
|
<h3>${i18n().intro_searchvivo} <span class="search-filter-selected">filteredSearch</span></h3>
|
2013-04-15 15:39:16 -04:00
|
|
|
|
2011-08-11 15:03:05 +00:00
|
|
|
<fieldset>
|
2013-05-31 11:56:18 -04:00
|
|
|
<legend>${i18n().search_form}</legend>
|
2013-04-15 15:39:16 -04:00
|
|
|
<form id="search-homepage" action="${urls.search}" name="search-home" role="search" method="post" >
|
2011-08-11 15:03:05 +00:00
|
|
|
<div id="search-home-field">
|
2013-04-30 14:46:22 -04:00
|
|
|
<input type="text" name="querytext" class="search-homepage" value="" autocapitalize="off" />
|
2013-05-31 11:56:18 -04:00
|
|
|
<input type="submit" value="${i18n().search_button}" class="search" />
|
2013-06-12 15:24:52 -04:00
|
|
|
<input type="hidden" name="classgroup" value="" autocapitalize="off" />
|
2011-08-11 15:03:05 +00:00
|
|
|
</div>
|
2013-04-15 15:39:16 -04:00
|
|
|
|
2013-05-02 12:40:39 -04:00
|
|
|
<a class="filter-search filter-default" href="#" title="${i18n().intro_filtersearch}">
|
|
|
|
<span class="displace">${i18n().intro_filtersearch}</span>
|
2013-05-02 12:34:18 -04:00
|
|
|
</a>
|
2013-04-15 15:39:16 -04:00
|
|
|
|
|
|
|
<ul id="filter-search-nav">
|
2013-05-31 11:56:18 -04:00
|
|
|
<li><a class="active" href="">${i18n().all_capitalized}</a></li>
|
2013-04-30 14:46:22 -04:00
|
|
|
<@lh.allClassGroupNames vClassGroups! />
|
2013-04-15 15:39:16 -04:00
|
|
|
</ul>
|
2011-08-11 15:03:05 +00:00
|
|
|
</form>
|
|
|
|
</fieldset>
|
|
|
|
</section> <!-- #search-home -->
|
2013-04-15 15:39:16 -04:00
|
|
|
|
2011-08-11 15:03:05 +00:00
|
|
|
</section> <!-- #intro -->
|
2010-11-17 15:34:38 +00:00
|
|
|
|
2011-08-11 15:03:05 +00:00
|
|
|
<@widget name="login" />
|
|
|
|
|
2013-05-02 12:34:18 -04:00
|
|
|
<!-- List of research classes: e.g., articles, books, collections, conference papers -->
|
|
|
|
<@lh.researchClasses />
|
2013-04-30 14:46:22 -04:00
|
|
|
|
2013-05-02 12:34:18 -04:00
|
|
|
<!-- List of four randomly selected faculty members -->
|
|
|
|
<@lh.facultyMbrHtml />
|
2013-04-30 14:46:22 -04:00
|
|
|
|
2013-05-02 12:34:18 -04:00
|
|
|
<!-- List of randomly selected academic departments -->
|
|
|
|
<@lh.academicDeptsHtml />
|
2013-04-30 14:46:22 -04:00
|
|
|
|
|
|
|
<#if geoFocusMapsEnabled >
|
2013-05-02 12:34:18 -04:00
|
|
|
<!-- Map display of researchers' areas of geographic focus. Must be enabled in runtime.properties -->
|
|
|
|
<@lh.geographicFocusHtml />
|
2013-04-30 14:46:22 -04:00
|
|
|
</#if>
|
|
|
|
|
2013-05-02 12:34:18 -04:00
|
|
|
<!-- Statistical information relating to property groups and their classes; displayed horizontally, not vertically-->
|
|
|
|
<@lh.allClassGroups vClassGroups! />
|
2013-04-15 15:39:16 -04:00
|
|
|
|
|
|
|
<#include "footer.ftl">
|
2013-04-30 14:46:22 -04:00
|
|
|
<#-- builds a json object that is used by js to render the academic departments section -->
|
2013-05-02 12:34:18 -04:00
|
|
|
<@lh.listAcademicDepartments />
|
2013-06-12 15:24:52 -04:00
|
|
|
<script>
|
2013-06-07 11:59:14 -04:00
|
|
|
var i18nStrings = {
|
|
|
|
researcherString: '${i18n().researcher}',
|
|
|
|
researchersString: '${i18n().researchers}',
|
|
|
|
currentlyNoResearchers: '${i18n().currently_no_researchers}',
|
|
|
|
countriesAndRegions: '${i18n().countries_and_regions}',
|
2013-06-14 10:51:26 -04:00
|
|
|
countriesString: '${i18n().countries}',
|
|
|
|
regionsString: '${i18n().regions}',
|
2013-06-07 11:59:14 -04:00
|
|
|
statesString: '${i18n().map_states_string}',
|
|
|
|
stateString: '${i18n().map_state_string}',
|
|
|
|
statewideLocations: '${i18n().statewide_locations}',
|
|
|
|
researchersInString: '${i18n().researchers_in}',
|
2013-08-23 16:27:10 -04:00
|
|
|
inString: '${i18n().in}',
|
2013-06-07 11:59:14 -04:00
|
|
|
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}'
|
|
|
|
};
|
2013-06-12 15:24:52 -04:00
|
|
|
// 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>
|
2010-10-27 13:21:55 +00:00
|
|
|
</body>
|
2011-01-18 11:54:58 +00:00
|
|
|
</html>
|