mirror of
https://github.com/itflow-org/itflow
synced 2026-09-15 03:05:14 +00:00
Dark Mode Patches across the board for Calendar TinyMCE additonal dark mode css fixed and fixing autofocus on modal close when modal is open without a form autofocus
This commit is contained in:
@@ -806,8 +806,7 @@ if ($user_config_dashboard_technical_enable == 1) {
|
||||
|
||||
<script>
|
||||
// Bootstrap-like defaults for Chart.js v4
|
||||
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.color = '#292b2c';
|
||||
var itflowChart = itflowChartDefaults();
|
||||
|
||||
// CASH FLOW
|
||||
(function () {
|
||||
@@ -882,11 +881,11 @@ if ($user_config_dashboard_technical_enable == 1) {
|
||||
{
|
||||
label: "Projected",
|
||||
fill: false,
|
||||
borderColor: "black",
|
||||
pointBackgroundColor: "black",
|
||||
pointBorderColor: "black",
|
||||
borderColor: itflowChart.text,
|
||||
pointBackgroundColor: itflowChart.text,
|
||||
pointBorderColor: itflowChart.text,
|
||||
pointHoverRadius: 5,
|
||||
pointHoverBackgroundColor: "black",
|
||||
pointHoverBackgroundColor: itflowChart.text,
|
||||
pointBorderWidth: 2,
|
||||
data: [
|
||||
<?php
|
||||
@@ -945,7 +944,7 @@ if ($user_config_dashboard_technical_enable == 1) {
|
||||
min: 0,
|
||||
max: <?php $max = max(1000, $largest_expense_month, $largest_income_month, $largest_invoice_month); echo roundUpToNearestMultiple($max); ?>,
|
||||
ticks: { maxTicksLimit: 5 },
|
||||
grid: { color: "rgba(0, 0, 0, .125)" }
|
||||
grid: { color: itflowChart.grid }
|
||||
}
|
||||
},
|
||||
plugins: {
|
||||
@@ -1006,7 +1005,7 @@ if ($user_config_dashboard_technical_enable == 1) {
|
||||
min: 0,
|
||||
max: <?php $max = max(1000, $largest_trip_miles_month); echo roundUpToNearestMultiple($max); ?>,
|
||||
ticks: { maxTicksLimit: 5 },
|
||||
grid: { color: "rgba(0, 0, 0, .125)" }
|
||||
grid: { color: itflowChart.grid }
|
||||
},
|
||||
},
|
||||
plugins: {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
<div class="modal" id="addTicketModal">
|
||||
<div class="modal" id="addTicketModal" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header bg-dark">
|
||||
|
||||
@@ -126,8 +126,7 @@ $largest_expense_month = 0;
|
||||
|
||||
<script>
|
||||
// Bootstrap-like defaults for Chart.js v4
|
||||
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.color = '#292b2c';
|
||||
var itflowChart = itflowChartDefaults();
|
||||
|
||||
// EXPENSES LINE CHART
|
||||
(function () {
|
||||
@@ -183,7 +182,7 @@ $largest_expense_month = 0;
|
||||
echo roundUpToNearestMultiple($max);
|
||||
?>,
|
||||
ticks: { maxTicksLimit: 5 },
|
||||
grid: { color: "rgba(0, 0, 0, .125)" }
|
||||
grid: { color: itflowChart.grid }
|
||||
}
|
||||
},
|
||||
plugins: {
|
||||
|
||||
@@ -128,8 +128,7 @@ $largest_income_month = 0;
|
||||
|
||||
<script>
|
||||
// Bootstrap-like defaults for Chart.js v4
|
||||
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.color = '#292b2c';
|
||||
var itflowChart = itflowChartDefaults();
|
||||
|
||||
// INCOME (Line)
|
||||
(function () {
|
||||
@@ -189,7 +188,7 @@ $largest_income_month = 0;
|
||||
echo roundUpToNearestMultiple($max);
|
||||
?>,
|
||||
ticks: { maxTicksLimit: 5 },
|
||||
grid: { color: "rgba(0, 0, 0, .125)" }
|
||||
grid: { color: itflowChart.grid }
|
||||
}
|
||||
},
|
||||
plugins: {
|
||||
|
||||
@@ -99,8 +99,7 @@ $largest_ticket_month = 0;
|
||||
|
||||
<script>
|
||||
// Bootstrap-like defaults for Chart.js v4
|
||||
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.color = '#292b2c';
|
||||
var itflowChart = itflowChartDefaults();
|
||||
|
||||
(function () {
|
||||
var ctx = document.getElementById("tickets");
|
||||
@@ -151,7 +150,7 @@ $largest_ticket_month = 0;
|
||||
echo function_exists('roundUpToNearestMultiple') ? roundUpToNearestMultiple($max) : $max;
|
||||
?>,
|
||||
ticks: { maxTicksLimit: 5, precision: 0 },
|
||||
grid: { color: "rgba(0, 0, 0, .125)" }
|
||||
grid: { color: itflowChart.grid }
|
||||
}
|
||||
},
|
||||
plugins: {
|
||||
|
||||
Reference in New Issue
Block a user