update templates

This commit is contained in:
j 2014-01-16 13:12:10 +00:00
parent a672ddf1ec
commit f522ba52f6
3 changed files with 11 additions and 15 deletions

View file

@ -30,7 +30,7 @@
<noscript>
<h1>{{title}}</h1>
<p>{{text|safe}}</p>
<p>{{settings.SITENAME}} requires JavaScript</p>
<p style="font-style: italic">{{settings.SITENAME}} requires JavaScript</p>
</noscript>
</body>
</html>

View file

@ -32,7 +32,7 @@
<img src="/static/png/logo.png"/ style="width: 256px; padding-top: 128px; -moz-user-drag: none; -o-user-drag: none; -webkit-user-drag: none">
<div style="position: absolute; width: 512px; left: 0; right: 0; margin: auto; -moz-user-select: text; -o-user-select: text; -webkit-user-select: text">
<div style="padding-top: 16px; text-align: justify">{{text|safe}}</div>
<div style="padding-top: 16px">{{settings.SITENAME}} requires JavaScript.</div>
<div style="padding-top: 16px; font-style: italic">{{settings.SITENAME}} requires JavaScript.</div>
</div>
</div>
</noscript>

View file

@ -33,21 +33,17 @@
<noscript>
<div style="position: fixed; left: 0; top: 0; right: 0; bottom: 0; background-color: rgb(144, 144, 144);"></div>
<div style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; text-align: center; font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif; font-size: 11px; color: rgb(0, 0, 0); -moz-user-select: none; -o-user-select: none; -webkit-user-select: none">
<img src="/{{id}}/{{icon}}128.jpg" alt="" style="padding-top: 128px; -moz-user-drag: none; -o-user-drag: none; -webkit-user-drag: none">
<img src="/{{id}}/{{icon}}128.jpg" alt="" style="padding-top: 64px; -moz-user-drag: none; -o-user-drag: none; -webkit-user-drag: none">
<div style="position: absolute; width: 512px; left: 0; right: 0; margin: auto; -moz-user-select: text; -o-user-select: text; -webkit-user-select: text">
<div style="padding: 16px 0 8px 0; font-weight: bold; font-size: 13px">{{title}}</div>
{% for i in data %}
<div style="text-align: justify">
<b>{{i.title}}</b>: {{i.value|safe}}
</div>
{% endfor %}
<div>{{description_html|safe}}</div>
{% for c in clips %}
<div style="clear:both; padding-top: 4px">
<img src="/{{id}}/96p{{c.in}}.jpg" alt="" style="float: left; margin-right: 8px">
{{c.annotations|safe}}
</div>
{% endfor %}
<div style="clear: both;padding-top: 16px;padding-bottom: 16px">{{settings.SITENAME}} requires JavaScript.</div>
<div style="clear: both; padding-top: 16px; padding-bottom: 16px; font-style: italic">{{settings.SITENAME}} requires JavaScript.</div>
</div>
</div>
</noscript>