From 24d87c882facd236ca331825c6fefc56e8ea7a7c Mon Sep 17 00:00:00 2001 From: Kenan Erdogan Date: Tue, 19 Jun 2018 09:15:18 +0200 Subject: [PATCH] fix wrong/missing closing tags in templates --- share/jupyterhub/templates/admin.html | 10 +++++----- share/jupyterhub/templates/spawn_pending.html | 2 ++ share/jupyterhub/templates/stop_pending.html | 2 +- share/jupyterhub/templates/token.html | 13 +++++-------- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/share/jupyterhub/templates/admin.html b/share/jupyterhub/templates/admin.html index fbd01846..7227e663 100644 --- a/share/jupyterhub/templates/admin.html +++ b/share/jupyterhub/templates/admin.html @@ -53,20 +53,20 @@ {%- endif -%} - stop server - start server + stop server + start server {% if admin_access %} - access server + access server {% endif %} - edit + edit {% if u.name != user.name %} - delete + delete {% endif %} {% endblock user_row %} diff --git a/share/jupyterhub/templates/spawn_pending.html b/share/jupyterhub/templates/spawn_pending.html index 29f73ad7..ad6a6e41 100644 --- a/share/jupyterhub/templates/spawn_pending.html +++ b/share/jupyterhub/templates/spawn_pending.html @@ -15,6 +15,7 @@

+
@@ -23,6 +24,7 @@
+
{% endblock %} diff --git a/share/jupyterhub/templates/stop_pending.html b/share/jupyterhub/templates/stop_pending.html index 4f3f1caa..04a8de1d 100644 --- a/share/jupyterhub/templates/stop_pending.html +++ b/share/jupyterhub/templates/stop_pending.html @@ -23,7 +23,7 @@ require(["jquery"], function ($) { $("#refresh").click(function () { window.location.reload(); - }) + }); setTimeout(function () { window.location.reload(); }, 5000); diff --git a/share/jupyterhub/templates/token.html b/share/jupyterhub/templates/token.html index 4a82a97e..a493c8e8 100644 --- a/share/jupyterhub/templates/token.html +++ b/share/jupyterhub/templates/token.html @@ -24,7 +24,6 @@
-

-

{% if api_tokens %} @@ -62,7 +60,7 @@ {% for token in api_tokens %} - + {% block token_row scoped %} {{token.note}} @@ -111,7 +109,7 @@ {% for client in oauth_clients %} + data-token-id="{{ client['token_id'] }}"> {% block client_row scoped %} {{ client['description'] }} @@ -129,8 +127,7 @@ {%- endif -%} - + {% endblock client_row %} {% endfor %} @@ -139,11 +136,11 @@ {% endif %} -{% endblock %} +{% endblock main %} {% block script %} {{ super() }} -{% endblock %} +{% endblock script %}