From 4b6c22acb24c140860eac3ca567673ec14c3c308 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 4 Jul 2013 01:36:08 -0700 Subject: minor changes to css and home page. --- app/assets/stylesheets/leap.scss | 8 ++++++++ app/views/home/index.html.haml | 7 +------ core/app/helpers/core_helper.rb | 13 +++++++++++++ core/app/helpers/snippet_helper.rb | 11 ----------- 4 files changed, 22 insertions(+), 17 deletions(-) create mode 100644 core/app/helpers/core_helper.rb delete mode 100644 core/app/helpers/snippet_helper.rb diff --git a/app/assets/stylesheets/leap.scss b/app/assets/stylesheets/leap.scss index 792aa3c..6268b3b 100644 --- a/app/assets/stylesheets/leap.scss +++ b/app/assets/stylesheets/leap.scss @@ -184,3 +184,11 @@ input, textarea { } } } + +// +// USERS +// + +.overview li { + padding: 6px 0; +} \ No newline at end of file diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 9da66a1..8c90436 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -9,9 +9,4 @@ .row-fluid %hr %p - Try to fetch a - = link_to "cert", cert_path - - %p - Create a - = link_to "ticket", new_ticket_path + = link_to "fetch a cert", cert_path diff --git a/core/app/helpers/core_helper.rb b/core/app/helpers/core_helper.rb new file mode 100644 index 0000000..a496144 --- /dev/null +++ b/core/app/helpers/core_helper.rb @@ -0,0 +1,13 @@ +# +# Misc. helpers needed throughout. +# +module CoreHelper + + # + # insert common buttons (download, login, etc) + # + def home_page_buttons + render 'common/home_page_buttons' + end + +end \ No newline at end of file diff --git a/core/app/helpers/snippet_helper.rb b/core/app/helpers/snippet_helper.rb deleted file mode 100644 index 6fee454..0000000 --- a/core/app/helpers/snippet_helper.rb +++ /dev/null @@ -1,11 +0,0 @@ -# -# various html snippets we use throughout. -# - -module SnippetHelper - - def home_page_buttons - render 'common/home_page_buttons' - end - -end \ No newline at end of file -- cgit v1.2.3