summaryrefslogtreecommitdiff
path: root/views/controls/editor/media-editor.ejs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-07-11 17:07:05 -0400
committerJules Laplace <jules@okfoc.us>2014-07-11 17:07:05 -0400
commit9a2cfe7da6808a04b7c668075e9e9598ddb5ae04 (patch)
tree2cdc8c411c67f0f3b54fc65a3dc1b4b5b95e7731 /views/controls/editor/media-editor.ejs
parentbce442242f167b70be1f7b24190f9e59d3c24e37 (diff)
basic media editor
Diffstat (limited to 'views/controls/editor/media-editor.ejs')
-rw-r--r--views/controls/editor/media-editor.ejs30
1 files changed, 19 insertions, 11 deletions
diff --git a/views/controls/editor/media-editor.ejs b/views/controls/editor/media-editor.ejs
index 95aabb5..483fa72 100644
--- a/views/controls/editor/media-editor.ejs
+++ b/views/controls/editor/media-editor.ejs
@@ -1,4 +1,4 @@
-<div class="vvbox settings" id="editorMediaSettings">
+<div class="vvbox settings" id="mediaEditor">
<input type="hidden" name="_csrf" value="[[- token ]]">
<input type="hidden" name="_id" value="new">
@@ -15,24 +15,32 @@
<span class="ion-play"></span>
<span class="ion-pause"></span>
</span>
-
<!--
ion-volume-high
ion-volume-mute
-->
-
- <input type="checkbox" name="autoplay" value="1"> Autoplay
- <input type="checkbox" name="loop" value="1"> Loop
- <input type="checkbox" name="mute" value="1"> Mute
- <input type="range" min="0" max="1" name="keyframe"> Initial Still
+ </div>
+ <div class="video setting">
+ <input type="checkbox" name="autoplay" value="1" id="video_autoplay">
+ <label for="video_autoplay">Autoplay</label>
+ <input type="checkbox" name="loop" value="1" id="video_loop">
+ <label for="video_loop">Loop</label>
+ <input type="checkbox" name="mute" value="1" id="video_mute">
+ <label for="video_mute">Mute</label>
+ </div>
+
+ <div class="video setting">
+ Initial Still
+ <br>
+ <input type="range" min="0" max="1" value="0" step="0.01" name="keyframe">
</div>
<div class="image setting">
- Dimensions
- <input type="text" name="width"> Width
- <input type="text" name="height"> Height
+ Dimensions<br>
+ <input type="text" name="width" placeholder="width" class="number">
+ <input type="text" name="height" placeholder="height" class="number">
<select name="units">
- <option value="inches">in</option>
+ <option value="inch">inch</option>
<option value="cm">cm</option>
</select>
</div>