NIHVIVO-1389 NIHVIVO-1407 NIHVIVO-1437 Significant refactoring of templates both in vitro core and vivo themes to ensure consistent markup with 3 different base templates at play (page.ftl, basicPage.jsp and formPrefix/formSuffix.jsp) Resulted in creating smaller component freemarker templates that could be included by all of the base templates, whether ftl or jsp. This is a temporary compromise while we continue our conversion to Freemarker. The goal was to keep jsp files outside of the theme and working behind the scenes.
This commit is contained in:
parent
f0131adbd0
commit
c9fa835a9e
28 changed files with 210 additions and 978 deletions
11
themes/vivo-basic/templates/head.ftl
Normal file
11
themes/vivo-basic/templates/head.ftl
Normal file
|
@ -0,0 +1,11 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>${title}</title>
|
||||
|
||||
<#include "stylesheets.ftl">
|
||||
<link rel="stylesheet" href="${urls.theme}/css/screen.css" media="screen" />
|
||||
<link rel="stylesheet" href="${urls.theme}/css/print.css" media="print" />
|
||||
|
||||
<#include "headScripts.ftl">
|
Loading…
Add table
Add a link
Reference in a new issue