Minor touchup

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2022-05-11 11:06:38 +02:00
parent dfa58b2cb5
commit 1a4e969557
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,6 @@ import com.github.kagkarlsson.scheduler.Scheduler;
@Controller
public class WebApplication {
//private final CounterService counter;
private static Scheduler scheduler;
@Autowired
@ -246,7 +245,7 @@ public class WebApplication {
Random rand = new Random();
Integer randomInt = rand.nextInt(9999999-1111);
Integer count = randomInt;
try {
String containerid = Docker.createShell(username, os, count);
String instanceid = username + "&" + containerid;

View File

@ -19,7 +19,7 @@
th:text="${osoption}"></option>
</select>
<select class="form-control" th:object="${expiry}" name="expiry">
<option value="">Select expiry ...</option>
<option value="">Select duration ...</option>
<option th:value="5" th:attr="value=5" th:text="5"></option>
<option th:value="10" th:attr="value=10" th:text="10"></option>
</select>