summaryrefslogtreecommitdiff
path: root/themes/test/templates
diff options
context:
space:
mode:
Diffstat (limited to 'themes/test/templates')
-rw-r--r--themes/test/templates/404.liquid54
-rw-r--r--themes/test/templates/5xx.liquid54
-rw-r--r--themes/test/templates/index.liquid6
-rw-r--r--themes/test/templates/partials/app.liquid8
-rw-r--r--themes/test/templates/partials/flash.liquid20
-rw-r--r--themes/test/templates/partials/head.liquid13
-rw-r--r--themes/test/templates/partials/tail.liquid9
-rw-r--r--themes/test/templates/resource.liquid6
-rw-r--r--themes/test/templates/resource_new.liquid6
9 files changed, 176 insertions, 0 deletions
diff --git a/themes/test/templates/404.liquid b/themes/test/templates/404.liquid
new file mode 100644
index 0000000..87f5342
--- /dev/null
+++ b/themes/test/templates/404.liquid
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>404</title>
+ <style type="text/css">
+ html, body {
+ margin: 0;
+ padding: 0;
+ font-family: "Helvetica", sans-serif;
+ background-image: url('http://okfoc.us/assets/images/photocopy.png');
+ background-position: bottom center;
+ background-repeat: repeat;
+ background-attachment: scroll;
+ height: 100%;
+ font-size: 1.75em;
+ font-weight: bold;
+ color: #FFFFFF;
+ }
+
+ a {
+ color: #8888FF;
+ text-decoration: none;
+ }
+
+ a:hover {
+ border-bottom: 3px solid #8888FF;
+ }
+
+ a:visited {
+ color: #8888FF;
+ }
+
+ .message {
+ width: 700px;
+ padding: 1em 1em 1em 1em;
+ background-color: #0000FF;
+ margin: 0 auto;
+ margin-top: 1em;
+ }
+
+ .message p:first-child {
+ margin-top: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="message">
+ <p>¯\_(ツ)_/¯</p>
+ <p>We couldn't find that page.</p>
+ <p>Sure you have the right URL?</p>
+ <a href="javascript:history.back()">Back</a>
+ </div>
+ </body>
+</html>
diff --git a/themes/test/templates/5xx.liquid b/themes/test/templates/5xx.liquid
new file mode 100644
index 0000000..f245545
--- /dev/null
+++ b/themes/test/templates/5xx.liquid
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>404</title>
+ <style type="text/css">
+ html, body {
+ margin: 0;
+ padding: 0;
+ font-family: "Helvetica", sans-serif;
+ background-image: url('http://okfoc.us/assets/images/photocopy.png');
+ background-position: bottom center;
+ background-repeat: repeat;
+ background-attachment: scroll;
+ height: 100%;
+ font-size: 1.75em;
+ font-weight: bold;
+ color: #FFFFFF;
+ }
+
+ a {
+ color: #8888FF;
+ text-decoration: none;
+ }
+
+ a:hover {
+ border-bottom: 3px solid #8888FF;
+ }
+
+ a:visited {
+ color: #8888FF;
+ }
+
+ .message {
+ width: 700px;
+ padding: 0 1em 1em 1em;
+ background-color: #0000FF;
+ margin: 0 auto;
+ margin-top: 1em;
+ }
+
+ .message p:first-child {
+ margin-top: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="message">
+ <p>(;一_一)</p>
+ <p>Looks like we experienced an error.</p>
+ <p>Sorry about that. Maybe try again later.</p>
+ <a href="javascript:history.back()">Back</a>
+ </div>
+ </body>
+</html>
diff --git a/themes/test/templates/index.liquid b/themes/test/templates/index.liquid
new file mode 100644
index 0000000..7dee4be
--- /dev/null
+++ b/themes/test/templates/index.liquid
@@ -0,0 +1,6 @@
+{% include 'partials/head' %}
+
+{% include 'partials/flash' %}
+{% include 'partials/app' %}
+
+{% include 'partials/tail' %}
diff --git a/themes/test/templates/partials/app.liquid b/themes/test/templates/partials/app.liquid
new file mode 100644
index 0000000..46c19e4
--- /dev/null
+++ b/themes/test/templates/partials/app.liquid
@@ -0,0 +1,8 @@
+<script type="text/html" id="stack-template">
+</script>
+
+<script type="text/html" id="card-template">
+</script>
+
+<div id="stacks">
+</div> \ No newline at end of file
diff --git a/themes/test/templates/partials/flash.liquid b/themes/test/templates/partials/flash.liquid
new file mode 100644
index 0000000..e51a86b
--- /dev/null
+++ b/themes/test/templates/partials/flash.liquid
@@ -0,0 +1,20 @@
+{% if success.length > 0 %}
+<div class="success">
+ <div class="message">Changes saved.</div>
+ <!--
+ {% for info in success %}
+ <div class="message">{{info.action}}</div>
+ {% endfor %}
+ -->
+</div>
+{% endif %}
+
+{% if errors.length > 0 %}
+<div class="errors">
+ {% for error in errors %}
+ <div class="error">
+ <div class="message">{{error.message}}</div>
+ </div>
+ {% endfor %}
+</div>
+{% endif %} \ No newline at end of file
diff --git a/themes/test/templates/partials/head.liquid b/themes/test/templates/partials/head.liquid
new file mode 100644
index 0000000..e9c27dc
--- /dev/null
+++ b/themes/test/templates/partials/head.liquid
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf8">
+ <title>{{meta.project}} Admin</title>
+ <link rel="stylesheet" href="{{meta.static}}/css/main.css">
+ </head>
+ <body>
+ <header class="admin-header">
+ <span class="breadcrumb"><b>{{meta.project}}</b> Admin</span>
+ <a class="site-link" href="/">View Site</a>
+ </header>
+ <div class="container"> \ No newline at end of file
diff --git a/themes/test/templates/partials/tail.liquid b/themes/test/templates/partials/tail.liquid
new file mode 100644
index 0000000..7727d69
--- /dev/null
+++ b/themes/test/templates/partials/tail.liquid
@@ -0,0 +1,9 @@
+ </body>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
+ <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/3.6.0/lodash.min.js"></script>
+ <script src="/admin/_lib/js/jqueryui-draggable.js"></script>
+ <script src="/admin/_lib/js/upload.js"></script>
+ <script src="/admin/_lib/js/parser.js"></script>
+ <script src="/admin/_lib/js/okcms.js"></script>
+ <script src="/admin/js/app.js"></script>
+</html>
diff --git a/themes/test/templates/resource.liquid b/themes/test/templates/resource.liquid
new file mode 100644
index 0000000..7dee4be
--- /dev/null
+++ b/themes/test/templates/resource.liquid
@@ -0,0 +1,6 @@
+{% include 'partials/head' %}
+
+{% include 'partials/flash' %}
+{% include 'partials/app' %}
+
+{% include 'partials/tail' %}
diff --git a/themes/test/templates/resource_new.liquid b/themes/test/templates/resource_new.liquid
new file mode 100644
index 0000000..7dee4be
--- /dev/null
+++ b/themes/test/templates/resource_new.liquid
@@ -0,0 +1,6 @@
+{% include 'partials/head' %}
+
+{% include 'partials/flash' %}
+{% include 'partials/app' %}
+
+{% include 'partials/tail' %}