diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-29 16:27:45 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-29 16:27:45 -0400 |
| commit | 8952389c16bd1b9c732a1afd985214cec40a6c2d (patch) | |
| tree | b0be6f2be6b98c16ba77178fa5c671ae35fc2f46 /themes/okadmin/templates/index.liquid | |
| parent | c2f44d6af3b2bf4e1b45f9fba87b7882192312b1 (diff) | |
column bizness
Diffstat (limited to 'themes/okadmin/templates/index.liquid')
| -rw-r--r-- | themes/okadmin/templates/index.liquid | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid index ebb1bde..d2ae557 100644 --- a/themes/okadmin/templates/index.liquid +++ b/themes/okadmin/templates/index.liquid @@ -29,13 +29,11 @@ </header> <ol class="resource-list"> {% for data in members %} - <li> - {% if data.disabled %} <del> {% endif %} - <a href="{{resource.type}}/{{data.id}}/">{{data.title}}</a> - {% if data.disabled %} </del> {% endif %} + <a href="{{resource.type}}/{{data.id}}/" {% if data.disabled %}class="disabled"{% endif %}> + {{data.title}} <input class="resource-input" type="hidden" name="{{resource.type}}[{{increment i}}]" value='{{data | stringify | escape_once}}'> - </li> + </a> {% endfor %} </ol> <footer> @@ -53,13 +51,11 @@ {% else %} <ol class="resource-list"> {% for data in resource.data %} - <li> - {% if data.disabled %} <del> {% endif %} - <a href="{{resource.type}}/{{data.id}}/">{{data.title}}</a> - {% if data.disabled %} </del> {% endif %} + <a href="{{resource.type}}/{{data.id}}/" {% if data.disabled %}class="disabled"{% endif %}> + {{data.title}} <input class="resource-input" type="hidden" name="{{resource.type}}[{{forloop.index0}}]" value='{{data | stringify | escape_once}}'> - </li> + </a> {% endfor %} </ol> <footer> |
