alltube/templates/index.tpl

44 lines
2 KiB
Smarty
Raw Normal View History

2016-07-31 23:01:10 +00:00
{include file='inc/head.tpl'}
{include file='inc/header.tpl'}
<main class="main">
<div><img class="logo" src="{base_url}/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">
2017-05-26 06:55:04 +00:00
{t}Copy here the URL of your video (Youtube, Dailymotion, etc.){/t}
2015-04-11 20:08:24 +00:00
</label>
<div class="champs">
<span class="URLinput_wrapper">
<!-- We used to have an autofocus attribute on this field but it triggerd a very specific CSS bug: https://github.com/Rudloff/alltube/issues/117 -->
<input class="URLinput large-font" type="url" name="url" id="url"
required placeholder="http://example.com/video" />
2015-04-11 20:08:24 +00:00
</span>
{if $config->uglyUrls}
<input type="hidden" name="page" value="video" />
{/if}
2017-06-01 09:25:59 +00:00
<input class="downloadBtn large-font" type="submit" value="{t}Download{/t}" /><br/>
{if $config->convert}
2017-06-01 09:25:59 +00:00
<div class="mp3 small-font">
2018-07-03 17:47:35 +00:00
<div class="mp3-inner">
<input type="checkbox" id="audio" class="audio" name="audio">
<label for="audio"><span class="ui"></span>
{t}Audio only (MP3){/t}
</label>
<div class="seekOptions">
From <input type="text" placeholder="00:00:00" value="" name="from" />
to <input type="text" placeholder="00:22:30" value="" name="to" />
</div>
</div>
2015-04-11 20:08:24 +00:00
</div>
{/if}
</div>
</form>
2017-06-01 09:25:59 +00:00
<a class="combatiblelink small-font" href="{path_for name="extractors"}">{t}See all supported websites{/t}</a>
2016-07-10 11:12:44 +00:00
<div id="bookmarklet" class="bookmarklet_wrapper">
2017-05-26 06:55:04 +00:00
<p> {t}Drag this to your bookmarks bar:{/t} </p>
2017-06-01 09:25:59 +00:00
<a class="bookmarklet small-font" href="javascript:window.location='{$domain}{path_for name='video'}?url='+encodeURIComponent(location.href);">{t}Bookmarklet{/t}</a>
2015-10-28 10:57:44 +00:00
</div>
2015-10-28 10:54:35 +00:00
</main>
2016-07-31 23:01:10 +00:00
{include file='inc/footer.tpl'}