diff --git a/sld-dashboard/app/home/routes.py b/sld-dashboard/app/home/routes.py index 7027c36f..cdc97787 100644 --- a/sld-dashboard/app/home/routes.py +++ b/sld-dashboard/app/home/routes.py @@ -35,6 +35,10 @@ def decrypt(secreto): external_api_dns = settings.EXTERNAL_DNS_API +def pretty_json(value): + return json.dumps(value, indent=4) + + @blueprint.route("/index") @login_required def index(): diff --git a/sld-dashboard/app/home/templates/deploy-edit.html b/sld-dashboard/app/home/templates/deploy-edit.html index c021bef9..7ade479d 100644 --- a/sld-dashboard/app/home/templates/deploy-edit.html +++ b/sld-dashboard/app/home/templates/deploy-edit.html @@ -72,9 +72,18 @@