alltube/templates/index.tpl

30 lines
1.2 KiB
Smarty
Raw Normal View History

2015-04-11 20:08:24 +00:00
<div class="main">
2016-05-01 18:14:58 +00:00
<div><img class="logo" src="{base_url|noscheme}/img/logo.png"
2015-04-11 20:08:24 +00:00
alt="AllTube Download" width="328" height="284"></div>
2016-03-29 23:39:47 +00:00
<form action="{path_for name="video"}">
2015-04-11 20:08:24 +00:00
<label class="labelurl" for="url">
Copy here the URL of your video (Youtube, Dailymotion, etc.)
</label>
<div class="champs">
<span class="URLinput_wrapper">
<input class="URLinput" type="url" name="url" id="url"
2015-06-13 15:59:09 +00:00
required autofocus placeholder="http://example.com/video" />
2015-04-11 20:08:24 +00:00
</span>
<input class="downloadBtn" type="submit" value="Download" /><br/>
{if $convert}
<div class="mp3">
<p><input type="checkbox" id="audio" class="audio" name="audio">
<label for="audio"><span class="ui"></span>
Audio only (MP3)</label></p>
</div>
{/if}
</div>
</form>
2016-03-29 23:39:47 +00:00
<a class="combatiblelink" href="{path_for name="extractors"}">See all supported websites</a>
2015-10-28 10:57:44 +00:00
<div id="bookmarklet">
<p> Drag this to your bookmarks bar: </p>
2016-04-06 11:19:27 +00:00
<a class="bookmarklet" href="javascript:window.location='{base_url|noscheme}{path_for name='video'}?url='+encodeURIComponent(location.href);">Bookmarklet</a>
2015-10-28 10:57:44 +00:00
</div>
2015-10-28 10:54:35 +00:00
2015-04-11 20:08:24 +00:00
</div>