mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
chg: [correlation graph] update node legend
This commit is contained in:
parent
5d4b718174
commit
b3cafd2a1d
2 changed files with 23 additions and 4 deletions
|
@ -51,9 +51,8 @@ class Title(AbstractDaterangeObject):
|
|||
url = f'{baseurl}/correlation/show?type={self.type}&id={self.id}'
|
||||
return url
|
||||
|
||||
# TODO # CHANGE COLOR
|
||||
def get_svg_icon(self):
|
||||
return {'style': 'fas', 'icon': '\uf1dc', 'color': '#1E88E5', 'radius': 5}
|
||||
return {'style': 'fas', 'icon': '\uf1dc', 'color': '#3C7CFF', 'radius': 5}
|
||||
|
||||
def get_misp_object(self):
|
||||
obj_attrs = []
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
Decoded:
|
||||
</th>
|
||||
<th class="">
|
||||
Screenshot:
|
||||
Objects:
|
||||
</th>
|
||||
<th class="">
|
||||
Pgp:
|
||||
|
@ -20,7 +20,7 @@
|
|||
Domain:
|
||||
</th>
|
||||
<th class="">
|
||||
Paste:
|
||||
Item:
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -111,6 +111,16 @@
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="my-1">
|
||||
<svg height="26" width="26">
|
||||
<g class="nodes">
|
||||
<circle cx="13" cy="13" r="13" fill="#1E88E5"></circle>
|
||||
<text x="13" y="13" text-anchor="middle" dominant-baseline="central"
|
||||
class="graph_node_icon fas" font-size="16px"></text>
|
||||
</g>
|
||||
</svg>
|
||||
cve
|
||||
</div>
|
||||
<div class="my-1">
|
||||
<svg height="26" width="26">
|
||||
<g class="nodes">
|
||||
|
@ -121,6 +131,16 @@
|
|||
</svg>
|
||||
screenshot
|
||||
</div>
|
||||
<div class="my-1">
|
||||
<svg height="26" width="26">
|
||||
<g class="nodes">
|
||||
<circle cx="13" cy="13" r="13" fill="#3C7CFF"></circle>
|
||||
<text x="13" y="13" text-anchor="middle" dominant-baseline="central"
|
||||
class="graph_node_icon fas" font-size="16px"></text>
|
||||
</g>
|
||||
</svg>
|
||||
title
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="my-1">
|
||||
|
|
Loading…
Reference in a new issue