Apply text-secondary to logoutput

This commit is contained in:
billz 2024-10-24 10:30:53 -07:00
parent 063a2b1eaf
commit 4e76445dab
9 changed files with 9 additions and 9 deletions

View file

@ -21,7 +21,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="mb-3 col-md-8"> <div class="mb-3 col-md-8">
<?php echo '<textarea class="logoutput" name="adblock-custom-hosts">'.htmlspecialchars($adblock_custom_content, ENT_QUOTES).'</textarea>'; ?> <?php echo '<textarea class="logoutput text-secondary" name="adblock-custom-hosts">'.htmlspecialchars($adblock_custom_content, ENT_QUOTES).'</textarea>'; ?>
</div> </div>
</div> </div>
</div><!-- /.tab-pane --> </div><!-- /.tab-pane -->

View file

@ -3,7 +3,7 @@
<h4 class="mt-3"><?php echo _("Logging"); ?></h4> <h4 class="mt-3"><?php echo _("Logging"); ?></h4>
<div class="row"> <div class="row">
<div class="mb-3 col-md-8"> <div class="mb-3 col-md-8">
<?php echo '<textarea class="logoutput">'.htmlspecialchars($logdata, ENT_QUOTES).'</textarea>'; ?> <?php echo '<textarea class="logoutput text-secondary">'.htmlspecialchars($logdata, ENT_QUOTES).'</textarea>'; ?>
</div> </div>
</div> </div>
</div><!-- /.tab-pane --> </div><!-- /.tab-pane -->

View file

@ -17,7 +17,7 @@
<div class="mb-3 col-md-8 mt-2"> <div class="mb-3 col-md-8 mt-2">
<?php <?php
if ($conf['log-dhcp'] == 1 || $conf['log-queries'] == 1) { if ($conf['log-dhcp'] == 1 || $conf['log-queries'] == 1) {
echo '<textarea class="logoutput" id="dnsmasq-log">'.htmlspecialchars($logdata, ENT_QUOTES).'</textarea>'; echo '<textarea class="logoutput text-secondary" id="dnsmasq-log">'.htmlspecialchars($logdata, ENT_QUOTES).'</textarea>';
} else { } else {
echo '<textarea class="logoutput my-3"></textarea>'; echo '<textarea class="logoutput my-3"></textarea>';
} }

View file

@ -14,7 +14,7 @@
<div class="mb-3 col-md-8 mt-2"> <div class="mb-3 col-md-8 mt-2">
<?php <?php
if ($arrHostapdConf['LogEnable'] == 1) { if ($arrHostapdConf['LogEnable'] == 1) {
echo '<textarea class="logoutput" id="hostapd-log">'.htmlspecialchars($logdata, ENT_QUOTES).'</textarea>'; echo '<textarea class="logoutput text-secondary" id="hostapd-log">'.htmlspecialchars($logdata, ENT_QUOTES).'</textarea>';
} else { } else {
echo '<textarea class="logoutput my-3"></textarea>'; echo '<textarea class="logoutput my-3"></textarea>';
} }

View file

@ -10,7 +10,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="mb-3 col-md-8 mt-2"> <div class="mb-3 col-md-8 mt-2">
<textarea class="logoutput" id="openvpn-log"><?php echo htmlspecialchars($logOutput, ENT_QUOTES); ?></textarea> <textarea class="logoutput text-secondary" id="openvpn-log"><?php echo htmlspecialchars($logOutput, ENT_QUOTES); ?></textarea>
</div> </div>
</div> </div>
</div><!-- /.tab-pane --> </div><!-- /.tab-pane -->

View file

@ -7,7 +7,7 @@
<div class="row"> <div class="row">
<div class="mb-3 col-md-8 mt-2"> <div class="mb-3 col-md-8 mt-2">
<textarea class="logoutput"><?php echo htmlspecialchars($providerLog, ENT_QUOTES); ?></textarea> <textarea class="logoutput text-secondary"><?php echo htmlspecialchars($providerLog, ENT_QUOTES); ?></textarea>
</div> </div>
</div> </div>
</div><!-- /.tab-pane --> </div><!-- /.tab-pane -->

View file

@ -4,7 +4,7 @@
<p><?php echo _("Current <code>restapi.service</code> status is displayed below."); ?></p> <p><?php echo _("Current <code>restapi.service</code> status is displayed below."); ?></p>
<div class="row"> <div class="row">
<div class="mb-3 col-md-8 mt-2"> <div class="mb-3 col-md-8 mt-2">
<textarea class="logoutput"><?php echo htmlspecialchars($serviceLog, ENT_QUOTES); ?></textarea> <textarea class="logoutput text-secondary"><?php echo htmlspecialchars($serviceLog, ENT_QUOTES); ?></textarea>
</div> </div>
</div> </div>
</div><!-- /.tab-pane --> </div><!-- /.tab-pane -->

View file

@ -9,7 +9,7 @@ include('includes/sysstats.php');
<div class="col-lg-6"> <div class="col-lg-6">
<h4 class="mt-3"><?php echo _("System Information"); ?></h4> <h4 class="mt-3"><?php echo _("System Information"); ?></h4>
<div class="row ms-1"> <div class="row ms-1">
<div class="col-sm-8"> <div class="col-sm-10">
<div class="row mb-1"> <div class="row mb-1">
<div class="info-item col"><?php echo _("Hostname"); ?></div><div class="info-value col"><?php echo htmlspecialchars($hostname, ENT_QUOTES); ?></div> <div class="info-item col"><?php echo _("Hostname"); ?></div><div class="info-value col"><?php echo htmlspecialchars($hostname, ENT_QUOTES); ?></div>
</div> </div>

View file

@ -11,7 +11,7 @@
<?php <?php
exec('sudo chmod o+r /tmp/wireguard.log'); exec('sudo chmod o+r /tmp/wireguard.log');
$log = file_get_contents('/tmp/wireguard.log'); $log = file_get_contents('/tmp/wireguard.log');
echo '<textarea class="logoutput my-3">'.htmlspecialchars($log, ENT_QUOTES).'</textarea>'; echo '<textarea class="logoutput text-secondary my-3">'.htmlspecialchars($log, ENT_QUOTES).'</textarea>';
?> ?>
</div> </div>
</div><!-- /.row --> </div><!-- /.row -->