Skip to content

Update templates with contextual doc links #1511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion templates/hostapd/advanced.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<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="col-md-6 mb-2">
<div class="custom-control custom-switch">
Expand Down
5 changes: 4 additions & 1 deletion templates/hostapd/basic.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<div class="tab-pane active" id="basic">
<h4 class="mt-3"><?php echo _("Basic settings") ;?></h4>
<div class="d-flex">
<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="form-group col-md-6">
<label for="cbxinterface"><?php echo _("Interface") ;?></label>
Expand Down
6 changes: 4 additions & 2 deletions templates/hostapd/logging.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<!-- logfile output tab -->
<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>

<div class="custom-control custom-switch">
<?php $checked = $arrHostapdConf['LogEnable'] == 1 ? 'checked="checked"' : '' ?>
<input class="custom-control-input" id="chxlogenable" name="logEnable" type="checkbox" value="1" <?php echo $checked ?> />
Expand Down
5 changes: 4 additions & 1 deletion templates/hostapd/security.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<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="col-md-6">
<div class="form-group">
Expand Down