aboutsummaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-06-05 18:09:56 +0300
committerFilipp Lepalaan <f@230.to>2014-06-05 18:09:56 +0300
commit39bc2b230b5de771974e174b5b5bbb62b54e6015 (patch)
tree17acad819d7252091dfe4aae7e8d941b9e4b2590 /views
downloadmembrain-39bc2b230b5de771974e174b5b5bbb62b54e6015.tar.gz
membrain-39bc2b230b5de771974e174b5b5bbb62b54e6015.tar.bz2
membrain-39bc2b230b5de771974e174b5b5bbb62b54e6015.zip
Initial commit
Diffstat (limited to 'views')
-rw-r--r--views/form.erb7
-rw-r--r--views/index.erb1
-rw-r--r--views/layout.erb14
3 files changed, 22 insertions, 0 deletions
diff --git a/views/form.erb b/views/form.erb
new file mode 100644
index 0000000..e8171b4
--- /dev/null
+++ b/views/form.erb
@@ -0,0 +1,7 @@
+<form action="" method="post">
+ <div class="form-group">
+ <label for="exampleInputEmail1">Name</label>
+ <input name="name" type="text" class="form-control" placeholder="Name">
+ </div>
+ <button type="submit" class="btn btn-default">Submit</button>
+</form>
diff --git a/views/index.erb b/views/index.erb
new file mode 100644
index 0000000..11ef5a6
--- /dev/null
+++ b/views/index.erb
@@ -0,0 +1 @@
+<a class="btn btn-default" href="add">Create</a>
diff --git a/views/layout.erb b/views/layout.erb
new file mode 100644
index 0000000..a4d059b
--- /dev/null
+++ b/views/layout.erb
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title></title>
+ <link rel="stylesheet" href="/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/css/bootstrap-theme.min.css">
+ </head>
+ <body>
+ <div id="app">
+ <%= yield %>
+ </div>
+ </body>
+ <script src="/js/jquery.min.js"></script>
+ <script src="/js/bootstrap.min.js"></script>
+</html>