Used admin layout wrapper for tokens read page

This commit is contained in:
Tom Bloor 2017-04-08 14:38:45 +01:00
parent 58ab852f4c
commit ea899d955c

View file

@ -1,5 +1,5 @@
% layout 'default';
% title 'LocalLoop Admin - Login';
% layout 'admin';
% title 'Tokens';
% content_for css => begin
<style>
body {
@ -22,26 +22,6 @@ body {
% end
% content_for javascript => begin
% end
<nav class="navbar navbar-toggleable-md fixed-top navbar-inverse bg-primary">
<button class="navbar-toggler navbar-toggler-right"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="<%= url_for '/admin/home' %>"><%= title %></a>
<div class="collapse navbar-collapse" id="navbarNav">
<div class="navbar-nav">
<a class="nav-item nav-link active" href="<%= url_for '/admin/tokens' %>">Tokens</a>
<a class="nav-item nav-link" href="#">Users</a>
</div>
</div>
</nav>
<div class="container">
% if ( my $error = flash 'error' ) {
<div class="alert alert-danger" role="alert">