Skip to content

Commit

Permalink
Refs #86 - fixed admin navigation. still needs margins fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbmarcum committed Feb 8, 2020
1 parent 221bb55 commit f0e6bee
Showing 1 changed file with 26 additions and 33 deletions.
59 changes: 26 additions & 33 deletions grails-app/views/rssFeed/show.gsp
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<meta name="layout" content="main"/>
<g:set var="entityName" value="${message(code: 'rssFeed.label', default: 'RssFeed')}"/>
<title><g:message code="default.show.label" args="[entityName]"/></title>
</head>
<head>
<meta name="layout" content="main"/>
<g:set var="entityName" value="${message(code: 'rssFeed.label', default: 'RssFeed')}"/>
<title><g:message code="default.show.label" args="[entityName]"/></title>
</head>

<body>
<a href="#show-rssFeed" class="skip" tabindex="-1"><g:message code="default.link.skip.label"
default="Skip to content&hellip;"/></a>
<body>
<a href="#show-rssFeed" class="skip" tabindex="-1"><g:message code="default.link.skip.label"
default="Skip to content&hellip;"/></a>

<div class="nav" role="navigation">
<ul>
<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
<li><g:link class="list" action="index"><g:message code="default.list.label" args="[entityName]"/></g:link></li>
<li><g:link class="create" action="create"><g:message code="default.new.label"
args="[entityName]"/></g:link></li>
</ul>
</div>
<g:render template="/common/subnav-list-create"/>

<div id="show-rssFeed" class="content scaffold-show" role="main">
<h1><g:message code="default.show.label" args="[entityName]"/></h1>
<g:if test="${flash.message}">
<div class="message" role="status">${flash.message}</div>
</g:if>
<f:display bean="rssFeed"/>
<g:form resource="${this.rssFeed}" method="DELETE">
<fieldset class="buttons">
<g:link class="edit" action="edit" resource="${this.rssFeed}"><g:message code="default.button.edit.label"
default="Edit"/></g:link>
<input class="delete" type="submit"
value="${message(code: 'default.button.delete.label', default: 'Delete')}"
onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"/>
</fieldset>
</g:form>
</div>
</body>
<div id="show-rssFeed" class="content scaffold-show" role="main">
<h1><g:message code="default.show.label" args="[entityName]"/></h1>
</div>
<g:render template="/common/flash-message"/>
<div>
<f:display bean="rssFeed"/>
<g:form resource="${this.rssFeed}" method="DELETE">
<fieldset class="buttons">
<g:link class="edit" action="edit" resource="${this.rssFeed}"><g:message code="default.button.edit.label"
default="Edit"/></g:link>
<input class="delete" type="submit"
value="${message(code: 'default.button.delete.label', default: 'Delete')}"
onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"/>
</fieldset>
</g:form>
</div>
</body>
</html>

0 comments on commit f0e6bee

Please sign in to comment.