diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-13 12:34:50 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-13 12:34:50 -0400 |
| commit | 90b27c7e5aac1b81aac471d07f8f42dccb90d90b (patch) | |
| tree | 6862d0aff31308302a52de06e0beeac2afa8c471 /themes/okadmin/templates/partials | |
| parent | 3b16b2d58f876f6ab4abcdf8012efb2411504940 (diff) | |
styling/debugging
Diffstat (limited to 'themes/okadmin/templates/partials')
| -rw-r--r-- | themes/okadmin/templates/partials/flash.liquid | 9 | ||||
| -rw-r--r-- | themes/okadmin/templates/partials/inputs.liquid | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/themes/okadmin/templates/partials/flash.liquid b/themes/okadmin/templates/partials/flash.liquid index 1980ab5..e51a86b 100644 --- a/themes/okadmin/templates/partials/flash.liquid +++ b/themes/okadmin/templates/partials/flash.liquid @@ -1,8 +1,15 @@ +{% 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"> @@ -10,4 +17,4 @@ </div> {% endfor %} </div> - +{% endif %}
\ No newline at end of file diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index 99258f3..b9cf7a3 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -29,7 +29,7 @@ {% endif %} name="{{name}}"> {% for option in spec.options %} - <option value="{{option}}" {% if option == spec.value %}selected{% endif %}>{{option}}</option> + <option value="{{option}}" {% if option == spec.value %}selected{% endif %}>{{option | capitalize}}</option> {% endfor %} </select> {% elsif type == 'video' %} @@ -56,7 +56,7 @@ </ol> <div class="add-image-button"> <input id="file" type="file" accept="image/*" multiple> - <span>+ Add images</span> + <button>+ Add images</button> </div> <input id="add-image-url" type="text" placeholder="+ Add URL"> <script type="text/html" id="captioned-image-template"> |
