in noscript templates, match -user-select and -user-drag

This commit is contained in:
rolux 2013-08-04 13:26:12 +00:00
parent a7e83a327d
commit 21486d12d1
2 changed files with 6 additions and 6 deletions

View file

@ -28,9 +28,9 @@
</head>
<body>
<noscript>
<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="/static/png/logo.png"/ style="width: 256px; padding-top: 128px">
<div style="position: absolute; width: 512px; left: 0; right: 0; margin: auto">
<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); -moz-user-select: none; -o-user-select: none; -webkit-user-select: none">
<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>

View file

@ -31,9 +31,9 @@
</head>
<body>
<noscript>
<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="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); -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">
<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">