diff --git a/package.json b/package.json index 393746f..6471c9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "neutral", - "version": "1.0.2", + "version": "1.0.3", "description": "Panel d'administration de Raphix", "main": "index.js", "scripts": { diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 43e756a..478cb62 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -712,11 +712,8 @@ a { /* ===== Scrollbar CSS ===== */ - /* Firefox */ - * { - scrollbar-width: auto; - scrollbar-color: #ff5d51 #ffffff; - } + + /* Chrome, Edge, and Safari */ *::-webkit-scrollbar { @@ -724,7 +721,7 @@ a { } *::-webkit-scrollbar-track { - background: transparent; + background: transparent; } *::-webkit-scrollbar-thumb { @@ -1265,8 +1262,8 @@ a { display: flex; flex-direction: column; gap: 10px; - align-items: center; font-size: 14px; + padding: 5px; } .metric-id { @@ -1278,8 +1275,10 @@ a { .metric-data { - display: flex; + display: grid; align-items: center; + grid-template-columns: 1fr 1fr; + justify-content: center; gap: 30px; } @@ -1289,6 +1288,8 @@ a { color: #c0c0c0; } + + .metric-data-value { color: #c7c7c7; diff --git a/routes/index.js b/routes/index.js index 740a184..0e1ee89 100644 --- a/routes/index.js +++ b/routes/index.js @@ -10,7 +10,15 @@ router.get('/', function(req, res, next) { res.redirect(302, "/login") } else { - res.render('index'); + if(process.env.DEV ) { + + res.render('index', {dev: "

DÉVELOPEMENT

"}); + } else { + + res.render('index', {dev: ""}); + } + + } }); diff --git a/views/index.ejs b/views/index.ejs index ee7d080..156382f 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -7,6 +7,7 @@
+

Aucune permission ne semble vous êtes accordée
Demandez à Raphix afin de résoudre ce problème

@@ -27,7 +28,7 @@
- + <%- dev %>