search part of page needs to be broken out to include search box in jsp pages
This commit is contained in:
parent
8dbf9969c2
commit
5f71827f93
2 changed files with 18 additions and 14 deletions
|
@ -10,20 +10,7 @@
|
|||
|
||||
<body class="${bodyClasses!}" onload="${bodyOnload!}">
|
||||
<#include "identity.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 "search.ftl" >
|
||||
<#include "menu.ftl">
|
||||
|
||||
<#-- VIVO OpenSocial Extension by UCSF -->
|
||||
|
|
17
themes/wilma/templates/search.ftl
Normal file
17
themes/wilma/templates/search.ftl
Normal 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>
|
||||
|
Loading…
Add table
Reference in a new issue