mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#10194 change in graph
This commit is contained in:
parent
a02482ac5d
commit
e3e7328a01
@ -725,6 +725,12 @@ function get_build_setup_charts($type, $options, $data)
|
|||||||
$chart->options()->getElements()->center()->setColor($options['elements']['center']['color']);
|
$chart->options()->getElements()->center()->setColor($options['elements']['center']['color']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($options['elements']['point']) === true) {
|
||||||
|
if (isset($options['elements']['point']['radius']) === true) {
|
||||||
|
$chart->options()->getElements()->point()->setRadius($options['elements']['point']['radius']);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set Responsive for responsive charts.
|
// Set Responsive for responsive charts.
|
||||||
|
@ -205,6 +205,7 @@ class Alerts extends Element
|
|||||||
$rows = db_process_sql($sql);
|
$rows = db_process_sql($sql);
|
||||||
|
|
||||||
foreach ($rows as $key => $row) {
|
foreach ($rows as $key => $row) {
|
||||||
|
$rows[$key]['id_user'] = '<a href="index.php?sec=gusuarios&sec2=godmode/users/configure_user&edit_user=1&pure=0&id_user='.$row['id_user'].'">'.$row['id_user'].'</a>';
|
||||||
if ((bool) $row['is_admin'] === true) {
|
if ((bool) $row['is_admin'] === true) {
|
||||||
$rows[$key]['is_admin'] = '<span class="admin">'.__('Admin').'</span>';
|
$rows[$key]['is_admin'] = '<span class="admin">'.__('Admin').'</span>';
|
||||||
} else {
|
} else {
|
||||||
|
@ -215,6 +215,7 @@ class Database extends Element
|
|||||||
'display' => false,
|
'display' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'elements' => [ 'point' => [ 'radius' => 0 ] ],
|
||||||
];
|
];
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
@ -289,6 +290,7 @@ class Database extends Element
|
|||||||
'display' => false,
|
'display' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'elements' => [ 'point' => [ 'radius' => 0 ] ],
|
||||||
];
|
];
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
|
@ -310,6 +310,7 @@ class Overview extends Element
|
|||||||
'display' => false,
|
'display' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'elements' => [ 'point' => [ 'radius' => 0 ] ],
|
||||||
];
|
];
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
|
@ -81,7 +81,8 @@
|
|||||||
.subtitle {
|
.subtitle {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #161628;
|
color: #161628;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 5px;
|
||||||
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
.subtitle.link {
|
.subtitle.link {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user