summaryrefslogtreecommitdiff
path: root/app/views/home
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-17 01:26:35 -0700
committerelijah <elijah@riseup.net>2013-07-04 03:57:59 -0700
commit3f51128e24e1ca3247169066aa6a03090df98dd6 (patch)
treecb83b73379a174cd58a36360c683893d11cb4ac0 /app/views/home
parentd03e82b4df5075f796f56fb9568992b0ba0d7c07 (diff)
start of new ui - css changes, layout changes, navigation changes.
Diffstat (limited to 'app/views/home')
-rw-r--r--app/views/home/_home_text.html.haml3
-rw-r--r--app/views/home/index.html.haml23
2 files changed, 17 insertions, 9 deletions
diff --git a/app/views/home/_home_text.html.haml b/app/views/home/_home_text.html.haml
new file mode 100644
index 0000000..1055091
--- /dev/null
+++ b/app/views/home/_home_text.html.haml
@@ -0,0 +1,3 @@
+Welcome to the LEAP web application.
+
+For more information, visit #{link_to('leap.se', 'https://leap.se')} \ No newline at end of file
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
index c02dcad..0b3bbf9 100644
--- a/app/views/home/index.html.haml
+++ b/app/views/home/index.html.haml
@@ -1,11 +1,16 @@
-Try to fetch a
-= link_to "cert", cert_path
+.row-fluid
+ .span8
+ = render 'home_text'
+ .span4
+ = render '/login_or_signup'
-%p
-Create a
-= link_to "ticket", new_ticket_path
+- if Rails.env == 'development'
+ .row-fluid
+ %hr
+ %p
+ Try to fetch a
+ = link_to "cert", cert_path
-- if logged_in?
- %p
- See all
- = link_to "tickets", tickets_path
+ %p
+ Create a
+ = link_to "ticket", new_ticket_path