2013-08-29 15:34:41 +00:00
|
|
|
|
<templates id="template" xml:space="preserve">
|
2014-06-27 09:03:34 +00:00
|
|
|
|
<t t-name="website.editorbar">
|
|
|
|
|
<div id="website-top-navbar" class="navbar navbar-inverse navbar-fixed-top hidden-xs" style="display: none;">
|
|
|
|
|
<div class="navbar-header" id="website-top-edit">
|
|
|
|
|
<ul class="nav navbar-nav js_editor_placeholder pull-right">
|
|
|
|
|
</ul>
|
|
|
|
|
<form class="navbar-form text-muted">
|
2013-09-02 11:15:51 +00:00
|
|
|
|
<button type="button" data-action="save"
|
2014-06-27 09:03:34 +00:00
|
|
|
|
class="btn btn-primary btn-xs">Save</button>
|
2013-12-11 16:33:05 +00:00
|
|
|
|
or
|
2014-06-27 09:03:34 +00:00
|
|
|
|
<a href="#" data-action="cancel" class="btn btn-link btn-xs">Discard</a>
|
2013-08-29 15:34:41 +00:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2014-06-27 09:03:34 +00:00
|
|
|
|
</div>
|
2013-08-29 15:34:41 +00:00
|
|
|
|
</t>
|
2014-06-27 09:03:34 +00:00
|
|
|
|
|
2013-09-02 07:52:16 +00:00
|
|
|
|
<t t-name="website.editor.dialog">
|
2013-08-30 08:31:18 +00:00
|
|
|
|
<div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2013-09-02 16:51:23 +00:00
|
|
|
|
<h3 class="modal-title"><t t-esc="title"/></h3>
|
2013-08-30 08:31:18 +00:00
|
|
|
|
</div>
|
2013-09-02 07:52:16 +00:00
|
|
|
|
<div class="modal-body"><t t-raw="__content__"/></div>
|
2013-08-30 08:31:18 +00:00
|
|
|
|
<div class="modal-footer">
|
2013-11-27 16:16:27 +00:00
|
|
|
|
<button type="button" class="btn btn-primary save">Save</button>
|
2013-11-06 15:24:12 +00:00
|
|
|
|
<button type="button" class="btn hidden wait" disabled="disabled"/>
|
2013-12-11 16:33:05 +00:00
|
|
|
|
or
|
|
|
|
|
<a href="#" data-dismiss="modal" aria-hidden="true">Discard</a>
|
2013-08-30 08:31:18 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-08-29 15:34:41 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</t>
|
2013-09-13 09:55:32 +00:00
|
|
|
|
<t t-name="website.editor.dialog.link.footer-button">
|
2013-09-16 21:36:42 +00:00
|
|
|
|
<button type="button" class="btn pull-left remove btn-danger">Remove Link</button>
|
2013-09-13 09:55:32 +00:00
|
|
|
|
</t>
|
2013-09-02 07:52:16 +00:00
|
|
|
|
<t t-name="website.editor.dialog.link">
|
|
|
|
|
<t t-call="website.editor.dialog">
|
2013-09-02 16:51:23 +00:00
|
|
|
|
<t t-set="title">Link to</t>
|
2013-09-02 07:52:16 +00:00
|
|
|
|
<form>
|
2013-09-13 09:15:32 +00:00
|
|
|
|
<ul class="list-group">
|
|
|
|
|
<li class="list-group-item form-group active">
|
2013-11-05 08:07:43 +00:00
|
|
|
|
<h4 class="list-group-item-heading">
|
2013-11-13 14:39:34 +00:00
|
|
|
|
<label for="link-page" class="control-label">
|
|
|
|
|
Page
|
2013-09-13 09:15:32 +00:00
|
|
|
|
</label>
|
2013-11-05 08:07:43 +00:00
|
|
|
|
</h4>
|
2013-11-13 14:39:34 +00:00
|
|
|
|
<input class="page form-control url-source"
|
|
|
|
|
id="link-page" type="hidden"/>
|
2013-09-13 09:15:32 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="list-group-item form-group clearfix">
|
2014-07-10 11:34:02 +00:00
|
|
|
|
<div class="pull-right" style="display: none;">
|
2013-09-27 05:17:27 +00:00
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" class="window-new"/>
|
|
|
|
|
Open in new window
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
2013-11-05 08:07:43 +00:00
|
|
|
|
<h4 class="list-group-item-heading">
|
2013-09-13 09:15:32 +00:00
|
|
|
|
<label for="link-external" class="control-label">
|
2014-07-10 11:34:02 +00:00
|
|
|
|
URL or Email Address
|
2013-09-13 09:15:32 +00:00
|
|
|
|
</label>
|
2013-11-05 08:07:43 +00:00
|
|
|
|
</h4>
|
2014-07-10 11:34:02 +00:00
|
|
|
|
<input type="text" class="form-control url email-address url-source"
|
2013-09-13 09:15:32 +00:00
|
|
|
|
id="link-external" placeholder="http://openerp.com"/>
|
2013-09-13 08:40:13 +00:00
|
|
|
|
</li>
|
2014-07-10 11:34:02 +00:00
|
|
|
|
</ul>
|
2014-07-10 13:25:44 +00:00
|
|
|
|
<div class="form-horizontal">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="link-text" class="col-sm-2 control-label">
|
|
|
|
|
Link text
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="text" class="form-control" id="link-text"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-horizontal">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="link-style-type" class="col-sm-2 control-label">
|
|
|
|
|
Style
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-5">
|
|
|
|
|
<select id="link-style-type" class="form-control link-style" style="display: inline-block;">
|
|
|
|
|
<option value="" selected="selected">Link</option>
|
|
|
|
|
<option value="btn-default">Basic</option>
|
|
|
|
|
<option value="btn-primary">Primary</option>
|
|
|
|
|
<option value="btn-success">Success</option>
|
|
|
|
|
<option value="btn-info">Info</option>
|
|
|
|
|
<option value="btn-warning">Warning</option>
|
|
|
|
|
<option value="btn-danger">Danger</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-5">
|
|
|
|
|
<select id="link-style-size" class="form-control link-style" style="display: inline-block;">
|
|
|
|
|
<option value="btn-xs">Extra Small</option>
|
|
|
|
|
<option value="btn-sm">Small</option>
|
|
|
|
|
<option value="" selected="selected">Default</option>
|
|
|
|
|
<option value="btn-lg">Large</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-horizontal">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="link-text" class="col-sm-2 control-label">
|
|
|
|
|
Preview
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-10" style="line-height: 2;">
|
|
|
|
|
<a id="link-preview" href="#"></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-09-24 13:51:20 +00:00
|
|
|
|
</div>
|
2013-09-02 07:52:16 +00:00
|
|
|
|
</form>
|
|
|
|
|
</t>
|
|
|
|
|
</t>
|
2014-03-26 15:58:22 +00:00
|
|
|
|
<t t-name="website.editor.dialog.media">
|
|
|
|
|
<div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
|
2014-03-27 16:03:24 +00:00
|
|
|
|
<div class="modal-dialog select-media">
|
2014-03-26 15:58:22 +00:00
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2014-03-27 16:03:24 +00:00
|
|
|
|
<h3 class="modal-title">Select a Media</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2014-03-26 15:58:22 +00:00
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
|
<li class="active"><a href="#editor-media-image" data-toggle="tab">Image</a></li>
|
|
|
|
|
<li><a href="#editor-media-icon" data-toggle="tab">Pictogram</a></li>
|
|
|
|
|
<li><a href="#editor-media-video" data-toggle="tab">Video</a></li>
|
2014-03-28 10:44:53 +00:00
|
|
|
|
<li class="search" style="float: right;">
|
2014-03-27 16:03:24 +00:00
|
|
|
|
<ul class="pager mb0 mt0">
|
|
|
|
|
<li class="previous disabled"><a href="#">← Previous</a></li>
|
|
|
|
|
<li class="next disabled"><a href="#">Next →</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
2014-03-28 10:44:53 +00:00
|
|
|
|
<li class="search" style="float: right;">
|
2014-03-27 17:14:17 +00:00
|
|
|
|
<form action="#">
|
2014-03-27 16:03:24 +00:00
|
|
|
|
<div class="form-group font-icons fa fa-search mb0">
|
|
|
|
|
<input type="search" class="form-control" id="icon-search"/>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</li>
|
2014-03-26 15:58:22 +00:00
|
|
|
|
</ul>
|
2014-03-27 16:03:24 +00:00
|
|
|
|
|
2014-03-26 15:58:22 +00:00
|
|
|
|
<!-- Tab panes -->
|
|
|
|
|
<div class="tab-content">
|
|
|
|
|
<div class="tab-pane fade in active" id="editor-media-image">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tab-pane fade" id="editor-media-icon">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tab-pane fade" id="editor-media-video">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary save">Save</button>
|
|
|
|
|
<button type="button" class="btn hidden wait" disabled="disabled"/>
|
|
|
|
|
or
|
|
|
|
|
<a href="#" data-dismiss="modal" aria-hidden="true">Discard</a>
|
2013-09-04 11:32:22 +00:00
|
|
|
|
</div>
|
2013-09-13 08:40:13 +00:00
|
|
|
|
</div>
|
2013-09-02 13:49:20 +00:00
|
|
|
|
</div>
|
2014-03-26 15:58:22 +00:00
|
|
|
|
</div>
|
|
|
|
|
</t>
|
|
|
|
|
<t t-name="website.editor.dialog.image">
|
2014-03-27 10:51:03 +00:00
|
|
|
|
<div>
|
2014-03-27 16:03:24 +00:00
|
|
|
|
<form method="POST"
|
|
|
|
|
action="/website/attach"
|
2014-03-26 15:58:22 +00:00
|
|
|
|
enctype="multipart/form-data"
|
2014-03-27 16:03:24 +00:00
|
|
|
|
target="fileframe"
|
|
|
|
|
class="form-inline">
|
2014-03-26 15:58:22 +00:00
|
|
|
|
<div class="well">
|
2014-04-08 09:47:03 +00:00
|
|
|
|
<div class="form-group pull-left">
|
|
|
|
|
<input type="file" name="upload" accept="image/*" style="position: absolute; opacity: 0; width: 1px; height: 1px;"/>
|
|
|
|
|
<button type="button" class="btn btn-primary filepicker">Upload an image from your computer</button>
|
|
|
|
|
<button type="button" class="btn hidden wait" disabled="disabled">Uploading...</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="text-muted"> — or — </span>
|
|
|
|
|
<label for="iamgeurl">Add an image URL</label>
|
2014-04-08 09:36:48 +00:00
|
|
|
|
<div class="form-group btn-group">
|
|
|
|
|
<input type="text" name="url" class="form-control url pull-left" style="width: 320px;" id="iamgeurl" placeholder="http://openerp.com/logo.png"/>
|
|
|
|
|
<button class="btn btn-default" type="submit">Add</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-03-26 15:58:22 +00:00
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" name="func"/>
|
|
|
|
|
<div class="help-block"/>
|
2014-04-07 07:49:22 +00:00
|
|
|
|
<div class="existing-attachments"/>
|
2014-03-26 15:58:22 +00:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<iframe src="about:blank" name="fileframe" class="hidden"/>
|
2013-09-02 07:52:16 +00:00
|
|
|
|
</t>
|
2013-09-04 11:32:22 +00:00
|
|
|
|
<t t-name="website.editor.dialog.image.existing">
|
2013-09-19 16:48:55 +00:00
|
|
|
|
<div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog select-image">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h3 class="modal-title">Select a Picture</h3>
|
|
|
|
|
</div>
|
2014-03-04 11:07:16 +00:00
|
|
|
|
<div class="modal-body has-error">
|
2013-09-19 16:48:55 +00:00
|
|
|
|
<div class="existing-attachments"/>
|
2014-03-04 11:07:16 +00:00
|
|
|
|
<div class="help-block"/>
|
2013-09-19 16:48:55 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2013-12-11 16:33:05 +00:00
|
|
|
|
<a href="#" data-dismiss="modal" aria-hidden="true">Discard</a>
|
2013-09-19 16:48:55 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-09-13 11:41:43 +00:00
|
|
|
|
</t>
|
|
|
|
|
<t t-name="website.editor.dialog.image.existing.content">
|
2013-09-04 11:32:22 +00:00
|
|
|
|
<div class="existing-attachments">
|
2013-09-19 16:48:55 +00:00
|
|
|
|
<div class="row mt16" t-foreach="rows" t-as="row">
|
2014-03-04 11:07:16 +00:00
|
|
|
|
<div class="col-sm-2 existing-attachment-cell"
|
|
|
|
|
t-foreach="row" t-as="attachment">
|
|
|
|
|
<i class="fa fa-times existing-attachment-remove" t-att-data-id="attachment.id"/>
|
2014-03-31 12:09:06 +00:00
|
|
|
|
<img t-att-src="attachment.website_url" t-att-alt="attachment.name" t-att-title="attachment.name" class="img img-responsive"/>
|
2013-09-04 11:32:22 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</t>
|
2014-03-04 11:07:16 +00:00
|
|
|
|
<t t-name="website.editor.dialog.image.existing.error">
|
|
|
|
|
<div class="help-block">
|
|
|
|
|
<p>The image could not be deleted because it is used in the
|
|
|
|
|
following pages or views:</p>
|
|
|
|
|
<ul t-foreach="views" t-as="view">
|
|
|
|
|
<li>
|
|
|
|
|
<a t-attf-href="/web#model=ir.ui.view&id=#{view.id}">
|
|
|
|
|
<t t-esc="view.name"/>
|
2014-04-08 09:53:43 +00:00
|
|
|
|
</a>
|
2014-03-04 11:07:16 +00:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</t>
|
2013-09-06 08:50:45 +00:00
|
|
|
|
<t t-name="website.editor.table.panel">
|
|
|
|
|
<table class="editorbar-panel">
|
|
|
|
|
<tr t-foreach="rows"><td t-foreach="cols">​</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</t>
|
|
|
|
|
<t t-name="website.editor.table">
|
|
|
|
|
<table class="table table-bordered table-responsive">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr t-foreach="rows"><td t-foreach="cols">​</td></tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</t>
|
2013-09-15 11:04:27 +00:00
|
|
|
|
|
2013-12-03 11:13:23 +00:00
|
|
|
|
<t t-name="website.editor.discard">
|
|
|
|
|
<div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h3 class="modal-title">Discard edition</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>
|
|
|
|
|
If you discard the current edition, <em>all</em>
|
|
|
|
|
unsaved changes will be lost.
|
|
|
|
|
</p>
|
|
|
|
|
<p>You can cancel to return to the edition mode.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-danger">Discard</button>
|
2013-12-11 16:33:05 +00:00
|
|
|
|
or
|
|
|
|
|
<a href="#" data-dismiss="modal" aria-hidden="true">Cancel</a>
|
2013-12-03 11:13:23 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</t>
|
|
|
|
|
|
2014-03-27 10:51:03 +00:00
|
|
|
|
<t t-name="website.editor.hoverbutton.link">
|
|
|
|
|
<button contentEditable="false" type="button" class="btn btn-primary hover-edition-button btn-xs">Change</button>
|
|
|
|
|
</t>
|
|
|
|
|
|
2014-03-27 17:14:17 +00:00
|
|
|
|
<t t-name="website.editor.hoverbutton.media">
|
2014-03-27 10:51:03 +00:00
|
|
|
|
<div contentEditable="false" class="hover-edition dropdown">
|
|
|
|
|
<a class="btn btn-primary btn-sm" data-toggle="dropdown" href="#">Customize</a>
|
|
|
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
|
|
|
|
<li><a href="#" class="hover-edition-button">Change Media</a></li>
|
|
|
|
|
<li><a href="#" class="hover-style-button">Style</a></li>
|
2014-03-27 17:14:17 +00:00
|
|
|
|
<li class="dropdown-submenu">
|
|
|
|
|
<a href="#" tabindex="-1">Rotation</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li data-value="fa-spin"><a>Spin</a></li>
|
|
|
|
|
<li data-value="fa-flip-horizontal"><a>Horizontal flip</a></li>
|
|
|
|
|
<li data-value="fa-flip-vertical"><a>Vertical flip</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<li><a href="#" data-value="fa-border">border</a></li>
|
2014-03-27 10:51:03 +00:00
|
|
|
|
</ul>
|
2014-03-26 14:16:29 +00:00
|
|
|
|
</div>
|
2013-12-04 10:52:12 +00:00
|
|
|
|
</t>
|
|
|
|
|
|
2014-01-16 09:47:47 +00:00
|
|
|
|
<t t-name="website.editor.dialog.font-icons">
|
2014-03-28 10:44:53 +00:00
|
|
|
|
<form action="#">
|
|
|
|
|
<input type="hidden" id="fa-icon"/>
|
|
|
|
|
<input type="hidden" id="fa-size"/>
|
2014-03-27 16:03:24 +00:00
|
|
|
|
<div class="font-icons-icons">
|
|
|
|
|
<t t-call="website.editor.dialog.font-icons.icons">
|
|
|
|
|
<t t-set="icons" t-value="widget.icons"/>
|
|
|
|
|
</t>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group mt32" id="fa-preview">
|
|
|
|
|
|
2014-03-26 15:58:22 +00:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
2014-01-16 09:47:47 +00:00
|
|
|
|
</t>
|
2014-01-21 10:04:08 +00:00
|
|
|
|
<t t-name="website.editor.dialog.font-icons.icons">
|
|
|
|
|
<span t-foreach="icons" t-as="icon"
|
|
|
|
|
class="fa font-icons-icon"
|
|
|
|
|
t-att-data-id="icon.id">
|
|
|
|
|
<t t-esc="icon.text"/>
|
|
|
|
|
</span>
|
|
|
|
|
</t>
|
2014-01-16 09:47:47 +00:00
|
|
|
|
|
2014-03-28 10:44:53 +00:00
|
|
|
|
<t t-name="website.editor.dialog.video">
|
|
|
|
|
<form action="#" class="form-inline">
|
|
|
|
|
<div class="well">
|
2014-04-07 08:11:59 +00:00
|
|
|
|
<div class="form-group btn-group">
|
|
|
|
|
<span class="text-muted pull-right" style="margin-left:10px; line-height: 2em;">(Youtube, Vimeo, Dailymotion)</span>
|
2014-04-07 14:49:14 +00:00
|
|
|
|
<label for="urlvideo" style="width: 220px; line-height: 2em;" class="pull-left">Set a video URL</label>
|
2014-03-28 10:44:53 +00:00
|
|
|
|
<input type="text"
|
|
|
|
|
name="url"
|
2014-04-07 08:11:59 +00:00
|
|
|
|
class="form-control url pull-left"
|
2014-03-28 10:44:53 +00:00
|
|
|
|
style="width: 400px;"
|
|
|
|
|
id="urlvideo"
|
2014-04-08 09:36:48 +00:00
|
|
|
|
placeholder="//www.youtube.com/embed/yws1tbgNV7k"/>
|
|
|
|
|
<button class="btn btn-default">Preview</button>
|
2014-03-28 10:44:53 +00:00
|
|
|
|
</div>
|
2014-04-07 08:11:59 +00:00
|
|
|
|
<div class="form-group btn-group">
|
2014-04-07 14:49:14 +00:00
|
|
|
|
<label for="urlvideo" style="width: 220px; line-height: 2em;" class="pull-left"><span class="text-muted">— or —</span> Embed Video (HTML)</label>
|
2014-03-31 13:55:58 +00:00
|
|
|
|
<input type="text"
|
|
|
|
|
name="embed"
|
2014-04-07 08:11:59 +00:00
|
|
|
|
class="form-control url pull-left"
|
2014-03-31 13:55:58 +00:00
|
|
|
|
style="width: 400px;"
|
|
|
|
|
id="embedvideo"
|
|
|
|
|
placeholder='<iframe src="//www.youtube.com/embed/yws1tbgNV7k"></iframe>'/>
|
2014-04-08 09:36:48 +00:00
|
|
|
|
<button class="btn btn-default">Preview</button>
|
2014-03-31 13:55:58 +00:00
|
|
|
|
</div>
|
2014-03-28 10:44:53 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="video-preview" style="width: 450px; margin: 0 auto;">
|
|
|
|
|
<div class="media_iframe_video">
|
|
|
|
|
<iframe
|
2014-04-08 09:36:48 +00:00
|
|
|
|
src=""
|
2014-03-28 10:44:53 +00:00
|
|
|
|
frameborder="0"
|
|
|
|
|
allowfullscreen="allowfullscreen"></iframe>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2014-04-08 09:36:48 +00:00
|
|
|
|
<input type="hidden" id="video_id" value=""/>
|
|
|
|
|
<input type="hidden" id="video_type" value=""/>
|
2014-03-28 10:44:53 +00:00
|
|
|
|
|
|
|
|
|
<div class="text-center mt32">
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<label><input type="checkbox" id="autoplay"/> Autoplay</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</t>
|
|
|
|
|
|
2013-08-29 15:34:41 +00:00
|
|
|
|
</templates>
|