diff options
Diffstat (limited to 'views/controls/editor/media-editor.ejs')
| -rw-r--r-- | views/controls/editor/media-editor.ejs | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/views/controls/editor/media-editor.ejs b/views/controls/editor/media-editor.ejs new file mode 100644 index 0000000..5db1fb2 --- /dev/null +++ b/views/controls/editor/media-editor.ejs @@ -0,0 +1,50 @@ +<div class="vvbox settings" id="mediaEditor"> + <input type="hidden" name="_csrf" value="[[- token ]]"> + <input type="hidden" name="_id" value="new"> + + <div class="setting"> + <input type="text" name="name" placeholder="media title"> + </div> + + <div class="setting"> + <textarea name="description" placeholder="short description"></textarea> + </div> + + <div class="video setting"> + <span class="playButton" data-role="play-media"> + <span class="on icon-play"></span> + <span class="off icon-pause"></span> + </span> +<!-- + ion-volume-high + ion-volume-mute + --> + </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"> + <label for="video-keyframe">Initial Still</label> + <br> + <input type="range" min="0" max="1" value="0" step="0.01" name="keyframe" id="video-keyframe"> + </div> + + <div class="image setting"> + 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="inch">inch</option> + <option value="cm">cm</option> + </select> + </div> + + <div class="setting subButtons"> + <a href="#" data-role="destroy-media">Delete</a> + </div> +</div> |
