Skip to content

Commit

Permalink
Make the external link icon look better and add it in more places (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
bquinn17 authored Feb 28, 2022
1 parent a3d0380 commit 2edcb82
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
5 changes: 4 additions & 1 deletion _layouts/activities.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ <h1>{{ page._name }}</h1>

<table id="ttable" class="table table-bordered table-hover">
<tr>
<th>ATT&CK® Tactics<img class="external-icon" src="{{ site.baseurl }}/assets/img/external_link.png"/></th>
<th>
ATT&CK® Tactics
<img class="external-icon" style="padding-left: 1%;" src="{{ site.baseurl }}/assets/img/external_link.png"/>
</th>
<th>Adversary Vulnerability Presented</th>
</tr>
<tbody>
Expand Down
15 changes: 10 additions & 5 deletions _layouts/attack_groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ <h1>Mapping To {{ page._name }}</h1>
<br>
<table class="table table-bordered table-hover">
<thead>
<th>ATT&CK® Technique<img class="external-icon" src="{{ site.baseurl }}/assets/img/external_link.png"/></th>
<th>Adversary Vulnerability</th>
<th>Engagement Activity</th>
<th>Engagement Activity Description</th>
</thead>
<tr>
<th style="white-space:nowrap">
ATT&CK® Technique<img class="external-icon" src="{{ site.baseurl }}/assets/img/external_link.png"/>
</th>
<th>Adversary Vulnerability</th>
<th>Engagement Activity</th>
<th>Engagement Activity Description</th>
</tr>
</thead>
<tbody>
{%- for groups in site.data.attack_groups -%}
{%- if groups.id == page._id -%}
Expand All @@ -50,6 +54,7 @@ <h1>Mapping To {{ page._name }}</h1>
<td>
<a href="https://attack.mitre.org/techniques/{{ row.attack_id }}">
{{ row.attack_technique }}
</a>
</td>
<td>{{ row.eav }}</td>

Expand Down
5 changes: 4 additions & 1 deletion _layouts/attack_tactics.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ <h1>Mapping To {{ page._name }}</h1>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>ATT&CK® Technique<img class="external-icon" src="{{ site.baseurl }}/assets/img/external_link.png" /></th>
<th style="white-space:nowrap">
ATT&CK® Technique
<img class="external-icon" src="{{ site.baseurl }}/assets/img/external_link.png"/>
</th>
<th>Adversary Vulnerability</th>
<th>Engagement Activity</th>
<th>Engagement Activity Description</th>
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ pre {
.external-icon {
width: to-rem(20);
box-sizing: border-box;
padding-left: 10%;
padding-left: 4%;
margin-top: to-rem(-5);
}
/******/
Expand Down

0 comments on commit 2edcb82

Please sign in to comment.