diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-08 19:56:21 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-08 19:56:21 -0400 |
| commit | fe1ea91f73059c146369ccb2404fcaf6d03d2f4d (patch) | |
| tree | 9b8c5e37821e147048e5d1ddbe5435af47716949 /themes/okadmin/templates/index.liquid | |
| parent | 0c6d7edc0042464c8f05d38e6933186719dd259e (diff) | |
| parent | 32f87fcb58466e0e311349f96751c18e2a2cd7ea (diff) | |
k
Diffstat (limited to 'themes/okadmin/templates/index.liquid')
| -rw-r--r-- | themes/okadmin/templates/index.liquid | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid new file mode 100644 index 0000000..95c64dd --- /dev/null +++ b/themes/okadmin/templates/index.liquid @@ -0,0 +1,26 @@ +{% include 'partials/head' %} + +<section class="index main"> + {% for pair in resources %} + {% assign name = pair[0] %} + {% assign resource = pair[1] %} + {% assign spec = resource.spec %} + + <section class="resource-category {{name}}"> + <header> + <h2>{{name | capitalize}}</h2> + </header> + <ul class="resource-list"> + {% for data in resource.data %} + <li><a href="{{resource.type}}/{{data.id}}/">{{data.id}}</a></li> + {% endfor %} + </ul> + <footer> + <a class="add-new" href="{{resource.type}}/new/">+</a> + </footer> + </section> + + {% endfor %} +</section> + +{% include 'partials/tail' %} |
