From 0c0e6f5a0eb9073c26f9b6591a98f5fb67aadadc Mon Sep 17 00:00:00 2001 From: youngsuKim-CSUSB <81013158+youngsuKim-CSUSB@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:34:32 -0700 Subject: [PATCH] test htmls --- spawn.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spawn.html b/spawn.html index 87eb62d..d70fa66 100644 --- a/spawn.html +++ b/spawn.html @@ -13,9 +13,11 @@ <p> cpu_limit: {{ cpu_limit }} </p> <p> {{ profile }} {{ profiles }} </p> <p> URL {{url}} </p> +<div> <input class="form-control input-lg" type="range" name="gpus" value="{{ extra_resources.n_gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/> <output>{{ extra_resources.n_gpus }}</output> <label for="gpus">GPUs</label> +</div> <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