3 Commits

Author SHA1 Message Date
e0f4ee5917 LOCAL_BACKEND default no
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-12 08:42:59 +01:00
c02920ddb5 deployment name 2025-03-12 01:18:34 +01:00
48be304a6c letsencrypt_log.php - show log 2025-03-12 00:58:34 +01:00
3 changed files with 6 additions and 5 deletions

View File

@@ -74,6 +74,7 @@ COPY index.html /usr/share/nginx/html
COPY scan.html /usr/share/nginx/html COPY scan.html /usr/share/nginx/html
COPY manage.html /usr/share/nginx/html COPY manage.html /usr/share/nginx/html
COPY scan.php /usr/share/nginx/html COPY scan.php /usr/share/nginx/html
COPY letsencrypt_log.php /usr/share/nginx/html
COPY functions.php /usr/share/nginx/html COPY functions.php /usr/share/nginx/html
COPY install.html /usr/share/nginx/html COPY install.html /usr/share/nginx/html
COPY install.php /usr/share/nginx/html COPY install.php /usr/share/nginx/html

View File

@@ -137,8 +137,8 @@
<div class="mb-3"> <div class="mb-3">
<label for="local_backend">Would you like to run local backend?</label> <label for="local_backend">Would you like to run local backend?</label>
<select class="custom-select d-block w-100" name="LOCAL_BACKEND" id="local_backend"> <select class="custom-select d-block w-100" name="LOCAL_BACKEND" id="local_backend">
<option value="yes" selected>Yes</option> <option value="yes">Yes</option>
<option value="no">No</option> <option value="no" selected>No</option>
</select> </select>
</div> </div>
</div> </div>

View File

@@ -191,7 +191,7 @@ switch ($_GET["op"]) {
if ($key=="deployment") { if ($key=="deployment") {
if ($data["STATUS"]=="0") { // ask if ($data["STATUS"]=="0") { // ask
$template = json_decode(base64_decode($data["TEMPLATE"])); $template = json_decode(base64_decode($data["TEMPLATE"]));
echo "<fieldset><form action=\"#\" method=\"post\" id=\"deploy_form\"><br>"; echo "<fieldset><form action=\"#\" method=\"post\" id=\"deploy_{$template->name}_form\"><br>";
if ($reinstall) { if ($reinstall) {
//var_dump($template); //var_dump($template);
//var_dump($template); //var_dump($template);
@@ -224,8 +224,8 @@ switch ($_GET["op"]) {
</div> </div>
</form></fieldset> </form></fieldset>
<script> <script>
jQuery('#deploy_form').submit(function() { jQuery('#deploy_{$template->name}_form').submit(function() {
deploy(jQuery('#additional').val()); deploy('{$template->name}');
return false; return false;
}); });
</script> </script>