diff --git a/app/static/assets/js/helper.js b/app/static/assets/js/helper.js index 28604d5..d383282 100644 --- a/app/static/assets/js/helper.js +++ b/app/static/assets/js/helper.js @@ -102,7 +102,6 @@ async function deleteOrigins() { let xhr = new XMLHttpRequest(); xhr.open("DELETE", '/-/origins', true); xhr.send(); - await fetchOriginsWithLeases() } async function deleteOrigin(origin_ref) { diff --git a/app/templates/views/dashboard_leases.html b/app/templates/views/dashboard_leases.html index 6d9d422..7e24e09 100644 --- a/app/templates/views/dashboard_leases.html +++ b/app/templates/views/dashboard_leases.html @@ -5,18 +5,20 @@ {% endblock %} {% block content %} -
-
-

Leases with origin

-
-
- +
+
+

Leases with origin

+
+
+ +
-
-
-
+
+
{% endblock %} {% block scripts %} diff --git a/app/templates/views/dashboard_origins.html b/app/templates/views/dashboard_origins.html index c45a0d0..b7142b3 100644 --- a/app/templates/views/dashboard_origins.html +++ b/app/templates/views/dashboard_origins.html @@ -5,24 +5,33 @@ {% endblock %} {% block content %} -
-
-

Origins with leases

-
-
- +
+
+

Origins with leases

+
+
+ + +
-
-
-
+
+
{% endblock %} {% block scripts %} {{ super() }} - + {% endblock %}