search part of page needs to be broken out to include search box in jsp pages

This commit is contained in:
hudajkhan 2013-11-04 11:52:36 -05:00
parent 8dbf9969c2
commit 5f71827f93
2 changed files with 18 additions and 14 deletions

View file

@ -10,20 +10,7 @@
<body class="${bodyClasses!}" onload="${bodyOnload!}"> <body class="${bodyClasses!}" onload="${bodyOnload!}">
<#include "identity.ftl"> <#include "identity.ftl">
<#include "search.ftl" >
<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>
<#include "menu.ftl"> <#include "menu.ftl">
<#-- VIVO OpenSocial Extension by UCSF --> <#-- VIVO OpenSocial Extension by UCSF -->

View file

@ -0,0 +1,17 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#--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>