diff options
Diffstat (limited to 'src/guff/views/pages/logout.cr')
-rw-r--r-- | src/guff/views/pages/logout.cr | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/guff/views/pages/logout.cr b/src/guff/views/pages/logout.cr index e04a916..e7837c0 100644 --- a/src/guff/views/pages/logout.cr +++ b/src/guff/views/pages/logout.cr @@ -1,5 +1,35 @@ require "../html" class Guff::Views::Pages::Logout < Guff::Views::HTMLView + TITLE = "Guff Logout" + + 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 + } + + SCRIPTS = %w{ + assets/jquery-2.2.1.min.js + assets/bootstrap-3.3.6/js/bootstrap.min.js + } + + private def styles + super(STYLES) + end + + private def scripts + super(SCRIPTS) + end + + private def navbar + Guff::Views::Navbar.new( + context: @context, + name: TITLE, + link: "../", + text: "Return to site." + ) + end + ECR.def_to_s("src/views/pages/logout.ecr") end |