Easier to maintain template structure
This the head and footer don't have to be included everytime and the hierarchy is easier to read
This commit is contained in:
parent
de74808459
commit
ac8c53375a
11 changed files with 201 additions and 195 deletions
|
@ -1,14 +1,12 @@
|
|||
{include file='inc/head.tpl'}
|
||||
<div class="wrapper">
|
||||
<main class="main">
|
||||
{include file="inc/logo.tpl"}
|
||||
<h2>{t}This video is protected{/t}</h2>
|
||||
<p>{t}You need a password in order to download this video.{/t}</p>
|
||||
<form action="" method="POST">
|
||||
<label class="sr-only" for="password">{t}Video password{/t}</label>
|
||||
<input class="URLinput" type="password" name="password" id="password"/>
|
||||
<br/><br/>
|
||||
<input class="downloadBtn" type="submit" value="{t}Download{/t}"/>
|
||||
</form>
|
||||
</main>
|
||||
{include file='inc/footer.tpl'}
|
||||
{extends file='page.tpl'}
|
||||
{block name='main'}
|
||||
{include file="inc/logo.tpl"}
|
||||
<h2>{t}This video is protected{/t}</h2>
|
||||
<p>{t}You need a password in order to download this video.{/t}</p>
|
||||
<form action="" method="POST">
|
||||
<label class="sr-only" for="password">{t}Video password{/t}</label>
|
||||
<input class="URLinput" type="password" name="password" id="password"/>
|
||||
<br/><br/>
|
||||
<input class="downloadBtn" type="submit" value="{t}Download{/t}"/>
|
||||
</form>
|
||||
{/block}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue