summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-09 01:10:52 -0400
committerJules Laplace <jules@okfoc.us>2015-04-09 01:10:52 -0400
commit12f094a1eed167cdb830c9cb73a7085f74d30334 (patch)
tree0382fd5bc4e826dac2db3fa5949ef4dcb754ea77
parent587c9f7d3f4ac9efbd8851dad1c2f62b9e7e6e61 (diff)
video type, not saving yet
-rw-r--r--examples/index.js3
-rw-r--r--themes/okadmin/public/css/main.css12
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 {