diff --git a/deluge/ui/webui/webui_plugin/pages.py b/deluge/ui/webui/webui_plugin/pages.py index a8d48a18f..4a693f517 100644 --- a/deluge/ui/webui/webui_plugin/pages.py +++ b/deluge/ui/webui/webui_plugin/pages.py @@ -282,6 +282,10 @@ class resume_all: do_redirect() class refresh: + def GET(self, name): + return self.POST(name) + #WRONG, but makes it easyer to link with $_('Set') + $_('Disable') $else: $_('Off')   - $:render.part_button('POST', '/refresh/on', _('Enable'), 'tango/view-refresh.png') + $_('Enable') ] -$:render.part_button('POST', '/logout', _('Logout'), 'tango/system-log-out.png') +$_('Logout') +$_('Settings') -$:render.part_button('GET', '/config/', _('Settings'), 'tango/preferences-system.png')
diff --git a/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css b/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css index a7bcd23ce..5f97efbbc 100644 --- a/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css +++ b/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css @@ -167,19 +167,17 @@ body.inner { z-index:999; } -#refresh_panel button { - background-color:#304663; - color:#FFFFFF; - border:0; - position:relative; - top:-2px; - height:15px; - background-color:#ddd; - color:#00F; +#refresh_panel a { + color:0000FF; + text-decoration:none; } -#refresh_panel button:hover { - text-decoration: underline; +#refresh_panel a:visited { + color:0000FF; +} + +#refresh_panel a:hover { + color:0000FF; } #stats_panel button {