mirror of https://github.com/MISP/misp-dashboard
ui: update to better fit tags legend
parent
e3a63e863f
commit
bc0d825ce9
|
@ -150,8 +150,8 @@ function legendFormatter(label, series) {
|
|||
// removing unwanted "
|
||||
var label = label.replace(/\\"/g, "").replace(/\"/g, "");
|
||||
// limiting size
|
||||
if (label.length >= 50){
|
||||
labelLimited = label.substring(0, 50) + '[...]';
|
||||
if (label.length >= 40){
|
||||
labelLimited = label.substring(0, 40) + '[...]';
|
||||
} else {
|
||||
labelLimited = label;
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ small {
|
|||
<div style="height: 10px;"></div>
|
||||
|
||||
<div class="col-lg-12">
|
||||
<div class="col-lg-5">
|
||||
<div class="col-lg-4">
|
||||
<div class="panel panel-default" style="">
|
||||
<div class="panel-heading bg-info" style="font-weight: bold;">
|
||||
<b>Most active events</b>
|
||||
|
@ -161,7 +161,7 @@ small {
|
|||
</div><!-- /.panel-body -->
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4">
|
||||
<div class="col-lg-5">
|
||||
<div class="panel panel-default" style="">
|
||||
<div class="panel-heading bg-info" style="font-weight: bold;">
|
||||
<b>Most popular tags</b>
|
||||
|
|
Loading…
Reference in New Issue