From 21acb55cb3b80b695c1885153081d245001b2ecf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 9 Apr 2015 02:46:57 -0400 Subject: ç§§ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/db.json | 13 +------------ themes/okadmin/public/css/main.css | 11 +++++++++++ themes/okadmin/templates/partials/inputs.liquid | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/db.json b/examples/db.json index 1061086..cede8bc 100644 --- a/examples/db.json +++ b/examples/db.json @@ -27,18 +27,7 @@ "id": "bagel", "title": "nice", "color": "blue", - "images": [ - { - "uri": [ - "http://del.h-cdn.co/assets/cm/15/10/54f928d7ada8d_-_1347910942518.jpg", - "https://ltho.s3.amazonaws.com/45c29c6d-2832-46f1-b0d3-6f847b6f42e4.png" - ], - "caption": [ - "boop", - "Errorrrrr" - ] - } - ], + "images": [], "video": { "url": "https://vimeo.com/112498725", "type": "vimeo", diff --git a/themes/okadmin/public/css/main.css b/themes/okadmin/public/css/main.css index 23a82d2..982d6ad 100644 --- a/themes/okadmin/public/css/main.css +++ b/themes/okadmin/public/css/main.css @@ -255,6 +255,17 @@ li.image-element:hover .remove-image { display: none; } + +.errors { + background: white; + padding: 10px; + width: 100%; + line-height: 1.4em; +} +.errors .message { + color: red; +} + .clear { clear: both; } diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index 41cb3df..9710b8f 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -43,15 +43,15 @@
    {% for image in spec.value %}
  1. - - + + {{image.caption}}
  2. {% endfor %}
- + + Add images