Skip to content
Snippets Groups Projects
Commit 02107665 authored by Youngsu Kim's avatar Youngsu Kim
Browse files

test spawn

parent d6aff5b2
No related branches found
No related tags found
Loading
{% extends "templates/spawn.html" %} {% extends "templates/spawn.html" %}
{% block main %} {% block main %}
{{ super() }}
<p>Number of GPUs: {{ extra_resources.n_gpus }}</p> <p>Number of GPUs: {{ extra_resources.n_gpus }}</p>
{% endblock %} {% endblock %}
{% block heading %} {% block heading %}
<p>Number of GPUs: {{ n_gpus }}</p> <p>Number of GPUs: {{ extra_resources.n_gpus }}</p>
<label for="gpus">GPUs</label> <label for="gpus">GPUs</label>
<input class="form-control input-lg" type="range" name="gpus" value="{{ n_gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/> <input class="form-control input-lg" type="range" name="gpus" value="{{ n_gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/>
<output>{{ n_gpus }}</output> <output>{{ n_gpus }}</output>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment