diff --git a/spawn.html b/spawn.html index 3f127c1cd741d5695342821756e104a1284dca44..5ab101df38a9f48ebcbe7a264469de2b287d2f90 100644 --- a/spawn.html +++ b/spawn.html @@ -1,15 +1,15 @@ {% extends "templates/spawn.html" %} -{% set gpus = 1 %} +{% set n_gpus = 1 %} {% block heading %} <label for="gpus">GPUs</label> -<input class="form-control input-lg" type="range" name="gpus" value="{{ gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/> -<output>{{ gpus }}</output> +<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> <br/> <label for="cores">CPUS</label> -<input class="form-control input-lg" type="range" name="cores" value="1" min="0" max="96" oninput="this.nextElementSibling.value = this.value"/> -<output>1</output> +<input class="form-control input-lg" type="range" name="cores" value="2" min="0" max="96" oninput="this.nextElementSibling.value = this.value"/> +<output>2</output> <br/> <label for="ram">RAM, GB</label> <input class="form-control input-lg" type="range" name="ram" value="8" min="1" max="512" oninput="this.nextElementSibling.value = this.value"/>