diff options
-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 |