mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-06 17:44:08 +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 ..scopes import describe_raw_scopes, needs_scope
|
||||
from ..utils import (
|
||||
format_exception,
|
||||
maybe_future,
|
||||
url_escape_path,
|
||||
url_path_join,
|
||||
utcnow,
|
||||
format_exception,
|
||||
)
|
||||
from .base import BaseHandler
|
||||
|
||||
|
@@ -14,8 +14,11 @@
|
||||
{% if for_user and user.name != for_user.name -%}
|
||||
<p>Spawning server for {{ for_user.name }}</p>
|
||||
{% endif -%}
|
||||
{% if error_message %}<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 %}
|
||||
{% if error_message %}
|
||||
<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"
|
||||
id="spawn_form"
|
||||
action="{{ url | safe }}"
|
||||
|
Reference in New Issue
Block a user