mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-10 04:19:38 +02:00
chenged Disabled/Enabled to badges
This commit is contained in:
parent
1e37340db8
commit
5373de3651
@ -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;
|
||||
|
@ -5,6 +5,7 @@
|
||||
@import "../node_modules/bootstrap-fileinput/scss/fileinput";
|
||||
|
||||
@import "scss/buttons";
|
||||
@import "scss/badges";
|
||||
@import "scss/adminLTE3-box";
|
||||
|
||||
@import "scss/sidebar";
|
||||
|
@ -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
4
ui/scss/badges.scss
Normal file
@ -0,0 +1,4 @@
|
||||
.badge {
|
||||
border-radius: 0;
|
||||
padding: 5px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user