Commit a7d73bfd authored by Franco Fichtner's avatar Franco Fichtner

src: use fa-fw to align icons for #562

While there, move some stray menu items to their respective module
menu and minimise the padding of the menu to reclaim the space added
by the fixed-width icon behaviour.

Looking good!  :)

Suggested by: @8191
parent 10973d6e
<menu>
<!-- Plugin Captiveportal menu -->
<Services order="4" cssClass="glyphicon glyphicon-cog">
<CaptivePortal VisibleName="Captive Portal" cssClass="fa fa-paper-plane-o">
<Administration order="1" url="/ui/captiveportal/"/>
<Sessions order="2" url="/ui/captiveportal/session/"/>
<Vouchers order="10" url="/ui/captiveportal/voucher/"/>
<Log order="99" VisibleName="Log File" url="/diag_logs_auth.php"/>
<Services>
<CaptivePortal VisibleName="Captive Portal" cssClass="fa fa-paper-plane-o fa-fw">
<Administration order="10" url="/ui/captiveportal/"/>
<Sessions order="20" url="/ui/captiveportal/session/"/>
<Vouchers order="30" url="/ui/captiveportal/voucher/"/>
<Log order="40" VisibleName="Log File" url="/diag_logs_auth.php"/>
</CaptivePortal>
</Services>
</menu>
<menu>
<System>
<Health order="0" url="/ui/diagnostics/systemhealth/" cssClass="fa fa-heartbeat"/>
<Health order="0" url="/ui/diagnostics/systemhealth/" cssClass="fa fa-heartbeat fa-fw"/>
<Diagnostics>
<Activity order="10" VisibleName="Activity Monitor" url="/ui/diagnostics/activity/"/>
</Diagnostics>
......
<menu>
<!-- Plugin IDS menu -->
<Services order="4" cssClass="glyphicon glyphicon-cog">
<IDS VisibleName="Intrusion Detection" url="/ui/ids/" cssClass="fa fa-shield"/>
<Services>
<IDS VisibleName="Intrusion Detection" url="/ui/ids/" cssClass="fa fa-shield fa-fw"/>
</Services>
</menu>
<menu>
<Services>
<Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt">
<Administration url="/ui/proxy/"/>
<Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt fa-fw">
<Administration order="10" url="/ui/proxy/"/>
<Log VisibleName="Log File" order="20" url="/diag_logs_proxy.php?type=cache">
<More url="/diag_logs_proxy.php*"/>
</Log>
</Proxy>
</Services>
</menu>
<menu>
<Firewall>
<TrafficShaper order="40" VisibleName="Traffic Shaper" cssClass="fa fa-filter">
<Settings url="/ui/trafficshaper/"/>
<TrafficShaper order="40" VisibleName="Traffic Shaper" cssClass="fa fa-filter fa-fw">
<Settings order="10" url="/ui/trafficshaper/"/>
<Status order="20" url="/diag_limiter_info.php"/>
</TrafficShaper>
</Firewall>
</menu>
......@@ -21,7 +21,7 @@
.list-group-item {
position: relative;
display: block;
padding: 6px 20px;
padding: 6px 8px;
// Place the border on the list items and negative margin up for better styling
margin-bottom: -1px;
background-color: $list-group-bg;
......
......@@ -4307,7 +4307,7 @@ a.thumbnail.active {
.list-group-item {
position: relative;
display: block;
padding: 6px 20px;
padding: 6px 8px;
margin-bottom: -1px;
background-color: #fff; }
.list-group-item:last-child {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment