Ticket #5248 style panels within widgets differently

This commit is contained in:
Jared Dillard 2015-10-12 12:28:33 -05:00
parent fd22b964b9
commit 05dc797658
2 changed files with 7 additions and 8 deletions

View File

@ -228,6 +228,10 @@ form .btn + .btn {
}
/** Homepage / dashboard */
.widget .panel-heading {
background-color: #757575;
}
#widgetSequence {
position: fixed;
left: 0;

View File

@ -148,7 +148,7 @@ $clients = openvpn_get_active_clients();
<div class="content">
<?php foreach ($servers as $server): ?>
<div class="panel panel-default">
<div class="widget panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=htmlspecialchars($server['name']);?></h2></div>
<div class="table-responsive">
<table class="table table striped table-hover table-condensed">
@ -190,18 +190,13 @@ $clients = openvpn_get_active_clients();
</tr>
<?php endforeach; ?>
</tbody>
<tfoot>
<tr>
<td colspan="3" class="list" height="12"></td>
</tr>
</tfoot>
</table>
</div>
</div>
<?php endforeach; ?>
<?php if (!empty($sk_servers)) { ?>
<div class="panel panel-default">
<div class="widget panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Peer to Peer Server Instance Statistics");?></h2></div>
<div class="table-responsive">
<table class="table table striped table-hover table-condensed">
@ -251,7 +246,7 @@ $clients = openvpn_get_active_clients();
<?php
} ?>
<?php if (!empty($clients)) { ?>
<div class="panel panel-default">
<div class="widget panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Client Instance Statistics");?></h2></div>
<div class="table-responsive">
<table class="table table striped table-hover table-condensed">