1
0
Fork 0
feedizer-php/htdocs/templates/base.html

78 lines
2.6 KiB
HTML
Raw Permalink Normal View History

2015-11-13 23:51:46 +01:00
<!DOCTYPE html>
<html lang='en'>
<head>
<title>{{$title|default:'Feedizer'}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel='stylesheet' type="text/css" href="/static/lib/foundation/css/normalize.css">
<link rel='stylesheet' type="text/css" href="/static/lib/foundation/css/foundation.min.css">
<style type='text/css'>
body {
background-color: #fafafa;
}
.announce-foot {
color: #6F6F6F;
font-size: small;
}
label small {
font-size: 66% !important;
text-transform: none !important;
}
.gray-out {
opacity: 0.6;
transition: opacity 300ms ease-out 0s;
}
.gray-out:active,
.gray-out:focus,
.gray-out:hover {
opacity: 1;
}
</style>
{{block name=head}}{{/block}}
</head>
<body>
<header class='row'>
<div class='columns small-12'>
<a href='/' class='text-center'><h1><span style='color: #E3702D;'>Feedizer</span></h1></a>
<hr>
</div>
</header>
{{if isset($globalAnnouncement) and $globalAnnouncement.is_important}}
<div class='row'>
<div class='columns small-12'>
<div class='alert-box warning text-center'>
<h3>{{$globalAnnouncement.title}}</h3>
{{if $globalAnnouncement.abstract}}
<p>{{$globalAnnouncement.abstract}}</p>
<p><a href='/announcement/{{$globalAnnouncement.id}}/{{$globalAnnouncement.title}}'>Read more…</a></p>
{{else}}
<p>{{$globalAnnouncement.content}}</p>
{{/if}}
<div class='text-right announce-foot'>{{$globalAnnouncement.date|date_format:'%A, %Y-%m-%d %H:%M'}}</div>
</div>
</div>
</div>
{{/if}}
{{block name=content}}No content set.{{/block}}
<footer class='row'>
<div class='columns small-12'>
<hr>
<ul class='inline-list'>
<li><a href='/'>Home</a></li>
<li><a href='/page/about'>About Feedizer</a></li>
<li><a href='/page/bot'>FeedizerBot</a></li>
<li><a href='/page/tos'>Terms of Service</a></li>
<li><a href='/page/imprint'>Impressum</a></li>
<li class='right'>Copyright &copy; {{$smarty.now|date_format:'%Y'}} by Fanir</li>
</ul>
</div>
</footer>
</body>
</html>