[IMP] website: media editor: insert add button for video loader

bzr revid: chm@openerp.com-20140407081159-434frpfqhe1zqrc0
This commit is contained in:
chm@openerp.com
2014-04-07 10:11:59 +02:00
parent ee4b879536
commit 2f7950f19f
2 changed files with 21 additions and 15 deletions
@@ -299,27 +299,27 @@
<t t-name="website.editor.dialog.video">
<form action="#" class="form-inline">
<div class="well">
<div class="form-group">
<label for="urlvideo" style="width: 200px;">Video URL</label>
<div class="form-group btn-group">
<span class="text-muted pull-right" style="margin-left:10px; line-height: 2em;">(Youtube, Vimeo, Dailymotion)</span>
<label for="urlvideo" style="width: 180px; line-height: 2em;" class="pull-left">Video URL</label>
<input type="text"
name="url"
class="form-control url"
class="form-control url pull-left"
style="width: 400px;"
id="urlvideo"
placeholder="http://openerp.com"
value="//www.youtube.com/embed/yws1tbgNV7k"/>
<span class="text-muted">
(Youtube, Vimeo, Dailymotion)
</span>
<button class="btn btn-primary">Add</button>
</div>
<div class="form-group">
<label for="urlvideo" style="width: 200px;">Html Embed Video</label>
<div class="form-group btn-group">
<label for="urlvideo" style="width: 180px; line-height: 2em;" class="pull-left">Html Embed Video</label>
<input type="text"
name="embed"
class="form-control url"
class="form-control url pull-left"
style="width: 400px;"
id="embedvideo"
placeholder='&lt;iframe src="//www.youtube.com/embed/yws1tbgNV7k"&gt;&lt;/iframe&gt;'/>
<button class="btn btn-primary">Add</button>
</div>
</div>