Rename tab, add debugModal dialog

This commit is contained in:
billz 2023-10-31 14:40:10 +00:00
parent 0176f71944
commit 11e17a8895

View file

@ -17,7 +17,7 @@
<li role="presentation" class="nav-item"><a class="nav-link" id="languagetab" href="#language" aria-controls="language" role="tab" data-toggle="tab"><?php echo _("Language"); ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" id="themetab" href="#theme" aria-controls="theme" role="tab" data-toggle="tab"><?php echo _("Theme"); ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" id="advancedtab" href="#advanced" aria-controls="advanced" role="tab" data-toggle="tab"><?php echo _("Advanced"); ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" id="resettab" href="#reset" aria-controls="reset" role="tab" data-toggle="tab"><?php echo _("Reset"); ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" id="toolstab" href="#tools" aria-controls="tools" role="tab" data-toggle="tab"><?php echo _("Tools"); ?></a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
@ -25,7 +25,7 @@
<?php echo renderTemplate("system/language", $__template_data) ?>
<?php echo renderTemplate("system/theme", $__template_data) ?>
<?php echo renderTemplate("system/advanced", $__template_data) ?>
<?php echo renderTemplate("system/reset", $__template_data) ?>
<?php echo renderTemplate("system/tools", $__template_data) ?>
</div><!-- /.tab-content -->
</form>
</div><!-- /.card-body -->
@ -88,3 +88,20 @@
</div>
</div>
<!-- modal progress-debug-->
<div class="modal fade" id="debugModal" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title" id="ModalLabel"><i class="fas fa-ambulance mr-2"></i><?php echo _("Generate debug log"); ?></div>
</div>
<div class="modal-body">
<div class="col-md-12 mb-3 mt-1" id="system-debug-message"><?php echo _("System debug log generation in progress..."); ?></div>
</div>
<div class="modal-footer">
<button type="button" data-message="<?php echo _("Close"); ?>" class="btn btn-outline-secondary" data-dismiss="modal"><?php echo _("Cancel"); ?></button>
</div>
</div>
</div>
</div>