forked from RaspAP/raspap-webgui
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from necro-nemesis/Customization
Tweaks and changes to the UI
- Loading branch information
Showing
6 changed files
with
86 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* lighttpd (I have version 1.4.31-2 installed via apt) | ||
* php5-cgi (I have version 5.4.4-12 installed via apt) | ||
* along with their supporting packages, php5 will also need to be enabled. | ||
* | ||
* | ||
* @author Lawrence Yau <[email protected]> | ||
* @author Bill Zimmerman <[email protected]> | ||
* @license GNU General Public License, version 3 (GPL-3.0) | ||
|
@@ -118,10 +118,10 @@ | |
<li> | ||
<a href="index.php?page=wlan0_info"><i class="fa fa-dashboard fa-fw"></i> <?php echo _("Dashboard"); ?></a> | ||
</li> | ||
<?php if ( RASPI_WIFICLIENT_ENABLED ) : ?> | ||
<?php if ( RASPI_WIFICLIENT_ENABLED ) : ?> | ||
<li> | ||
<a href="index.php?page=wpa_conf"><i class="fa fa-signal fa-fw"></i> <?php echo _("Configure WiFi client"); ?></a> | ||
</li> | ||
</li> | ||
<?php endif; ?> | ||
<?php if ( RASPI_HOTSPOT_ENABLED ) : ?> | ||
<li> | ||
|
@@ -131,7 +131,7 @@ | |
<?php if ( RASPI_NETWORK_ENABLED ) : ?> | ||
<li> | ||
<a href="index.php?page=network_conf"><i class="fa fa-sitemap fa-fw"></i> <?php echo _("Configure networking"); ?></a> | ||
</li> | ||
</li> | ||
<?php endif; ?> | ||
<?php if ( RASPI_DHCP_ENABLED ) : ?> | ||
<li> | ||
|
@@ -143,7 +143,7 @@ | |
<a href="index.php?page=openvpn_conf"><i class="fa fa-lock fa-fw"></i> <?php echo _("Configure OpenVPN"); ?></a> | ||
</li> | ||
<?php endif; ?> | ||
<?php if ( RASPI_LOKINET_ENABLED ) : ?> | ||
<?php if ( RASPI_LOKINET_ENABLED ) : ?> | ||
<li> | ||
<a href="index.php?page=lokinet_conf"><i class="fa fa-eye-slash fa-fw"></i> <?php echo _("Configure Lokinet"); ?></a> | ||
</li> | ||
|
@@ -171,6 +171,8 @@ | |
<li> | ||
<a href="index.php?page=system_info"><i class="fa fa-cube fa-fw"></i> <?php echo _("System"); ?></a> | ||
</li> | ||
</div> | ||
</div> | ||
</ul> | ||
</div><!-- /.navbar-collapse --> | ||
</div><!-- /.navbar-default --> | ||
|
@@ -187,7 +189,7 @@ | |
</div> | ||
</div><!-- /.row --> | ||
|
||
<?php | ||
<?php | ||
$extraFooterScripts = array(); | ||
// handle page actions | ||
switch( $page ) { | ||
|
@@ -209,7 +211,7 @@ | |
case "openvpn_conf": | ||
DisplayOpenVPNConfig(); | ||
break; | ||
case "lokinet_conf": | ||
case "lokinet_conf": | ||
DisplayLokinetConfig(); | ||
break; | ||
case "torproxy_conf": | ||
|
@@ -235,7 +237,7 @@ | |
} | ||
|
||
?> | ||
</div><!-- /#page-wrapper --> | ||
</div><!-- /#page-wrapper --> | ||
</div><!-- /#wrapper --> | ||
|
||
<!-- RaspAP JavaScript --> | ||
|
@@ -256,6 +258,9 @@ | |
<!-- Custom RaspAP JS --> | ||
<script src="js/custom.js"></script> | ||
|
||
|
||
|
||
|
||
<?php | ||
// Load non default JS/ECMAScript in footer. | ||
foreach ($extraFooterScripts as $script) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,5 +148,3 @@ $().ready(function(){ | |
break; | ||
} | ||
}); | ||
|
||
|