update noscript layout for item pages (but see ticket 906)

This commit is contained in:
rolux 2013-08-04 13:12:58 +00:00
parent f19b510022
commit a7e83a327d

View file

@ -31,10 +31,12 @@
</head>
<body>
<noscript>
<img src="/{{id}}/{{icon}}256.jpg" alt="" style="float: left; margin-right: 8px">
<h1>{{title}}</h1>
<div style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; text-align: center; background-color: rgb(144, 144, 144); font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif; font-size: 11px; color: rgb(0, 0, 0)">
<img src="/{{id}}/{{icon}}128.jpg" alt="" style="padding-top: 128px">
<div style="position: absolute; width: 512px; left: 0; right: 0; margin: auto">
<div style="padding: 16px 0 8px 0; font-weight: bold; font-size: 13px">{{title}}</div>
{% for i in data %}
<div>
<div style="text-align: justify">
<b>{{i.key}}</b>: {{i.value|safe}}
</div>
{% endfor %}
@ -44,6 +46,9 @@
{{c.annotations|safe}}
</div>
{% endfor %}
<div style="padding-top: 16px">{{settings.SITENAME}} requires JavaScript.</div>
</div>
</div>
</noscript>
</body>
</html>