summaryrefslogtreecommitdiff
path: root/templates/transfers.hamlet
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-29 00:55:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-29 00:55:22 -0400
commit38ade1af70a08d278a56bcec4f7a9e32b09f4336 (patch)
treeb9804e67793e2fa8312aff1edc497dc5b5a0f455 /templates/transfers.hamlet
parent376f8443c1786a1acbaaf24fc7c4f8a662f0ef38 (diff)
better noscript UI
Diffstat (limited to 'templates/transfers.hamlet')
-rw-r--r--templates/transfers.hamlet13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/transfers.hamlet b/templates/transfers.hamlet
index 154e8d58b..5df453315 100644
--- a/templates/transfers.hamlet
+++ b/templates/transfers.hamlet
@@ -1,4 +1,17 @@
<span ##{ident}>
+ $if warnNoScript
+ <noscript>
+ <div .alert .alert-block>
+ <h4 .alert-heading>Javascript is disabled
+ <p>
+ This display cannot update in real-time without Javascript. #
+ Can you turn it on?
+ <p>
+ Otherwise, there are two options:
+ <p>
+ <div .btn-group>
+ <a .btn href="@{NoScriptAutoR}">Auto-refresh every 3 seconds #
+ <a .btn href="@{NoScriptR}">Manually refresh
<div .span9>
$if null transfers
<h2>No current transfers