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-06-17 01:26:35 -0700
commit8b7621793fe5f8fa55c955045a71821c53d4759f (patch)
tree872071d4fd3510d319288b32aeb8cdcdcf741a22 /app/views/home
parent15d48c24e529e2f944b026749c5eb35eb4c5cfa7 (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