summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {