summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-09-27 22:14:06 +0200
committerAzul <azul@riseup.net>2012-09-27 22:14:06 +0200
commit54a12a93b5d8621b26c003d25ef80c01293e45a7 (patch)
tree329c61e383f1c70e5230f4d6af78f17e67511191 /app/views
parent666cc6a4ef896f1a3f3210453bef14ccb6bda578 (diff)
Adding in what used to be leap webapp demo
we're merging repositories into one
Diffstat (limited to 'app/views')
-rw-r--r--app/views/home/index.html.haml4
-rw-r--r--app/views/layouts/application.html.erb14
2 files changed, 18 insertions, 0 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
new file mode 100644
index 0000000..11f18de
--- /dev/null
+++ b/app/views/home/index.html.haml
@@ -0,0 +1,4 @@
+%h1 Leap Web Demo
+
+Try to fetch a
+= link_to "cert", cert_path
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..a4962fb
--- /dev/null
+++ b/app/views/layouts/application.html.erb
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>LeapWebDemo</title>
+ <%= stylesheet_link_tag "application", :media => "all" %>
+ <%= javascript_include_tag "application" %>
+ <%= csrf_meta_tags %>
+</head>
+<body>
+
+<%= yield %>
+
+</body>
+</html>