summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 01:36:08 -0700
committerelijah <elijah@riseup.net>2013-07-04 01:36:08 -0700
commit4b6c22acb24c140860eac3ca567673ec14c3c308 (patch)
tree447e12eb2daa05a2392c8f53be7bf6214be00783
parentc96f3544c5e7289eb4157981cc9f680d689d861f (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