mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 13:03:01 +00:00
33 lines
845 B
HTML
33 lines
845 B
HTML
{% extends "page.html" %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="container">
|
|
<div class="row text-center">
|
|
<h1>Spawner options</h1>
|
|
</div>
|
|
<div class="row col-sm-offset-2 col-sm-8">
|
|
{% if error_message %}
|
|
<p class="spawn-error-msg text-danger">
|
|
Error: {{error_message}}
|
|
</p>
|
|
{% endif %}
|
|
<form enctype="multipart/form-data" id="spawn_form" action="{{base_url}}spawn" method="post" role="form">
|
|
{{spawner_options_form | safe}}
|
|
<br>
|
|
<input type="submit" value="Spawn" class="btn btn-jupyter">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block script %}
|
|
<script type="text/javascript">
|
|
require(["jquery"], function ($) {
|
|
// add bootstrap form-control class to inputs
|
|
$("#spawn_form").find("input, select, textarea, button").addClass("form-control");
|
|
});
|
|
</script>
|
|
{% endblock %}
|