diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-29 12:13:19 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-29 12:13:19 -0400 |
| commit | d4f9c31a1721fdea6b92ae90ca5c4bd8635fd0cb (patch) | |
| tree | 4c8c73d15c77f4d79313ecb45fc650d43f65235f /themes/okcards | |
| parent | 50fac2191fbf0dd101d6071242c03dfad295b3ed (diff) | |
v0.2.0 - new admin theme
Diffstat (limited to 'themes/okcards')
| -rw-r--r-- | themes/okcards/public/css/main.css | 0 | ||||
| -rw-r--r-- | themes/okcards/public/js/app.js | 15 | ||||
| -rw-r--r-- | themes/okcards/templates/404.liquid | 54 | ||||
| -rw-r--r-- | themes/okcards/templates/5xx.liquid | 54 | ||||
| -rw-r--r-- | themes/okcards/templates/index.liquid | 6 | ||||
| -rw-r--r-- | themes/okcards/templates/partials/app.liquid | 8 | ||||
| -rw-r--r-- | themes/okcards/templates/partials/flash.liquid | 20 | ||||
| -rw-r--r-- | themes/okcards/templates/partials/head.liquid | 13 | ||||
| -rw-r--r-- | themes/okcards/templates/partials/tail.liquid | 9 | ||||
| -rw-r--r-- | themes/okcards/templates/resource.liquid | 6 | ||||
| -rw-r--r-- | themes/okcards/templates/resource_new.liquid | 6 |
11 files changed, 0 insertions, 191 deletions
diff --git a/themes/okcards/public/css/main.css b/themes/okcards/public/css/main.css deleted file mode 100644 index e69de29..0000000 --- a/themes/okcards/public/css/main.css +++ /dev/null diff --git a/themes/okcards/public/js/app.js b/themes/okcards/public/js/app.js deleted file mode 100644 index 1e710e9..0000000 --- a/themes/okcards/public/js/app.js +++ /dev/null @@ -1,15 +0,0 @@ -var app = (function(){ - var app = {} - var cms - - app.init = function(){ - cms = app.cms = new OKCMS ({ ready: app.ready }) - } - app.ready = function(){ - console.log ("READY") - } - - return app -})() - -window.addEventListener("DOMContentLoaded", app.init)
\ No newline at end of file diff --git a/themes/okcards/templates/404.liquid b/themes/okcards/templates/404.liquid deleted file mode 100644 index 87f5342..0000000 --- a/themes/okcards/templates/404.liquid +++ /dev/null @@ -1,54 +0,0 @@ -<!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/okcards/templates/5xx.liquid b/themes/okcards/templates/5xx.liquid deleted file mode 100644 index f245545..0000000 --- a/themes/okcards/templates/5xx.liquid +++ /dev/null @@ -1,54 +0,0 @@ -<!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/okcards/templates/index.liquid b/themes/okcards/templates/index.liquid deleted file mode 100644 index 7dee4be..0000000 --- a/themes/okcards/templates/index.liquid +++ /dev/null @@ -1,6 +0,0 @@ -{% include 'partials/head' %} - -{% include 'partials/flash' %} -{% include 'partials/app' %} - -{% include 'partials/tail' %} diff --git a/themes/okcards/templates/partials/app.liquid b/themes/okcards/templates/partials/app.liquid deleted file mode 100644 index 46c19e4..0000000 --- a/themes/okcards/templates/partials/app.liquid +++ /dev/null @@ -1,8 +0,0 @@ -<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/okcards/templates/partials/flash.liquid b/themes/okcards/templates/partials/flash.liquid deleted file mode 100644 index e51a86b..0000000 --- a/themes/okcards/templates/partials/flash.liquid +++ /dev/null @@ -1,20 +0,0 @@ -{% 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/okcards/templates/partials/head.liquid b/themes/okcards/templates/partials/head.liquid deleted file mode 100644 index e9c27dc..0000000 --- a/themes/okcards/templates/partials/head.liquid +++ /dev/null @@ -1,13 +0,0 @@ -<!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/okcards/templates/partials/tail.liquid b/themes/okcards/templates/partials/tail.liquid deleted file mode 100644 index 7727d69..0000000 --- a/themes/okcards/templates/partials/tail.liquid +++ /dev/null @@ -1,9 +0,0 @@ - </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/okcards/templates/resource.liquid b/themes/okcards/templates/resource.liquid deleted file mode 100644 index 7dee4be..0000000 --- a/themes/okcards/templates/resource.liquid +++ /dev/null @@ -1,6 +0,0 @@ -{% include 'partials/head' %} - -{% include 'partials/flash' %} -{% include 'partials/app' %} - -{% include 'partials/tail' %} diff --git a/themes/okcards/templates/resource_new.liquid b/themes/okcards/templates/resource_new.liquid deleted file mode 100644 index 7dee4be..0000000 --- a/themes/okcards/templates/resource_new.liquid +++ /dev/null @@ -1,6 +0,0 @@ -{% include 'partials/head' %} - -{% include 'partials/flash' %} -{% include 'partials/app' %} - -{% include 'partials/tail' %} |
