Missed identity.ftl for vivo-basic in r1815 and updated css for custom forms to avoid descendent selectors that make assumptions about markup defined in the theme
This commit is contained in:
parent
cd58425e1d
commit
83bc276517
3 changed files with 55 additions and 22 deletions
33
themes/vivo-basic/templates/identity.ftl
Normal file
33
themes/vivo-basic/templates/identity.ftl
Normal file
|
@ -0,0 +1,33 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#import "lib-list.ftl" as l>
|
||||
|
||||
<div id="wrap" class="container">
|
||||
<div id="header">
|
||||
|
||||
<#-- uncomment this div to place your institutional branding/identity at the top of every page
|
||||
<div id="institution">
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div id="identity">
|
||||
|
||||
<h1><a title="Home" href="${urls.home}">${siteName}</a></h1>
|
||||
|
||||
<ul id="otherMenu">
|
||||
<@l.firstLastList>
|
||||
<#if user.loggedIn>
|
||||
<li>
|
||||
Logged in as <strong>${user.loginName}</strong> (<a href="${urls.logout}">Log out</a>)
|
||||
</li>
|
||||
<#if user.hasSiteAdminAccess>
|
||||
<li><a href="${urls.siteAdmin}">Site Admin</a></li>
|
||||
</#if>
|
||||
<#else>
|
||||
<li><a title="log in to manage this site" href="${urls.login}">Log in</a></li>
|
||||
</#if>
|
||||
|
||||
<#include "subMenuLinks.ftl">
|
||||
</@l.firstLastList>
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue