summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 01:36:08 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:15:04 -0700
commit40830b4b1fa33b9e26dbd500fc08b4b76b58011b (patch)
treea5398d73fb7554e2afe32072692b3b26b59c65d6
parentadacb11c8ff6395f38c3c05bea4e6d276285118f (diff)
minor changes to css and home page.
-rw-r--r--app/assets/stylesheets/leap.scss8
-rw-r--r--app/views/home/index.html.haml7
-rw-r--r--core/app/helpers/core_helper.rb13
-rw-r--r--core/app/helpers/snippet_helper.rb11
4 files changed, 22 insertions, 17 deletions
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