From c6ec98c305c77351e81c7f2a801dda3d7a96fded Mon Sep 17 00:00:00 2001 From: youngsukim-csusb <youngsu.kim@csusb.edu> Date: Mon, 20 Jun 2022 16:47:54 -0700 Subject: [PATCH] test spawn --- spawn.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spawn.html b/spawn.html index 3f127c1..5ab101d 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"/> -- GitLab