aboutsummaryrefslogtreecommitdiff
path: root/partials
diff options
context:
space:
mode:
Diffstat (limited to 'partials')
-rw-r--r--partials/common/404.html5
-rw-r--r--partials/common/header.html10
-rw-r--r--partials/common/layout.html4
-rw-r--r--partials/dashboard/dashboard.html6
-rw-r--r--partials/login/login.html4
-rw-r--r--partials/test/test.html3
6 files changed, 32 insertions, 0 deletions
diff --git a/partials/common/404.html b/partials/common/404.html
new file mode 100644
index 0000000..9f2ec88
--- /dev/null
+++ b/partials/common/404.html
@@ -0,0 +1,5 @@
+<div>
+ <h1>
+ <center>404 page not found</center>
+ </h1>
+</div>
diff --git a/partials/common/header.html b/partials/common/header.html
new file mode 100644
index 0000000..9764c12
--- /dev/null
+++ b/partials/common/header.html
@@ -0,0 +1,10 @@
+<span id="header">
+<div>
+ <ul>
+ <li><a href="#/app/login">Login</a></li>
+ <li><a href="#/app/layout/dashboard">Dashboard</a></li>
+ <li><a href="#/app/layout/test">Test</a></li>
+
+ </ul>
+</div>
+</span>
diff --git a/partials/common/layout.html b/partials/common/layout.html
new file mode 100644
index 0000000..fbb3a26
--- /dev/null
+++ b/partials/common/layout.html
@@ -0,0 +1,4 @@
+<div>
+ <label for="">I'm from layout</label>
+</div>
+{% block content %}{% endblock %}
diff --git a/partials/dashboard/dashboard.html b/partials/dashboard/dashboard.html
new file mode 100644
index 0000000..63329a9
--- /dev/null
+++ b/partials/dashboard/dashboard.html
@@ -0,0 +1,6 @@
+{% extends "partials/common/layout.html" %}
+{% block content %}
+<div>
+ <h2>DASHBOARD</h2>
+</div>
+{% endblock %}
diff --git a/partials/login/login.html b/partials/login/login.html
new file mode 100644
index 0000000..480d3b0
--- /dev/null
+++ b/partials/login/login.html
@@ -0,0 +1,4 @@
+<h2>LOGIN PAGE</h2>
+<label for="">See no headers</label>
+
+<li><a href="#/app/layout/dashboard">Go to Dashboard</a></li>
diff --git a/partials/test/test.html b/partials/test/test.html
new file mode 100644
index 0000000..bdd83e7
--- /dev/null
+++ b/partials/test/test.html
@@ -0,0 +1,3 @@
+{% block content %}
+<h1>HELLO</h1>
+{% endblock %} \ No newline at end of file