diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-09 01:10:52 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-09 01:10:52 -0400 |
| commit | 12f094a1eed167cdb830c9cb73a7085f74d30334 (patch) | |
| tree | 0382fd5bc4e826dac2db3fa5949ef4dcb754ea77 | |
| parent | 587c9f7d3f4ac9efbd8851dad1c2f62b9e7e6e61 (diff) | |
video type, not saving yet
| -rw-r--r-- | examples/index.js | 3 | ||||
| -rw-r--r-- | themes/okadmin/public/css/main.css | 12 |
2 files changed, 14 insertions, 1 deletions
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 { |
