mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
bind: Remove icon
This commit is contained in:
parent
4a73cbcf3c
commit
aded0f6be0
1
LICENSES
1
LICENSES
@ -55,4 +55,3 @@ otherwise.
|
|||||||
- static/themes/default/icons/transmission.png :: [[https://transmissionbt.com/][GPL]]
|
- static/themes/default/icons/transmission.png :: [[https://transmissionbt.com/][GPL]]
|
||||||
- static/themes/default/icons/ttrss.png :: [[https://tt-rss.org/gitlab/fox/tt-rss][GPL]]
|
- static/themes/default/icons/ttrss.png :: [[https://tt-rss.org/gitlab/fox/tt-rss][GPL]]
|
||||||
- static/themes/default/icons/xmpp.png :: [[https://www.ejabberd.im/][GPL3]]
|
- static/themes/default/icons/xmpp.png :: [[https://www.ejabberd.im/][GPL3]]
|
||||||
- static/themes/default/icons/bind.png :: [[https://www.rosehosting.com/blog/wp-content/uploads/2013/11/BIND.png][MPL-2.0]]
|
|
||||||
|
|||||||
@ -52,7 +52,6 @@ def subcommand_configure(arguments):
|
|||||||
|
|
||||||
|
|
||||||
def set_forwarding(choice):
|
def set_forwarding(choice):
|
||||||
actions.superuser_run('bind', ['setup'])
|
|
||||||
if choice == False:
|
if choice == False:
|
||||||
flag = 0
|
flag = 0
|
||||||
data = [line.strip() for line in open(CONFIG_FILE, 'r')]
|
data = [line.strip() for line in open(CONFIG_FILE, 'r')]
|
||||||
|
|||||||
@ -31,7 +31,7 @@ from .forms import BindForm
|
|||||||
|
|
||||||
|
|
||||||
class BindServiceView(ServiceView): # pylint: disable=too-many-ancestors
|
class BindServiceView(ServiceView): # pylint: disable=too-many-ancestors
|
||||||
"""A specialized view for configuring minetest."""
|
"""A specialized view for configuring Bind."""
|
||||||
service_id = managed_services[0]
|
service_id = managed_services[0]
|
||||||
diagnostics_module_name = "bind"
|
diagnostics_module_name = "bind"
|
||||||
description = description
|
description = description
|
||||||
@ -45,7 +45,7 @@ class BindServiceView(ServiceView): # pylint: disable=too-many-ancestors
|
|||||||
return initial
|
return initial
|
||||||
|
|
||||||
def form_valid(self, form):
|
def form_valid(self, form):
|
||||||
"""Change the configurations of Minetest service."""
|
"""Change the configurations of Bind service."""
|
||||||
data = form.cleaned_data
|
data = form.cleaned_data
|
||||||
old_config = get_default()
|
old_config = get_default()
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB |
Loading…
x
Reference in New Issue
Block a user