From 12f094a1eed167cdb830c9cb73a7085f74d30334 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 9 Apr 2015 01:10:52 -0400 Subject: video type, not saving yet --- examples/index.js | 3 ++- themes/okadmin/public/css/main.css | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/examples/index.js b/examples/index.js index 3dd3a39..f234cc1 100644 --- a/examples/index.js +++ b/examples/index.js @@ -14,7 +14,8 @@ var app = okcms.createApp({ type: {type: 'string', id: true}, title: {type: 'string'}, description: {type: 'text'}, - color: {type: 'enum', options: ["red","blue","green"]} + color: {type: 'enum', options: ["red","blue","green"]}, + video: {type: 'video'}, } }, diff --git a/themes/okadmin/public/css/main.css b/themes/okadmin/public/css/main.css index aff28fd..3a314a2 100644 --- a/themes/okadmin/public/css/main.css +++ b/themes/okadmin/public/css/main.css @@ -146,6 +146,17 @@ label { padding: 0 0.5em; margin-bottom: 1em; } +.main.resource form .group { + display: block; + float: left; + width: 21em; +} +.main.resource form .group input { + margin-bottom: 0.1em; +} +.main.resource form input[hidden] { + display: none; +} .main.resource form textarea { padding: 0.5em; @@ -158,6 +169,7 @@ label { float: left; padding: 0.5em; font-size: 1.0em; + margin-top: 1.0em; } .disabled { -- cgit v1.2.3-70-g09d2