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> <menu>
<!-- Plugin Captiveportal menu --> <Services>
<Services order="4" cssClass="glyphicon glyphicon-cog"> <CaptivePortal VisibleName="Captive Portal" cssClass="fa fa-paper-plane-o fa-fw">
<CaptivePortal VisibleName="Captive Portal" cssClass="fa fa-paper-plane-o"> <Administration order="10" url="/ui/captiveportal/"/>
<Administration order="1" url="/ui/captiveportal/"/> <Sessions order="20" url="/ui/captiveportal/session/"/>
<Sessions order="2" url="/ui/captiveportal/session/"/> <Vouchers order="30" url="/ui/captiveportal/voucher/"/>
<Vouchers order="10" url="/ui/captiveportal/voucher/"/> <Log order="40" VisibleName="Log File" url="/diag_logs_auth.php"/>
<Log order="99" VisibleName="Log File" url="/diag_logs_auth.php"/>
</CaptivePortal> </CaptivePortal>
</Services> </Services>
</menu> </menu>
<menu> <menu>
<System> <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> <Diagnostics>
<Activity order="10" VisibleName="Activity Monitor" url="/ui/diagnostics/activity/"/> <Activity order="10" VisibleName="Activity Monitor" url="/ui/diagnostics/activity/"/>
</Diagnostics> </Diagnostics>
......
<menu> <menu>
<!-- Plugin IDS menu --> <Services>
<Services order="4" cssClass="glyphicon glyphicon-cog"> <IDS VisibleName="Intrusion Detection" url="/ui/ids/" cssClass="fa fa-shield fa-fw"/>
<IDS VisibleName="Intrusion Detection" url="/ui/ids/" cssClass="fa fa-shield"/>
</Services> </Services>
</menu> </menu>
<menu> <menu>
<Services> <Services>
<Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt"> <Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt fa-fw">
<Administration url="/ui/proxy/"/> <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> </Proxy>
</Services> </Services>
</menu> </menu>
<menu> <menu>
<Firewall> <Firewall>
<TrafficShaper order="40" VisibleName="Traffic Shaper" cssClass="fa fa-filter"> <TrafficShaper order="40" VisibleName="Traffic Shaper" cssClass="fa fa-filter fa-fw">
<Settings url="/ui/trafficshaper/"/> <Settings order="10" url="/ui/trafficshaper/"/>
<Status order="20" url="/diag_limiter_info.php"/>
</TrafficShaper> </TrafficShaper>
</Firewall> </Firewall>
</menu> </menu>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
.list-group-item { .list-group-item {
position: relative; position: relative;
display: block; display: block;
padding: 6px 20px; padding: 6px 8px;
// Place the border on the list items and negative margin up for better styling // Place the border on the list items and negative margin up for better styling
margin-bottom: -1px; margin-bottom: -1px;
background-color: $list-group-bg; background-color: $list-group-bg;
......
...@@ -4307,7 +4307,7 @@ a.thumbnail.active { ...@@ -4307,7 +4307,7 @@ a.thumbnail.active {
.list-group-item { .list-group-item {
position: relative; position: relative;
display: block; display: block;
padding: 6px 20px; padding: 6px 8px;
margin-bottom: -1px; margin-bottom: -1px;
background-color: #fff; } background-color: #fff; }
.list-group-item:last-child { .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