diff --git a/app/__init__.py b/app/__init__.py old mode 100644 new mode 100755 index bca647e..c6d0229 --- a/app/__init__.py +++ b/app/__init__.py @@ -7,6 +7,10 @@ from authlib.flask.client import OAuth as AuthlibOAuth from sqlalchemy.exc import OperationalError from flask_seasurf import SeaSurf +### SYBPATCH ### +from app.customboxes import customBoxes +### SYBPATCH ### + # subclass SQLAlchemy to enable pool_pre_ping class SQLAlchemy(SA): def apply_pool_defaults(self, app, options): diff --git a/app/customboxes.py b/app/customboxes.py new file mode 100755 index 0000000..7b92f49 --- /dev/null +++ b/app/customboxes.py @@ -0,0 +1,5 @@ + +# "boxId":("title","filter") +class customBoxes: + boxes = {"reverse": (" ", " "), "ip6arpa": ("ip6","%.ip6.arpa"), "inaddrarpa": ("in-addr","%.in-addr.arpa")} + order = ["reverse", "ip6arpa", "inaddrarpa"] diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html old mode 100644 new mode 100755 index b27cb08..d7b1192 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -120,43 +120,89 @@ {% endif %} -
Name | -DNSSEC | -Type | -Serial | -Master | -Account | -Action | -
---|