Merge branch 'ent-11526-bugs-en-consolas-visuales' into 'develop'
Ent 11526 Bugs en consolas visuales See merge request artica/pandorafms!6071
This commit is contained in:
commit
a70a6fc060
|
@ -168,8 +168,8 @@ if ($delete_layout || $copy_layout) {
|
|||
|
||||
// ACL for the visual console
|
||||
// $vconsole_read = check_acl ($config['id_user'], $group_id, "VR");
|
||||
$vconsole_write = check_acl_restricted_all($config['id_user'], $group_id, 'VW');
|
||||
$vconsole_manage = check_acl_restricted_all($config['id_user'], $group_id, 'VM');
|
||||
$vconsole_write = check_acl_restricted_all($config['id_user'], $group_id, 'VW', true);
|
||||
$vconsole_manage = check_acl_restricted_all($config['id_user'], $group_id, 'VM', true);
|
||||
|
||||
if (!$vconsole_write && !$vconsole_manage) {
|
||||
db_pandora_audit(
|
||||
|
|
|
@ -1610,3 +1610,7 @@ a.pandora_pagination,
|
|||
.font-title-font {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#visual-console-container a p {
|
||||
color: #3f3f3f;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -105,8 +105,8 @@ export default class Percentile extends Item<PercentileProps> {
|
|||
protected createDomElement(): HTMLElement {
|
||||
const colors = {
|
||||
background: "#000000",
|
||||
progress: this.props.color || "#F0F0F0",
|
||||
text: this.props.labelColor || "#444444"
|
||||
progress: this.props.color || "#000000",
|
||||
text: this.props.labelColor || "#bcbcbc"
|
||||
};
|
||||
// Progress.
|
||||
const progress = this.getProgress();
|
||||
|
@ -148,10 +148,10 @@ export default class Percentile extends Item<PercentileProps> {
|
|||
text.setAttribute("font-size", "15");
|
||||
text.setAttribute("font-family", "lato");
|
||||
text.setAttribute("font-weight", "bold");
|
||||
text.setAttribute(
|
||||
"transform",
|
||||
`translate(${this.props.width / 2}, 17.5)`
|
||||
);
|
||||
text.setAttribute("text-anchor", `middle`);
|
||||
text.setAttribute("alignment-baseline", `middle`);
|
||||
text.setAttribute("x", `50%`);
|
||||
text.setAttribute("y", `50%`);
|
||||
text.setAttribute("fill", colors.text);
|
||||
|
||||
if (this.props.valueType === "value") {
|
||||
|
|
Loading…
Reference in New Issue