Refactored approach for inserting visualization links on menu pages. Still hoping to remove JavaScript altogether based on outcome of NIHVIVO-1681. Also introduced the initial version of application-wide styles with vitro.css.
This commit is contained in:
parent
cde5de7217
commit
6b47329954
3 changed files with 31 additions and 2 deletions
|
@ -4,12 +4,12 @@
|
|||
<h3>${page.title}</h3>
|
||||
|
||||
<section id="content-generic-class" role="region">
|
||||
<h4>Visual Graph</h4>
|
||||
|
||||
<#-- This will allow us to keep menupage.ftl generic and keep vivo-specific extensions in VIVO -->
|
||||
<#if visualizationLink??>
|
||||
${visualizationLink}
|
||||
</#if>
|
||||
|
||||
<h4>Visual Graph</h4>
|
||||
|
||||
<#include "menupage-vClassesInClassgroup.ftl">
|
||||
|
||||
|
|
|
@ -2,4 +2,7 @@
|
|||
<#-- Template for loading stylesheets in the head -->
|
||||
${stylesheets.add("/css/edit.css")} <#--temporary until edit controller can include this when needed -->
|
||||
|
||||
<!-- vitro base styles (application-wide) -->
|
||||
<link rel="stylesheet" href="${urls.base}/css/vitro.css" />
|
||||
|
||||
${stylesheets.tags}
|
Loading…
Add table
Add a link
Reference in a new issue