aboutsummaryrefslogtreecommitdiff
path: root/src/views/admin-navbar.ecr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-28 08:27:41 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-28 08:27:41 -0400
commit8828d7189173dfdf8c88082cf69d1eb74d89e9a7 (patch)
tree197be3ea04ece47eef269ebd5b394c878076fafc /src/views/admin-navbar.ecr
parentbff93d5b6a46e6c996e43dc4d669a4514da87cc6 (diff)
downloadguff-8828d7189173dfdf8c88082cf69d1eb74d89e9a7.tar.bz2
guff-8828d7189173dfdf8c88082cf69d1eb74d89e9a7.zip
refactor settings panes, simplify admin page
Diffstat (limited to 'src/views/admin-navbar.ecr')
-rw-r--r--src/views/admin-navbar.ecr29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/views/admin-navbar.ecr b/src/views/admin-navbar.ecr
new file mode 100644
index 0000000..4a06b15
--- /dev/null
+++ b/src/views/admin-navbar.ecr
@@ -0,0 +1,29 @@
+<div
+ class='navbar navbar-inverse navbar-static-top'
+ role='navigation'
+>
+ <div class='container-fluid'>
+ <div class='navbar-header'>
+ <a
+ href='admin.html'
+ class='navbar-brand'
+ title='Reload admin page.'
+ >
+ <i class='fa fa-bomb'></i>
+ <%= h(@title) %>
+ </a><!-- navbar-brand -->
+ </div><!-- navbar-default -->
+
+ <ul class='nav navbar-nav navbar-right'>
+ <li>
+ <a
+ href='logout.html'
+ title='Log out.'
+ >
+ <i class='fa fa-power-off'></i>
+ Log Out
+ </a>
+ </li>
+ </ul><!-- nav -->
+ </div><!-- container-fluid -->
+</div><!-- navbar -->