leichte Layout-Aufhuebschungen
This commit is contained in:
parent
e84e413dd7
commit
297b268395
6 changed files with 85 additions and 61 deletions
|
@ -1,23 +1,43 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:py="http://genshi.edgewall.org/"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<xi:include href="layout.html" />
|
||||
<!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/">
|
||||
<head>
|
||||
<title>Ticker</title>
|
||||
<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" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</head>
|
||||
|
||||
<?python from helpers import formatter, show_timestamp, nav_links ?>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
${nav_links()}
|
||||
<ul>
|
||||
<li py:for="entry in entries">
|
||||
<span class="timestamp">${show_timestamp(entry['timestamp'])}</span><br/>
|
||||
<span class="title">${entry['title']}:</span>
|
||||
<span class="content">${formatter(entry['content'])}</span>
|
||||
</li>
|
||||
</ul>
|
||||
${nav_links()}
|
||||
<div class="container theme-showcase" role="main">
|
||||
<div class="page-header">
|
||||
<h1 id="title" />
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
${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>
|
||||
</div>
|
||||
|
||||
${nav_links(prev_link, next_link)}
|
||||
</div>
|
||||
|
||||
<div id="footer" class="page-footer" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue