diff options
author | Joey Hess <joey@kitenet.net> | 2012-08-03 10:04:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-08-03 10:06:34 -0400 |
commit | 02556b5acde495656de46b0cfc07310e91f4573e (patch) | |
tree | 404b1bc576e48cf8727d69e6902b532bda14a0a2 /templates | |
parent | 1f89712e6b0a601f3a4685cfbcd4cb5d3180c0e5 (diff) |
remove duplicate nojs refresher
Diffstat (limited to 'templates')
-rw-r--r-- | templates/dashboard/main.hamlet | 18 | ||||
-rw-r--r-- | templates/dashboard/transfers.hamlet | 9 |
2 files changed, 9 insertions, 18 deletions
diff --git a/templates/dashboard/main.hamlet b/templates/dashboard/main.hamlet index 7bcfce962..aa780bdb2 100644 --- a/templates/dashboard/main.hamlet +++ b/templates/dashboard/main.hamlet @@ -1,10 +1,10 @@ ^{content} -$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 + $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 diff --git a/templates/dashboard/transfers.hamlet b/templates/dashboard/transfers.hamlet index e79885fb5..b48ae6f6d 100644 --- a/templates/dashboard/transfers.hamlet +++ b/templates/dashboard/transfers.hamlet @@ -23,12 +23,3 @@ <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 |