mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 01:54:09 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -16,11 +16,11 @@ from .. import __version__, orm
|
|||||||
from ..metrics import SERVER_POLL_DURATION_SECONDS, ServerPollStatus
|
from ..metrics import SERVER_POLL_DURATION_SECONDS, ServerPollStatus
|
||||||
from ..scopes import describe_raw_scopes, needs_scope
|
from ..scopes import describe_raw_scopes, needs_scope
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
|
format_exception,
|
||||||
maybe_future,
|
maybe_future,
|
||||||
url_escape_path,
|
url_escape_path,
|
||||||
url_path_join,
|
url_path_join,
|
||||||
utcnow,
|
utcnow,
|
||||||
format_exception,
|
|
||||||
)
|
)
|
||||||
from .base import BaseHandler
|
from .base import BaseHandler
|
||||||
|
|
||||||
|
@@ -14,8 +14,11 @@
|
|||||||
{% if for_user and user.name != for_user.name -%}
|
{% if for_user and user.name != for_user.name -%}
|
||||||
<p>Spawning server for {{ for_user.name }}</p>
|
<p>Spawning server for {{ for_user.name }}</p>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if error_message %}<p class="spawn-error-msg alert alert-danger">Error: {{ error_message }}</p>
|
{% if error_message %}
|
||||||
{% elif error_html_message %}<p class="spawn-error-msg alert alert-danger">{{ error_html_message | safe}}</p>{% endif %}
|
<p class="spawn-error-msg alert alert-danger">Error: {{ error_message }}</p>
|
||||||
|
{% elif error_html_message %}
|
||||||
|
<p class="spawn-error-msg alert alert-danger">{{ error_html_message | safe }}</p>
|
||||||
|
{% endif %}
|
||||||
<form enctype="multipart/form-data"
|
<form enctype="multipart/form-data"
|
||||||
id="spawn_form"
|
id="spawn_form"
|
||||||
action="{{ url | safe }}"
|
action="{{ url | safe }}"
|
||||||
|
Reference in New Issue
Block a user