From f670def9d6a2c8a6d278ab9c37d14f5ea9686dd4 Mon Sep 17 00:00:00 2001 From: youngsuKim-CSUSB <81013158+youngsuKim-CSUSB@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:15:31 -0700 Subject: [PATCH] test htmls --- spawn.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spawn.html b/spawn.html index 1fd5cb2..30587fd 100644 --- a/spawn.html +++ b/spawn.html @@ -12,9 +12,9 @@ <p> cpu_limit: {{ cpu_limit }} </p> <p> {{ profile }} {{ profiles }} </p> <p> URL {{url}} </p> -<input class="form-control input-lg" type="range" name="gpus" value="{{ extra_resources.n_gpus }}" min="0" max="4" /> -<output for="gpus" onforminput="value = gpus.valueAsNumber;"></output> <label for="gpus">GPUs</label> +<input class="form-control input-lg" type="range" name="gpus" value="{{ extra_resources.n_gpus }}" min="0" max="4" /> +<output for="{{ extra_resources.n_gpus }}" onforminput="value = {{ extra_resources.n_gpus }}.valueAsNumber;"></output> <br/> <label for="cores">CPUS</label> <input class="form-control input-lg" type="range" name="cores" value="{{ extra_resources.n_cpus }}" min="0" max="96" oninput="this.nextElementSibling.value = this.value"/> -- GitLab