summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/portal.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/portal.html')
-rw-r--r--src/main/resources/templates/portal.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html
index f228ec8..f5e9342 100644
--- a/src/main/resources/templates/portal.html
+++ b/src/main/resources/templates/portal.html
@@ -10,7 +10,7 @@
</h2>
<h3>Generate new throw-away shell:</h3>
<form th:object="${osChoice}" th:id="request_pseudoform" action="#" th:action="@{'/frontend/shell/add'}" th:method="post" th:os="${osChoice}" th:onsubmit="return confirm('You are about to generate a shell with the OS ' + this.getAttribute('osoption') + ' - please be patient after you confirm, as the generation may take a short while.');">
- <select class="form-control" th:object="${osChoice}" name="osChoice">
+ <select class="form-control" th:object="${osChoice}" name="osChoice" required>
<option value="">Select operating system ...</option>
<option
th:each="osoption : ${availableOs}"
@@ -18,7 +18,7 @@
th:attr="value=${osoption}"
th:text="${osoption}"></option>
</select>
- <select class="form-control" th:object="${expiry}" name="expiry">
+ <select class="form-control" th:object="${expiry}" name="expiry" required>
<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>