2017-04-08 13:25:06 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>LocalLoop Admin - <%= title %></title>
|
|
|
|
|
|
|
|
<!-- Bootstrap and jQuery js -->
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
|
|
|
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
|
|
|
|
|
2017-04-18 09:43:23 +00:00
|
|
|
%= stylesheet '/static/admin/css/main.css';
|
2017-04-08 13:25:06 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-04-08 13:34:22 +00:00
|
|
|
<nav class="navbar navbar-toggleable-md fixed-top navbar-inverse bg-danger">
|
2017-04-08 13:25:06 +00:00
|
|
|
<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>
|
|
|
|
|
2017-04-24 16:42:07 +00:00
|
|
|
<a class="navbar-brand" href="<%= url_for '/admin/home' %>">LocalLoop Admin</a>
|
2017-04-08 13:25:06 +00:00
|
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
|
|
<div class="navbar-nav ml-auto">
|
2017-04-24 16:42:07 +00:00
|
|
|
<a class="nav-item nav-link" href="<%= url_for '/' %>">User Section</a>
|
2017-04-08 13:25:06 +00:00
|
|
|
<a class="nav-item nav-link<%= title eq 'Tokens' ? ' active' : '' %>" href="<%= url_for '/admin/tokens' %>">Tokens</a>
|
2017-04-18 09:43:23 +00:00
|
|
|
<a class="nav-item nav-link<%= title eq 'Users' ? ' active' : '' %>" href="<%= url_for '/admin/users' %>">Users</a>
|
2017-04-24 11:49:18 +00:00
|
|
|
<a class="nav-item nav-link<%= title eq 'Organisations' ? ' active' : '' %>" href="<%= url_for '/admin/organisations' %>">Organisations</a>
|
2017-04-24 16:42:07 +00:00
|
|
|
<a class="nav-item nav-link" href="<%= url_for '/admin/logout' %>">Logout</a>
|
2017-04-08 13:25:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2017-04-18 09:43:23 +00:00
|
|
|
<div class="container">
|
|
|
|
<%= content %>
|
|
|
|
</div>
|
2017-04-08 13:25:06 +00:00
|
|
|
%= content_for 'javascript';
|
|
|
|
</body>
|
|
|
|
</html>
|