Update templates with contextual doc links

This commit is contained in:
billz 2024-02-02 08:11:43 +00:00
parent a1b610b92d
commit 0d6b45577b
4 changed files with 16 additions and 5 deletions

View file

@ -1,5 +1,8 @@
<div class="tab-pane fade" id="advanced"> <div class="tab-pane fade" id="advanced">
<h4 class="mt-3"><?php echo _("Advanced settings"); ?></h4> <div class="d-flex">
<h4 class="mt-3"><?php echo _("Advanced settings") ;?></h4>
<a href="https://docs.raspap.com/ap-basics/#advanced-options" target="_blank"><i class="fas fa-book ml-2 mt-4 text-muted"></i></a>
</div>
<div class="row"> <div class="row">
<div class="col-md-6 mb-2"> <div class="col-md-6 mb-2">
<div class="custom-control custom-switch"> <div class="custom-control custom-switch">

View file

@ -1,5 +1,8 @@
<div class="tab-pane active" id="basic"> <div class="tab-pane active" id="basic">
<div class="d-flex">
<h4 class="mt-3"><?php echo _("Basic settings") ;?></h4> <h4 class="mt-3"><?php echo _("Basic settings") ;?></h4>
<a href="https://docs.raspap.com/ap-basics/#basics" target="_blank"><i class="fas fa-book ml-2 mt-4 text-muted"></i></a>
</div>
<div class="row"> <div class="row">
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<label for="cbxinterface"><?php echo _("Interface") ;?></label> <label for="cbxinterface"><?php echo _("Interface") ;?></label>

View file

@ -1,8 +1,10 @@
<!-- logfile output tab --> <!-- logfile output tab -->
<div class="tab-pane fade" id="logoutput"> <div class="tab-pane fade" id="logoutput">
<h4 class="mt-3"><?php echo _("Logging"); ?></h4> <div class="d-flex">
<h4 class="mt-3"><?php echo _("Logging") ;?></h4>
<a href="https://docs.raspap.com/ap-basics/#troubleshooting" target="_blank"><i class="fas fa-book ml-2 mt-4 text-muted"></i></a>
</div>
<p><?php echo _("Enable this option to log <code>hostapd</code> activity.") ?></p> <p><?php echo _("Enable this option to log <code>hostapd</code> activity.") ?></p>
<div class="custom-control custom-switch"> <div class="custom-control custom-switch">
<?php $checked = $arrHostapdConf['LogEnable'] == 1 ? 'checked="checked"' : '' ?> <?php $checked = $arrHostapdConf['LogEnable'] == 1 ? 'checked="checked"' : '' ?>
<input class="custom-control-input" id="chxlogenable" name="logEnable" type="checkbox" value="1" <?php echo $checked ?> /> <input class="custom-control-input" id="chxlogenable" name="logEnable" type="checkbox" value="1" <?php echo $checked ?> />

View file

@ -1,5 +1,8 @@
<div class="tab-pane fade" id="security"> <div class="tab-pane fade" id="security">
<h4 class="mt-3"><?php echo _("Security settings"); ?></h4> <div class="d-flex">
<h4 class="mt-3"><?php echo _("Security settings") ;?></h4>
<a href="https://docs.raspap.com/ap-basics/#security-settings" target="_blank"><i class="fas fa-book ml-2 mt-4 text-muted"></i></a>
</div>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">