summaryrefslogtreecommitdiff
path: root/client/templates
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-09 18:53:48 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-09 18:53:48 +0300
commit58b4bc50d64ea8b664a2f023eb5889c640ec9a0f (patch)
tree0da99fe5743fa3ddae1a921b8425caedcd860cc3 /client/templates
parentd0d37fb74d1509934dea97eff3ed2f3c87098286 (diff)
Login, logout and simple routing
Diffstat (limited to 'client/templates')
-rw-r--r--client/templates/layout.html5
-rw-r--r--client/templates/login.html4
-rw-r--r--client/templates/main.html3
-rw-r--r--client/templates/one.html3
-rw-r--r--client/templates/two.html3
5 files changed, 18 insertions, 0 deletions
diff --git a/client/templates/layout.html b/client/templates/layout.html
new file mode 100644
index 0000000..b9678a3
--- /dev/null
+++ b/client/templates/layout.html
@@ -0,0 +1,5 @@
+<template name="layout">
+ <h1>Colors</h1>
+ <button class="logout">logout</button>
+{{> yield}}
+</template>
diff --git a/client/templates/login.html b/client/templates/login.html
new file mode 100644
index 0000000..1f42513
--- /dev/null
+++ b/client/templates/login.html
@@ -0,0 +1,4 @@
+<template name="login">
+ <h2>Welcome</h2>
+ <button class="login-instagram">Sign in with Instagram</button>
+</template>
diff --git a/client/templates/main.html b/client/templates/main.html
new file mode 100644
index 0000000..afd997f
--- /dev/null
+++ b/client/templates/main.html
@@ -0,0 +1,3 @@
+<head>
+ <title>Colors</title>
+</head>
diff --git a/client/templates/one.html b/client/templates/one.html
new file mode 100644
index 0000000..740ade0
--- /dev/null
+++ b/client/templates/one.html
@@ -0,0 +1,3 @@
+<template name="one">
+ <h1>one</h1>
+</template>
diff --git a/client/templates/two.html b/client/templates/two.html
new file mode 100644
index 0000000..4e46932
--- /dev/null
+++ b/client/templates/two.html
@@ -0,0 +1,3 @@
+<template name="two">
+ <h1>two</h1>
+</template>