diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-29 01:09:29 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-29 01:10:13 -0400 |
commit | e96107caf3745d658a36e0ad7716dd07a57657a2 (patch) | |
tree | d281e8a7db34477ebd91d48821b8b743772a3a89 /templates | |
parent | 38ade1af70a08d278a56bcec4f7a9e32b09f4336 (diff) |
move noscript UI to bottom navbar
Diffstat (limited to 'templates')
-rw-r--r-- | templates/transfers.hamlet | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/templates/transfers.hamlet b/templates/transfers.hamlet index 5df453315..417ba3d62 100644 --- a/templates/transfers.hamlet +++ b/templates/transfers.hamlet @@ -1,17 +1,4 @@ <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 @@ -38,3 +25,12 @@ <small .pull-right>queued (#{size})</small> <div .progress .progress-striped> <div .bar style="width: #{percent};"> + $if warnNoScript + <noscript> + <div .navbar .navbar-fixed-bottom> + <div .navbar-inner> + <div .container> + Javascript is disabled; cannot update in real-time. + <div .btn-group> + <a .btn .btn-primary href="@{NoScriptAutoR}">Auto-refresh every 3 seconds # + <a .btn .btn-primary href="@{NoScriptR}">Manually refresh |