summaryrefslogtreecommitdiff
path: root/themes/okadmin/templates
diff options
context:
space:
mode:
Diffstat (limited to 'themes/okadmin/templates')
-rw-r--r--themes/okadmin/templates/partials/head.liquid2
-rw-r--r--themes/okadmin/templates/resource.liquid10
-rw-r--r--themes/okadmin/templates/resource_new.liquid10
3 files changed, 13 insertions, 9 deletions
diff --git a/themes/okadmin/templates/partials/head.liquid b/themes/okadmin/templates/partials/head.liquid
index 86915a4..3af59fd 100644
--- a/themes/okadmin/templates/partials/head.liquid
+++ b/themes/okadmin/templates/partials/head.liquid
@@ -7,7 +7,7 @@
</head>
<body>
<header class="admin-header">
- <span class="breadcrumb">Admin</span>
+ <span class="breadcrumb"><b>{{meta.title}}</b> Admin</span>
<a class="site-link" href="/">View Site</a>
</header>
<div class="container">
diff --git a/themes/okadmin/templates/resource.liquid b/themes/okadmin/templates/resource.liquid
index 9c1b71c..2a6d2ce 100644
--- a/themes/okadmin/templates/resource.liquid
+++ b/themes/okadmin/templates/resource.liquid
@@ -1,13 +1,15 @@
{% include 'partials/head' %}
+<nav>
+ <a href="../..">Back</a>
+</nav>
+
<section class="resource main">
- <nav>
- <a href="../..">Back</a>
- </nav>
+ <h2>EDIT {{ resource.type }} {{ resource.spec.title.id }}</h2>
<form action="." method="POST">
<input type="hidden" name="_method" value="PUT">
{% include 'partials/inputs' %}
- <button type="submit">Save</button>
+ <label>&nbsp;</label><button type="submit">Save</button>
<div class="clear"></div>
</form>
</section>
diff --git a/themes/okadmin/templates/resource_new.liquid b/themes/okadmin/templates/resource_new.liquid
index 1e414be..400d670 100644
--- a/themes/okadmin/templates/resource_new.liquid
+++ b/themes/okadmin/templates/resource_new.liquid
@@ -1,13 +1,15 @@
{% include 'partials/head' %}
+<nav>
+ <a href="../..">Back</a>
+</nav>
+
<section class="main resource resource-new">
- <nav>
- <a href="../..">Back</a>
- </nav>
+ <h2>NEW {{ resource.type }}</h2>
<form action=".." method="POST">
<input type="hidden" name="_method" value="POST">
{% include 'partials/inputs' %}
- <button type="submit">Create</button>
+ <label>&nbsp;</label><button type="submit">Create</button>
<div class="clear"></div>
</form>
</section>