Allow to specify stack name as a parameter

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-05-19 10:42:30 -03:00
parent a223a08ab7
commit 55062234fd
4 changed files with 19 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
<form id="welcomeFormBypass" method="POST" action="/">
<button id="start" type="submit">Start Session</button>
<input id="stack" type="hidden" name="stack" value=""/>
<input id="stack_name" type="hidden" name="stack_name" value=""/>
</form>
</div>
</body>
@@ -37,5 +38,9 @@
if (stack) {
document.getElementById('stack').value = stack;
}
var stackName = getParameterByName('stack_name');
if (stack) {
document.getElementById('stack_name').value = stackName;
}
</script>
</html>