Feature: Introduced Color Themes - Changes navbar color and accent button color on sidenav - To change theme goto settings - theme - select a theme watch it change in real time

This commit is contained in:
johnnyq
2023-01-19 18:00:35 -05:00
parent f21bb7cbe9
commit 6232a8311b
10 changed files with 110 additions and 9 deletions

View File

@@ -446,11 +446,18 @@ if(LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION){
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.2.8'");
}
//if(CURRENT_DATABASE_VERSION == '0.2.8'){
// Insert queries here required to update to DB version 0.2.9
if(CURRENT_DATABASE_VERSION == '0.2.8'){
mysqli_query($mysqli, "ALTER TABLE `settings` ADD `config_theme` VARCHAR(200) DEFAULT 'blue' AFTER `config_module_enable_ticketing`");
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.2.9'");
}
//if(CURRENT_DATABASE_VERSION == '0.2.9'){
// Insert queries here required to update to DB version 0.3.0
// Then, update the database to the next sequential version
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.2.9'");
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.3.0'");
//}