chenged Disabled/Enabled to badges

This commit is contained in:
knoxfighter 2018-08-08 23:51:47 +02:00
parent 1e37340db8
commit 5373de3651
4 changed files with 8 additions and 3 deletions

View File

@ -97,9 +97,9 @@ class Mod extends React.Component {
render() {
let modStatus;
if(this.props.mod.enabled === false) {
modStatus = <span className="label label-danger">Disabled</span>
modStatus = <span className="badge badge-danger">Disabled</span>
} else {
modStatus = <span className="label label-success">Enabled</span>
modStatus = <span className="badge badge-success">Enabled</span>
}
let version;

View File

@ -5,6 +5,7 @@
@import "../node_modules/bootstrap-fileinput/scss/fileinput";
@import "scss/buttons";
@import "scss/badges";
@import "scss/adminLTE3-box";
@import "scss/sidebar";

View File

@ -35,7 +35,7 @@
.box-body {
border-radius: 0 0 3px 3px;
padding: 10px;
font-size: 13px;
font-size: 14px;
h4 {
font-size: 18px;

4
ui/scss/badges.scss Normal file
View File

@ -0,0 +1,4 @@
.badge {
border-radius: 0;
padding: 5px;
}