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,4 +1,3 @@
|
|||
</div>
|
||||
<footer class="small-font">
|
||||
<div class="footer_wrapper">
|
||||
{include file='snippets/dev.tpl' assign=dev}
|
||||
|
@ -21,9 +20,3 @@
|
|||
{t params=['@youtubedl'=>$youtubedl]}Based on @youtubedl{/t}
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
{if isset($debug_render)}
|
||||
{$debug_render->render()}
|
||||
{/if}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<!doctype html>
|
||||
<html lang="{$locale->getLocale()->getBcp47()}">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name=viewport content="width=device-width, initial-scale=1"/>
|
||||
|
@ -27,5 +25,3 @@
|
|||
{$debug_render->renderHead()}
|
||||
{/if}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page {$class}">
|
||||
|
|
|
@ -27,4 +27,3 @@
|
|||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
<div class="wrapper">
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<h1 class="logobis">
|
||||
<a class="logocompatible" href="{base_url}">
|
||||
<span class="logocompatiblemask"><img src="{base_url}/img/logocompatiblemask.png" width="447" height="107"
|
||||
alt="{$config->appName}"/></span>
|
||||
</a></h1>
|
||||
<span class="logocompatiblemask">
|
||||
<img src="{base_url}/img/logocompatiblemask.png" width="447" height="107"
|
||||
alt="{$config->appName}"/>
|
||||
</span>
|
||||
</a>
|
||||
</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue