From dbede1395eecf6af7aa4f054eeb25147d463cb44 Mon Sep 17 00:00:00 2001 From: knoxfighter Date: Wed, 7 Aug 2019 02:35:01 +0200 Subject: [PATCH] use cards instead of box --- ui/App/components/Mods/ModLoadSave.jsx | 2 +- ui/App/components/Mods/ModManager.jsx | 2 +- ui/App/components/Mods/ModOverview.jsx | 96 +++++--------- ui/App/components/Mods/ModUpload.jsx | 2 +- .../components/Mods/packs/ModPackOverview.jsx | 37 +++--- ui/App/components/ServerCtl/ServerCtl.jsx | 124 ++++++++---------- ui/index.scss | 1 - ui/scss/customizations/adminLTE3-box.scss | 57 -------- ui/scss/customizations/card.scss | 4 + 9 files changed, 112 insertions(+), 213 deletions(-) delete mode 100644 ui/scss/customizations/adminLTE3-box.scss diff --git a/ui/App/components/Mods/ModLoadSave.jsx b/ui/App/components/Mods/ModLoadSave.jsx index 7c62c60..5f566e4 100644 --- a/ui/App/components/Mods/ModLoadSave.jsx +++ b/ui/App/components/Mods/ModLoadSave.jsx @@ -134,7 +134,7 @@ class ModLoadSave extends React.Component { } }); - let classes = "box-body" + " " + this.props.className; + let classes = "card-body" + " " + this.props.className; let ids = this.props.id; return ( diff --git a/ui/App/components/Mods/ModManager.jsx b/ui/App/components/Mods/ModManager.jsx index 569c7ab..ae26421 100644 --- a/ui/App/components/Mods/ModManager.jsx +++ b/ui/App/components/Mods/ModManager.jsx @@ -8,7 +8,7 @@ class ModManager extends React.Component { } render() { - let classes = "box-body" + " " + this.props.className; + let classes = "card-body" + " " + this.props.className; let ids = this.props.id; return ( diff --git a/ui/App/components/Mods/ModOverview.jsx b/ui/App/components/Mods/ModOverview.jsx index 9df8e90..788250a 100644 --- a/ui/App/components/Mods/ModOverview.jsx +++ b/ui/App/components/Mods/ModOverview.jsx @@ -55,18 +55,10 @@ class ModOverview extends React.Component { return(
-