diff --git a/files/assets/js/admin/apps.js b/files/assets/js/admin/apps.js new file mode 100644 index 0000000000..d4a9b7771e --- /dev/null +++ b/files/assets/js/admin/apps.js @@ -0,0 +1,8 @@ +function remove_app(t, url) { + postToast(t, url, + {}, + () => { + t.parentElement.parentElement.parentElement.remove() + } + ); +} diff --git a/files/templates/admin/apps.html b/files/templates/admin/apps.html index f027a4f278..bd734fc02d 100644 --- a/files/templates/admin/apps.html +++ b/files/templates/admin/apps.html @@ -4,51 +4,47 @@
-{% for app in apps %} -
-
- + {% for app in apps %} +
+
+ -
- - +
+ + - - + + - {% if app.client_id %} - - - {% endif %} + {% if app.client_id %} + + + {% endif %} - - - - - -
-
- + +
+ {% endfor %}
-{% endfor %} -
-
-
+ {% endblock %}