From f5bc68d9cc0311f8b3c20c90781761b35d2d0583 Mon Sep 17 00:00:00 2001
From: youngsuKim-CSUSB <81013158+youngsuKim-CSUSB@users.noreply.github.com>
Date: Tue, 21 Jun 2022 14:12:57 -0700
Subject: [PATCH] test htmls

---
 spawn.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spawn.html b/spawn.html
index c027844..1fd5cb2 100644
--- a/spawn.html
+++ b/spawn.html
@@ -12,8 +12,8 @@
 <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" oninput="this.nextElementSibling.value = this.value"/>
-<output>{{ extra_resources.n_gpus }}</output>
+<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>
 <br/>
 <label for="cores">CPUS</label>
-- 
GitLab