61 lines
7.2 KiB
JavaScript
61 lines
7.2 KiB
JavaScript
var notifyconfig = {
|
|
soundToTestnotifys: 'example.mp3',
|
|
alert_types: {
|
|
info: {
|
|
color: 'bg-blue-800',
|
|
iconColor: 'text-blue-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-solid fa-exclamation', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
error: {
|
|
color: 'bg-red-800',
|
|
iconColor: 'text-red-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-solid fa-xmark', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
success: {
|
|
color: 'bg-green-800',
|
|
iconColor: 'text-green-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-solid fa-check', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
warning: {
|
|
color: 'bg-orange-800',
|
|
iconColor: 'text-orange-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-solid fa-triangle-exclamation', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
phone: {
|
|
color: 'bg-purple-800',
|
|
iconColor: 'text-purple-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-solid fa-phone', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
ambulance: {
|
|
color: 'bg-red-600',
|
|
iconColor: 'text-red-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-solid fa-truck-medical', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
police: {
|
|
color: 'bg-red-800',
|
|
iconColor: 'text-red-200',
|
|
textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
icon: 'fa-duotone fa-user-police', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
soundPathOrURL: 'example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
},
|
|
// custom: { // add custom styles for you notify change custom to the name of the notify
|
|
// color: 'bg-red-800',
|
|
// iconColor: 'text-red-200',
|
|
// textClass: 'ml-3 text-sm font-normal', // use to customize the text of the alert, you can use your own clases or use tailwind css instead: https://tailwindcss.com/docs/text-color example: text-[#HEXCOLOR]
|
|
// icon: 'fa-duotone fa-user-police', // font awesome icon: https://fontawesome.com/icons | EXAMPLE: <i class="fa-solid fa-cat"></i> put only the class: fa-solid fa-cat and u can customize using tailwind css example: fa-solid fa-icon h-40 w-40
|
|
// soundPathOrURL: './sound/example.mp3' // the path of the audio file to play when the alert is displayed. In this case, it is example.mp3, the file must be located in the path /html/sound/ you can also use discord URLS like the following https://cdn.discordapp.com/attachments/1042989146886656180/1094437032740261889/popup.mp3
|
|
// }
|
|
}
|
|
} |