2015-04-25 23:58:21 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
|
|
|
xmlns:w="http://www.example.org/widgets"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
xmlns:py="http://genshi.edgewall.org/">
|
2012-04-20 03:50:59 +02:00
|
|
|
<head>
|
|
|
|
<title>Ticker</title>
|
2015-04-25 23:58:21 +02:00
|
|
|
<meta charset="utf-8" />
|
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="bootstrap/css/bootstrap.min.css" />
|
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="bootstrap/css/bootstrap-theme.min.css" />
|
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="style.css" />
|
2015-04-27 23:58:54 +02:00
|
|
|
<meta http-equiv="refresh" content="120" />
|
2015-04-25 23:58:21 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2015-04-27 14:59:45 +02:00
|
|
|
<script type="text/javascript" src="clock.js"></script>
|
2012-04-20 03:50:59 +02:00
|
|
|
</head>
|
|
|
|
|
2015-04-25 23:58:21 +02:00
|
|
|
<?python from helpers import formatter, show_timestamp, nav_links ?>
|
|
|
|
|
2012-04-20 03:50:59 +02:00
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2015-04-25 23:58:21 +02:00
|
|
|
<div class="container theme-showcase" role="main">
|
|
|
|
<div class="page-header">
|
|
|
|
<h1 id="title" />
|
|
|
|
</div>
|
|
|
|
|
2015-04-27 14:59:45 +02:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
2015-04-27 22:36:01 +02:00
|
|
|
<div class="col-xs-12 col-sm-8">
|
2015-04-25 23:58:21 +02:00
|
|
|
${nav_links(prev_link, next_link)}
|
|
|
|
|
|
|
|
<div class="well" py:for="entry in entries">
|
|
|
|
<h2>${entry['title']}</h2>
|
|
|
|
<blockquote class="blockquote">
|
|
|
|
${formatter(entry['content'])}
|
|
|
|
<footer>${show_timestamp(entry['timestamp'])}</footer>
|
|
|
|
</blockquote>
|
2015-04-27 14:59:45 +02:00
|
|
|
</div>
|
2015-04-25 23:58:21 +02:00
|
|
|
|
|
|
|
${nav_links(prev_link, next_link)}
|
2015-04-27 14:59:45 +02:00
|
|
|
</div>
|
2015-04-25 23:58:21 +02:00
|
|
|
|
2015-04-27 22:36:01 +02:00
|
|
|
<div class="col-xs-12 col-sm-4">
|
2015-04-27 22:07:18 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-body">
|
2015-04-28 00:20:24 +02:00
|
|
|
<div id="clockbox"></div>
|
2015-04-30 09:14:28 +02:00
|
|
|
<!--#include file="sidebar.html" -->
|
2015-04-27 22:07:18 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2015-04-27 14:59:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-04-25 23:58:21 +02:00
|
|
|
<div id="footer" class="page-footer" />
|
|
|
|
</div>
|
2012-04-20 03:50:59 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|