aboutsummaryrefslogtreecommitdiff
path: root/src/views/pages
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-28 09:35:14 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-28 09:35:14 -0400
commita36c864bd86f59ed04d3c133cd1ad1fcdf61b9f7 (patch)
treef877eff1b1d5db8c6e9fe2b834ff1ff8e6f43eb6 /src/views/pages
parentdfb1eb89909076b5d76ba27c1b5e558ea7914c5b (diff)
downloadguff-a36c864bd86f59ed04d3c133cd1ad1fcdf61b9f7.tar.bz2
guff-a36c864bd86f59ed04d3c133cd1ad1fcdf61b9f7.zip
refactor navbar and clean up logout page
Diffstat (limited to 'src/views/pages')
-rw-r--r--src/views/pages/login.ecr17
-rw-r--r--src/views/pages/logout.ecr34
2 files changed, 5 insertions, 46 deletions
diff --git a/src/views/pages/login.ecr b/src/views/pages/login.ecr
index 4762104..8be0734 100644
--- a/src/views/pages/login.ecr
+++ b/src/views/pages/login.ecr
@@ -8,22 +8,7 @@
</head>
<body>
- <div
- class='navbar navbar-inverse navbar-static-top'
- role='navigation'
- >
- <div class='container-fluid'>
- <div class='navbar-header'>
- <a
- href='../'
- class='navbar-brand'
- >
- <i class='fa fa-bomb'></i>
- <%= h(TITLE) %>
- </a><!-- navbar-brand -->
- </div><!-- navbar-default -->
- </div><!-- container-fluid -->
- </div><!-- navbar -->
+ <%= navbar %>
<div class='container'>
<div class='col-md-6 col-md-offset-3'>
diff --git a/src/views/pages/logout.ecr b/src/views/pages/logout.ecr
index b3c2eae..0891823 100644
--- a/src/views/pages/logout.ecr
+++ b/src/views/pages/logout.ecr
@@ -2,34 +2,13 @@
<html lang='en-US'>
<head>
<meta charset="utf-8"/>
- <title>Guff Logout</title>
+ <title><%= h(TITLE) %></title>
- <%=
- styles %w{
- assets/font-awesome-4.5.0/css/font-awesome.min.css
- assets/bootstrap-3.3.6/css/bootstrap.min.css
- assets/bootstrap-3.3.6/css/bootstrap-theme.min.css
- }
- %>
+ <%= styles %>
</head>
<body>
- <div
- class='navbar navbar-inverse navbar-static-top'
- role='navigation'
- >
- <div class='container-fluid'>
- <div class='navbar-header'>
- <a
- href='../'
- class='navbar-brand'
- >
- <i class='fa fa-bomb'></i>
- Guff
- </a><!-- navbar-brand -->
- </div><!-- navbar-default -->
- </div><!-- container-fluid -->
- </div><!-- navbar -->
+ <%= navbar %>
<div class='container'>
<div class='col-md-6 col-md-offset-3'>
@@ -58,10 +37,5 @@
</div><!-- container -->
</body>
- <%=
- scripts %w{
- assets/jquery-2.2.1.min.js
- assets/bootstrap-3.3.6/js/bootstrap.min.js
- }
- %>
+ <%= scripts %>
</html>