summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-05-11 11:03:16 +0200
committerGeorg Pfuetzenreuter2022-05-11 11:03:16 +0200
commitdfa58b2cb51b0e7ebfb8e1e3875f64fb1ce73295 (patch)
tree5680db229aad6c6d0f91cddb6b1a141e17f41904 /src/main/resources
parent8e1aae70fc50e073b06ea4c4775ce71cd14da1cf (diff)
downloadpubsh-web-dfa58b2cb51b0e7ebfb8e1e3875f64fb1ce73295.tar.gz
pubsh-web-dfa58b2cb51b0e7ebfb8e1e3875f64fb1ce73295.tar.bz2
pubsh-web-dfa58b2cb51b0e7ebfb8e1e3875f64fb1ce73295.zip
Shell expiry logic
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/templates/portal.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html
index a9319a4..524f878 100644
--- a/src/main/resources/templates/portal.html
+++ b/src/main/resources/templates/portal.html
@@ -18,6 +18,11 @@
th:attr="value=${osoption}"
th:text="${osoption}"></option>
</select>
+ <select class="form-control" th:object="${expiry}" name="expiry">
+ <option value="">Select expiry ...</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>
<button class="btn btn-primary" th:id="request_submission" th:type="submit">Generate</button>
</form>
<div th:if="${attribute01 != null}" th:text="${attribute01}"></div>