From a36c864bd86f59ed04d3c133cd1ad1fcdf61b9f7 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 28 Jul 2016 09:35:14 -0400 Subject: refactor navbar and clean up logout page --- src/views/admin-navbar.ecr | 29 ----------------------------- src/views/navbar.ecr | 31 +++++++++++++++++++++++++++++++ src/views/pages/login.ecr | 17 +---------------- src/views/pages/logout.ecr | 34 ++++------------------------------ 4 files changed, 36 insertions(+), 75 deletions(-) delete mode 100644 src/views/admin-navbar.ecr create mode 100644 src/views/navbar.ecr (limited to 'src/views') diff --git a/src/views/admin-navbar.ecr b/src/views/admin-navbar.ecr deleted file mode 100644 index 4a06b15..0000000 --- a/src/views/admin-navbar.ecr +++ /dev/null @@ -1,29 +0,0 @@ - diff --git a/src/views/navbar.ecr b/src/views/navbar.ecr new file mode 100644 index 0000000..4164b90 --- /dev/null +++ b/src/views/navbar.ecr @@ -0,0 +1,31 @@ + 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 @@ - + <%= navbar %>
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 @@ - Guff Logout + <%= h(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 %> - + <%= navbar %>
@@ -58,10 +37,5 @@
- <%= - scripts %w{ - assets/jquery-2.2.1.min.js - assets/bootstrap-3.3.6/js/bootstrap.min.js - } - %> + <%= scripts %> -- cgit v1.2.3