BIIIG Javascript reworking, split into multiple files
This commit is contained in:
parent
91337ac477
commit
1733dc58f5
17 changed files with 281 additions and 388 deletions
26
static/js/constants.js
Normal file
26
static/js/constants.js
Normal file
|
@ -0,0 +1,26 @@
|
|||
const discStatuses = {
|
||||
"online": {
|
||||
"text": "Online",
|
||||
"color": "rgb(100, 255, 100)"
|
||||
},
|
||||
"dnd": {
|
||||
"text": "DND",
|
||||
"color": "rgb(255, 100, 100)"
|
||||
},
|
||||
"idle": {
|
||||
"text": "Idle",
|
||||
"color": "rgb(255, 255, 75)"
|
||||
},
|
||||
"offline": {
|
||||
"text": "",
|
||||
"color": "rgb(175, 175, 200)"
|
||||
}
|
||||
}
|
||||
|
||||
var teto = false
|
||||
|
||||
var date = new Date()
|
||||
|
||||
if (date.getDay() == 2) {
|
||||
teto = true
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue