Skip to content

Commit

Permalink
Afficher le champ source
Browse files Browse the repository at this point in the history
fix #3
  • Loading branch information
azi-acceis committed Sep 5, 2023
1 parent e728eda commit 20ac0b7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<summary>Solution</summary>
<h5 class="title is-5"><%= snip['vuln'] %></h5>
<div class="buttons block">
<a class="button is-danger" href="<%= snip['solution']['fr'] %>">Solution 🇫🇷</a>
<a class="button is-danger" href="<%= snip['solution']['en'] %>">Solution 🇬🇧</a>
<a class="button is-danger avcs-solution-fr" href="<%= snip['solution']['fr'] %>">Solution 🇫🇷</a>
<a class="button is-danger avcs-solution-en" href="<%= snip['solution']['en'] %>">Solution 🇬🇧</a>
</div>
<div class="block">
<b>Fixed code:</b>
Expand All @@ -36,12 +36,14 @@
</details>
</div>
<div class="buttons block">
<a class="button is-danger is-outlined" href="<%= snip['announcement']['fr'] %>">Announcement 🇫🇷</a>
<a class="button is-danger is-outlined" href="<%= snip['announcement']['en'] %>">Announcement 🇬🇧</a>
<a class="button is-danger is-outlined avcs-announcement-fr" href="<%= snip['announcement']['fr'] %>">Announcement 🇫🇷</a>
<a class="button is-danger is-outlined avcs-announcement-en" href="<%= snip['announcement']['en'] %>">Announcement 🇬🇧</a>
</div>
<div class="block">
<b>Language:</b>
<span class="is-capitalized"><%= snip['code']['lang'] %></span>
<span class="is-capitalized avcs-language"><%= snip['code']['lang'] %></span>
<span></span>
<a class="avcs-source" href="<%= snip['code']['source'] %>">Source</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 20ac0b7

Please sign in to comment.