optimize status page style

This commit is contained in:
MaysWind 2016-11-06 16:13:05 +08:00
parent bac2551547
commit 530f391392
3 changed files with 11 additions and 5 deletions

View file

@ -42,10 +42,6 @@
font-weight: normal;
}
.settings-table .wholeline {
display: block;
}
.settings-table .setting-value .form-group {
margin-bottom: 0;
}

View file

@ -48,6 +48,11 @@
padding-left: 0;
}
.checkbox-compact {
margin-top: 2px;
margin-bottom: 2px;
}
/* angular-dragula extend */
.gu-mirror {
cursor: grabbing;

View file

@ -30,7 +30,12 @@
<span translate>Enabled Features</span>
</div>
<div class="setting-value col-sm-8">
<span class="wholeline" ng-repeat="feature in context.serverStatus.enabledFeatures" ng-bind="feature"></span>
<div class="checkbox checkbox-primary checkbox-compact" ng-repeat="feature in context.serverStatus.enabledFeatures">
<input id="{{'feature_' + $index}}" type="checkbox" checked="checked" disabled="disabled"/>
<label for="{{'feature_' + $index}}">
<span ng-bind="feature"></span>
</label>
</div>
</div>
</div>
<div class="row ng-cloak" ng-if="context.serverStatus">