Used admin layout wrapper for tokens read page
This commit is contained in:
parent
58ab852f4c
commit
ea899d955c
1 changed files with 2 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
||||||
% layout 'default';
|
% layout 'admin';
|
||||||
% title 'LocalLoop Admin - Login';
|
% title 'Tokens';
|
||||||
% content_for css => begin
|
% content_for css => begin
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
|
@ -22,26 +22,6 @@ body {
|
||||||
% end
|
% end
|
||||||
% content_for javascript => begin
|
% content_for javascript => begin
|
||||||
% end
|
% 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">
|
<div class="container">
|
||||||
% if ( my $error = flash 'error' ) {
|
% if ( my $error = flash 'error' ) {
|
||||||
<div class="alert alert-danger" role="alert">
|
<div class="alert alert-danger" role="alert">
|
||||||
|
|
Reference in a new issue