summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-05-11 11:06:38 +0200
committerGeorg Pfuetzenreuter2022-05-11 11:06:38 +0200
commit1a4e969557a31c97a66c3769fa242513dc66d1be (patch)
tree10ee5b1d648ccb2ca66b555128120a6e3ef37ecf /src/main
parentdfa58b2cb51b0e7ebfb8e1e3875f64fb1ce73295 (diff)
downloadpubsh-web-1a4e969557a31c97a66c3769fa242513dc66d1be.tar.gz
pubsh-web-1a4e969557a31c97a66c3769fa242513dc66d1be.tar.bz2
pubsh-web-1a4e969557a31c97a66c3769fa242513dc66d1be.zip
Minor touchup
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/libertacasa/pubsh/web/WebApplication.java3
-rw-r--r--src/main/resources/templates/portal.html2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java
index 5407256..a22c390 100644
--- a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java
+++ b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java
@@ -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;
diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html
index 524f878..f228ec8 100644
--- a/src/main/resources/templates/portal.html
+++ b/src/main/resources/templates/portal.html
@@ -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>