1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Fix indents

This commit is contained in:
billz 2020-02-03 09:48:58 +00:00
parent 5f0e2b3f11
commit e250fa211a

128
index.php
View File

@ -124,72 +124,72 @@ if ($_COOKIE['sidebarToggled'] == 'true' ) {
<div class="info-item-xs"><span class="icon"><i class="fas fa-circle <?php echo ($cputemp_led); ?>"></i></span> CPU Temp: <?php echo htmlspecialchars($cputemp, ENT_QUOTES); ?>°C</div> <div class="info-item-xs"><span class="icon"><i class="fas fa-circle <?php echo ($cputemp_led); ?>"></i></span> CPU Temp: <?php echo htmlspecialchars($cputemp, ENT_QUOTES); ?>°C</div>
</div> </div>
</div> </div>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=wlan0_info"><i class="fas fa-tachometer-alt fa-fw mr-2"></i><span class="nav-label"><?php echo _("Dashboard"); ?></span></a> <a class="nav-link" href="index.php?page=wlan0_info"><i class="fas fa-tachometer-alt fa-fw mr-2"></i><span class="nav-label"><?php echo _("Dashboard"); ?></span></a>
</li> </li>
<?php if (RASPI_WIFICLIENT_ENABLED) : ?> <?php if (RASPI_WIFICLIENT_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=wpa_conf"><i class="fas fa-wifi fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure WiFi client"); ?></span></a> <a class="nav-link" href="index.php?page=wpa_conf"><i class="fas fa-wifi fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure WiFi client"); ?></span></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_HOTSPOT_ENABLED) : ?> <?php if (RASPI_HOTSPOT_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=hostapd_conf"><i class="far fa-dot-circle fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure hotspot"); ?></a> <a class="nav-link" href="index.php?page=hostapd_conf"><i class="far fa-dot-circle fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure hotspot"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_NETWORK_ENABLED) : ?> <?php if (RASPI_NETWORK_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=network_conf"><i class="fas fa-network-wired fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure networking"); ?></a> <a class="nav-link" href="index.php?page=network_conf"><i class="fas fa-network-wired fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure networking"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_DHCP_ENABLED) : ?> <?php if (RASPI_DHCP_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=dhcpd_conf"><i class="fas fa-exchange-alt fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure DHCP Server"); ?></a> <a class="nav-link" href="index.php?page=dhcpd_conf"><i class="fas fa-exchange-alt fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure DHCP Server"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_OPENVPN_ENABLED) : ?> <?php if (RASPI_OPENVPN_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=openvpn_conf"><i class="fas fa-key fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure OpenVPN"); ?></a> <a class="nav-link" href="index.php?page=openvpn_conf"><i class="fas fa-key fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure OpenVPN"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_TORPROXY_ENABLED) : ?> <?php if (RASPI_TORPROXY_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=torproxy_conf"><i class="fas fa-eye-slash fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure TOR proxy"); ?></a> <a class="nav-link" href="index.php?page=torproxy_conf"><i class="fas fa-eye-slash fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure TOR proxy"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_CONFAUTH_ENABLED) : ?> <?php if (RASPI_CONFAUTH_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=auth_conf"><i class="fas fa-user-lock fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure Auth"); ?></a> <a class="nav-link" href="index.php?page=auth_conf"><i class="fas fa-user-lock fa-fw mr-2"></i><span class="nav-label"><?php echo _("Configure Auth"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_CHANGETHEME_ENABLED) : ?> <?php if (RASPI_CHANGETHEME_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=theme_conf"><i class="fas fa-paint-brush fa-fw mr-2"></i><span class="nav-label"><?php echo _("Change Theme"); ?></a> <a class="nav-link" href="index.php?page=theme_conf"><i class="fas fa-paint-brush fa-fw mr-2"></i><span class="nav-label"><?php echo _("Change Theme"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_VNSTAT_ENABLED) : ?> <?php if (RASPI_VNSTAT_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=data_use"><i class="fas fa-chart-bar fa-fw mr-2"></i><span class="nav-label"><?php echo _("Data usage"); ?></a> <a class="nav-link" href="index.php?page=data_use"><i class="fas fa-chart-bar fa-fw mr-2"></i><span class="nav-label"><?php echo _("Data usage"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if (RASPI_SYSTEM_ENABLED) : ?> <?php if (RASPI_SYSTEM_ENABLED) : ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=system_info"><i class="fas fa-cube fa-fw mr-2"></i><span class="nav-label"><?php echo _("System"); ?></a> <a class="nav-link" href="index.php?page=system_info"><i class="fas fa-cube fa-fw mr-2"></i><span class="nav-label"><?php echo _("System"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="index.php?page=about"><i class="fas fa-info-circle fa-fw mr-2"></i><span class="nav-label"><?php echo _("About RaspAP"); ?></a> <a class="nav-link" href="index.php?page=about"><i class="fas fa-info-circle fa-fw mr-2"></i><span class="nav-label"><?php echo _("About RaspAP"); ?></a>
</li> </li>
<!-- Divider --> <!-- Divider -->
<hr class="sidebar-divider d-none d-md-block"> <hr class="sidebar-divider d-none d-md-block">
<!-- Sidebar Toggler (Sidebar) --> <!-- Sidebar Toggler (Sidebar) -->
<div class="text-center d-none d-md-block"> <div class="text-center d-none d-md-block">
<button class="rounded-circle border-0" id="sidebarToggle"></button> <button class="rounded-circle border-0" id="sidebarToggle"></button>
</div> </div>
</ul> </ul>
<!-- End of Sidebar --> <!-- End of Sidebar -->
<!-- Content Wrapper --> <!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column"> <div id="content-wrapper" class="d-flex flex-column">