vivo/themes/wilma/templates/page-home.ftl

89 lines
3.7 KiB
Text
Raw Normal View History

2013-04-30 14:46:22 -04:00
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<@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>
<!DOCTYPE html>
<html lang="en">
<head>
<#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>
</head>
<body class="${bodyClasses!}" onload="${bodyOnload!}">
2013-04-30 14:46:22 -04:00
<#-- supplies the faculty count to the js function that generates a random row number for the solr 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}Browse or search information on people, departments, courses, grants, and publications.</p>
<section id="search-home" role="region">
<h3>${i18n().intro_searchvivo} <span class="search-filter-selected">filteredSearch</span></h3>
<fieldset>
<legend>Search form</legend>
<form id="search-homepage" action="${urls.search}" name="search-home" role="search" method="post" >
<div id="search-home-field">
2013-04-30 14:46:22 -04:00
<input type="text" name="querytext" class="search-homepage" value="" autocapitalize="off" />
<input type="submit" value="Search" class="search" />
2013-04-30 14:46:22 -04:00
<input type="hidden" name="classgroup" class="search-homepage" value="" autocapitalize="off" />
</div>
<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>
<ul id="filter-search-nav">
<li><a class="active" href="">All</a></li>
2013-04-30 14:46:22 -04:00
<@lh.allClassGroupNames vClassGroups! />
</ul>
</form>
</fieldset>
</section> <!-- #search-home -->
</section> <!-- #intro -->
<@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! />
<#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 />
</body>
</html>