Skip to content

Commit

Permalink
chg: [website] Simpligy the tables of sightings.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Nov 4, 2024
1 parent 2328ff0 commit 51f4492
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions website/web/templates/admin/sightings.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ <h1>Sightings</h1>
<table id="table-sightings" class="table table-hover">
<thead>
<tr>
<th>UUID</th>
<th>Author</th>
<th>Source</th>
<th>Vulnerability</th>
Expand All @@ -31,7 +30,6 @@ <h1>Sightings</h1>
<tbody>
{% for sighting in sightings %}
<tr>
<td>{{ sighting.uuid }}</td>
<td><a href="{{ url_for('user_bp.profile', login=sighting.author.login) }}">{{ sighting.author.login }}</a></td>
<td><a href="{{ sighting.source }}" rel="noreferrer" target="_blank">{{ sighting.source }}</a></td>
<td><a href="{{ url_for('home_bp.vulnerability_view', vulnerability_id=sighting.vulnerability) }}">{{ sighting.vulnerability }}</a></td>
Expand All @@ -53,5 +51,4 @@ <h1>Sightings</h1>
{{ pagination.info }}
</div>
</div>
<br />
{% endblock %}
2 changes: 0 additions & 2 deletions website/web/templates/user/sightings.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ <h1>Your sightings</h1>
<table id="table-sightings" class="table table-hover">
<thead>
<tr>
<th>UUID</th>
<th>Source</th>
<th>Vulnerability</th>
<th>Type</th>
Expand All @@ -17,7 +16,6 @@ <h1>Your sightings</h1>
<tbody>
{% for sighting in sightings %}
<tr>
<td>{{ sighting.uuid }}</td>
<td><a href="{{ sighting.source }}" rel="noreferrer" target="_blank">{{ sighting.source }}</a></td>
<td><a href="{{ url_for('home_bp.vulnerability_view', vulnerability_id=sighting.vulnerability) }}">{{ sighting.vulnerability }}</a></td>
<td>{{ sighting.type }}</td>
Expand Down

0 comments on commit 51f4492

Please sign in to comment.