-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extended the editor to support video backgrounds. Ensure that the art…
…icle ID is stored as an integer and not a string.
- Loading branch information
Showing
5 changed files
with
111 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
<fieldset> | ||
<legend>Video Sources</legend> | ||
<div class="form-group"> | ||
<label class="control-label">MP4</label> | ||
<input name="mp4" data-name="mp4" type="text" class="form-control" value="" /> | ||
</div> | ||
<div class="form-group"> | ||
<label class="control-label">Webm</label> | ||
<input name="webm" data-name="webm" type="text" class="form-control" value="" /> | ||
</div> | ||
</fieldset> | ||
<legend>Video Sources</legend> | ||
<div class="form-group"> | ||
<label class="control-label">MP4</label> | ||
<input name="mp4" data-name="mp4" type="text" class="form-control" value="" /> | ||
</div> | ||
<div class="form-group"> | ||
<label class="control-label">Webm</label> | ||
<input name="webm" data-name="webm" type="text" class="form-control" value="" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,46 @@ | ||
<form class="form-horizontal" data-id=""> | ||
<fieldset> | ||
<legend>Video Background</legend> | ||
<form class="form-horizontal js-VideoBackground" data-id=""> | ||
|
||
<legend>Video Background</legend> | ||
|
||
<fieldset class="js-Format"> | ||
|
||
<div class="form-group"> | ||
<div class="togglebutton"> | ||
<label for="fullpage"> | ||
<input id="fullpage" type="checkbox" class="form-control" checked="checked" /> | ||
<input id="fullpage" data-name="fullpage" type="checkbox" class="form-control" checked="checked" /> | ||
<span class="toggle"></span> | ||
Fullpage | ||
</label> | ||
</div> | ||
</div> | ||
|
||
</fieldset> | ||
|
||
<fieldset> | ||
|
||
{{> title}} | ||
|
||
{{> subtitle}} | ||
|
||
</fieldset> | ||
|
||
<fieldset class="js-VideoSources"> | ||
|
||
{{> videosources}} | ||
|
||
<fieldset> | ||
<legend>Poster Image</legend> | ||
</fieldset> | ||
|
||
{{> image}} | ||
<fieldset class="js-PosterImage"> | ||
|
||
</fieldset> | ||
<legend>Poster Image</legend> | ||
|
||
{{> formcontrols}} | ||
<div class="form-group"> | ||
<label for="loading" class="control-label">Src</label> | ||
<input name="loading" data-name="loading" type="text" class="form-control" value="" /> | ||
</div> | ||
|
||
</fieldset> | ||
|
||
{{> formcontrols}} | ||
|
||
</form> |