From 224ce6542e0227395eba4d475ec9cd532dd8165b Mon Sep 17 00:00:00 2001 From: Joshua Sigona Date: Fri, 6 Aug 2021 21:55:50 +0900 Subject: [PATCH] Working on test panel, updated database administrative interface. Co-authored-by: dudleycu --- src/App.js | 15 +++++++++++---- src/TestPanel.js | 2 +- src/style.css | 5 ++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/App.js b/src/App.js index 7ae6004..c027f8a 100644 --- a/src/App.js +++ b/src/App.js @@ -595,7 +595,9 @@ function AdminPanel(p) { Roles
Users

- Database Audit
+ Database Audit
+ Database Manager
+
@@ -669,6 +671,11 @@ function AdminPanel(p) { + +

+

+

+
} @@ -836,7 +843,7 @@ function App() { const [className,setClassName] = useState("RANGER") const [secondaryClassName,setSecondaryClassName] = useState("FORCE") - const [bp,setBP] = useState(1344) + const [bp,setBP] = useState(9999) const [hp,setHP] = useState(289) const [pp,setPP] = useState(100) const [def,setDef] = useState(402) @@ -884,7 +891,7 @@ function App() { const [modalOpen,setModalOpen] = useState(true) - const [BACKENDURL,setBACKENDURL]=useState(process.env.REACT_APP_GITPOD_WORKSPACE_URL||process.env.REACT_APP_BACKENDURL||'https://projectdivar.com:4504') + const [BACKENDURL]=useState(process.env.REACT_APP_GITPOD_WORKSPACE_URL||process.env.REACT_APP_BACKENDURL||'https://projectdivar.com:4504') const [TESTMODE,setTESTMODE] = useState(false) return ( @@ -897,7 +904,7 @@ function App() { - + diff --git a/src/TestPanel.js b/src/TestPanel.js index a34be4d..d27cc46 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -30,7 +30,7 @@ function TestPanel(p) {
-< +
diff --git a/src/style.css b/src/style.css index 3eb02cf..c7d8b31 100644 --- a/src/style.css +++ b/src/style.css @@ -380,14 +380,13 @@ em { white-space: normal; left: 1em; } -.xtooltip { +.xTooltip { margin: 0 10px 0 0; display: inline; cursor: help; } -div.xtooltip div { +[class*="BaseToolTop"] { min-width: 200px; - background-color: rgba(38,53,63,0.9); } .tooltip:hover span { visibility: visible;