mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 14:02:54 +09:00
* Fixes for Issues 1781, 1782 and 1784 This patch corrects the following issues: - #1782 During Install, changing the Theme from Modern to another theme has no effect - #1784 During Install, changing the Language from one to another has no effect - #1781 Installer does not warn when mysql optimizations not set As part of #1781's fixes, a new warning icon is displayed instead of a thumbs up or down. Additionally, recommendations have been revamped so that the ones which are optionally (and some even state can be ignored) are now optional! Also, introduced the correct calculation for innodb instances by taking the buffer size during a previous recommendation and calculating from that. If the buffer size is never found or the calcuation finds less than 1 instances are recommended, a minimum of 1 is set. The main reason for #1782 and #1784's issues were caused by renaming index.php to install.php as part of the recent security update (see PR #1747). Updated the javascript to use the correct install.php and then removed some extra data that was being returned outside of StepData unnecessarily. * Further fixes This update corrects a number of issues with the database upgrading code, adds the 'debug' plugin from cigamit, improves database functions to be more consistent with errors across all functions and various installer based fixes for the display and update of database upgrades. It also brings a more visual response to the cli/upgrade_database.php so that end users are not left wondering if something is happening. Also, reviewed all upgrade scripts to ensure that an upgrade from 0.8.8 through to 1.2.0 is possible even if a previous database upgrade have been done. * Fix QA issue with 'path_cactilog' Due to some code reshuffle and testing, found that the above setting was being read via read_config_option() before there was a database open so no path was ever detected unless the force option was used.
220 lines
3.2 KiB
CSS
220 lines
3.2 KiB
CSS
input, select {
|
|
font-size: 12px;
|
|
padding: 0.4em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
h2 {
|
|
display: block /* !important; */
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
h3 {
|
|
display: block /* !important; */
|
|
font-size: 1.2em;
|
|
border-bottom: 1px dashed black;
|
|
}
|
|
|
|
p {
|
|
margin: 5px 0px 10px 0px !important;
|
|
}
|
|
|
|
body {
|
|
overflow: auto;
|
|
}
|
|
|
|
label {
|
|
vertical-align: 10%;
|
|
}
|
|
|
|
.cactiInstallTable {
|
|
width: 90%;
|
|
min-width: 400px;
|
|
max-width: 900px;
|
|
min-height: 200px;
|
|
height: 90%;
|
|
max-height: 90%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.cactiInstallTableTitleRow {
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
}
|
|
|
|
.cactiInstallArea {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
height: 90%;
|
|
width: 100%;
|
|
padding: 0px;
|
|
}
|
|
|
|
.cactiInstallAreaContent {
|
|
padding: 5px;
|
|
}
|
|
|
|
.cactiInstallButtonArea {
|
|
min-height: 24px;
|
|
margin: 2px 0px;
|
|
width: 100%;
|
|
text-align: left !important;
|
|
padding: 1px;
|
|
}
|
|
|
|
.cactiTableTitleRow .textHeaderDark {
|
|
padding: 0px 5px;
|
|
}
|
|
|
|
.cactiInstallSection, .cactiInstallSectionTitle, .cactiInstallSectionNormal {
|
|
padding: 0px;
|
|
}
|
|
|
|
.cactiInstallSectionTitle {
|
|
font-weight: bold;
|
|
padding-bottom: 5px;
|
|
cursor: pointer;
|
|
margin: 4px 0px 4px 0px;
|
|
}
|
|
|
|
.installSubSection {
|
|
}
|
|
|
|
.cactiInstallSectionTitleError {
|
|
color: red;
|
|
}
|
|
|
|
.cactiInstallSectionCode, .cactiInstallSqlResults {
|
|
font-family: consolas,courier new;
|
|
border: 1px dashed #999;
|
|
margin: 10px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.cactiInstallCopyrightArea {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.cactiInstallValid {
|
|
float: right;
|
|
width: 20px;
|
|
}
|
|
|
|
.cactiInstallProgressLeft {
|
|
width: 10%;
|
|
}
|
|
|
|
.cactiInstallPRogressCenter {
|
|
width: 10%;
|
|
}
|
|
|
|
.cactiInstallProgressRight {
|
|
width: 80%;
|
|
align: right;
|
|
}
|
|
|
|
#cactiInstallProgressBar {
|
|
width: 100%;
|
|
height: 22px;
|
|
background-color: #0A5F44;
|
|
}
|
|
|
|
#cactiInstallProgressBar div {
|
|
height: 100%;
|
|
text-align: right;
|
|
line-height: 22px; /* same as #progressBar height if we want text middle aligned */
|
|
width: 0px;
|
|
background-color: #CBEA00;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#cactiInstallProgressCountdown {
|
|
width: 100%;
|
|
height: 22px;
|
|
background-color: #0A5F44;
|
|
}
|
|
|
|
#cactiInstallProgressCountdown div {
|
|
height: 100%;
|
|
text-align: right;
|
|
line-height: 22px; /* same as #progressCountdown height if we want text middle aligned */
|
|
width: 0px;
|
|
background-color: #CBEA00;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.cactiInstallSqlResults {
|
|
display: table;
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.cactiInstallSqlRow {
|
|
}
|
|
|
|
.cactiInstallSqlSuccess {
|
|
color: green;
|
|
}
|
|
|
|
.cactiInstallSqlFailure {
|
|
color: red;
|
|
}
|
|
|
|
.cactiInstallSqlWarning {
|
|
color: orange;
|
|
}
|
|
|
|
.cactiInstallSqlSkipped {
|
|
color: gray;
|
|
}
|
|
|
|
.cactiInstallSqlLeft, .cactInstallSqlRight {
|
|
display: table-cell;
|
|
width: 100%;
|
|
}
|
|
|
|
.cactiInstallSqlRow, .cactiInstallSqlLeft, .cactInstallSqlRight {
|
|
padding: 5px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.cactiInstallSqlIcon {
|
|
width: 50px;
|
|
text-align: center;
|
|
padding: 5px;
|
|
}
|
|
|
|
.flag-icon {
|
|
float: right;
|
|
}
|
|
|
|
.cactiInstallSectionNote {
|
|
font-family: consolas;
|
|
font-family: courier-new;
|
|
font-family: monospace;
|
|
font-style: italic;
|
|
}
|
|
|
|
.cactiInstallSectionNoteTitle, .cactiInstallSectionWarningTitle, .cactiInstallSectionErrorTitle {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.cactiInstallSectionNoteTitle {
|
|
color: #00ae42;
|
|
}
|
|
|
|
.cactiInstallSectionWarningTitle {
|
|
color: #ffae42;
|
|
}
|
|
|
|
.cactiInstallSectionErrorTitle {
|
|
color: #ff0000;
|
|
}
|