Compare commits
3 Commits
2d14052d41
...
e0f4ee5917
Author | SHA1 | Date | |
---|---|---|---|
e0f4ee5917 | |||
c02920ddb5 | |||
48be304a6c |
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
6
scan.php
6
scan.php
@@ -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>
|
||||||
|
Reference in New Issue
Block a user