mirror of https://github.com/MISP/MISP
chg: [peridioc_notification] Small UI improvement for email rendering
parent
43db6f02ff
commit
111dc2727b
|
@ -354,6 +354,7 @@ if (!function_exists('computeLinePositions')) {
|
|||
}
|
||||
|
||||
.x-axis-label {
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
translate: -50%;
|
||||
|
@ -368,7 +369,7 @@ if (!function_exists('computeLinePositions')) {
|
|||
padding-left: inherit;
|
||||
}
|
||||
|
||||
.y-axis-container>div {
|
||||
.y-axis-container > div {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -376,7 +377,7 @@ if (!function_exists('computeLinePositions')) {
|
|||
.y-axis-label {
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
/* transform: translate(-100%, 0%); */
|
||||
font-size: 12px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
|
|
|
@ -257,7 +257,7 @@ array_splice($mitre_attack_techniques, 10);
|
|||
<ul>
|
||||
<?php foreach ($mitre_attack_techniques as $technique => $tag) : ?>
|
||||
<li>
|
||||
<span style="padding: 2px 9px; margin-right: 5px; border-radius: 9px; font-weight: bold; background-color: #999; color: #fff;">
|
||||
<span class="tag" style="background-color: #999; color: #fff; border-radius: 9px; padding: 2px 8px;">
|
||||
<?= $all_tag_amount[$tag['Tag']['name']] ?>
|
||||
</span>
|
||||
<?php
|
||||
|
@ -312,7 +312,7 @@ array_splice($mitre_attack_techniques, 10);
|
|||
<ul>
|
||||
<?php foreach ($all_tag_amount as $tag_name => $amount) : ?>
|
||||
<li>
|
||||
<span style="padding: 2px 9px; margin-right: 5px; border-radius: 9px; font-weight: bold; background-color: #999; color: #fff;">
|
||||
<span class="tag" style="background-color: #999; color: #fff; border-radius: 9px; padding: 2px 8px;">
|
||||
<?= $amount ?>
|
||||
</span>
|
||||
<?= $this->element('tag', ['tag' => ['Tag' => ['name' => $tag_name, 'colour' => $tag_color_mapping[$tag_name]]]]) ?>
|
||||
|
|
Loading…
Reference in New Issue