Hide the form when connecting

No need to show the form when connecting to a ssh server
if form arguments are passed via url
This commit is contained in:
Sheng
2019-08-23 09:55:42 +08:00
parent a11d5a01e5
commit 4e51d2c3ab
2 changed files with 19 additions and 2 deletions
+3 -2
View File
@@ -27,7 +27,9 @@
</style>
</head>
<body>
<div class="container">
<div id="waiter" style="display: none"> Connecting ... </div>
<div class="container form-container" style="display: none">
<form id="connect" action="" method="post" enctype="multipart/form-data"{% if debug %} novalidate{% end %}>
<div class="row">
<div class="col">
@@ -71,7 +73,6 @@
<button type="submit" class="btn btn-primary">Connect</button>
<button type="reset" class="btn btn-danger">Reset</button>
</form>
</div>
<div class="container">