Skip to content

Commit

Permalink
feat: add link url
Browse files Browse the repository at this point in the history
  • Loading branch information
unlxam authored and unusual committed Aug 24, 2024
1 parent 3de2da4 commit 28b8149
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions src/invidious/views/confirm_leave.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,20 @@
<% end %>

<div class="h-box">
<div class="pure-form pure-form-aligned">

<legend><%= translate(locale, "You are leaving Invidious. Continue to external link?") %></legend>

<div class="pure-g">
<div class="pure-u-1-2">
<a value="confirm_leave" class="pure-button pure-button-primary" href="<%= link %>">
<%= translate(locale, "Yes") %>
</a>
</div>
<div class="pure-u-1-2">
<a class="pure-button" href="<%= referer %>">
<%= translate(locale, "No") %>
</a>
</div>
<h3><%= translate(locale, "You are leaving Invidious. Continue to external link?") %></h3>

<p><%= link %></p>

<div class="pure-g">
<div class="pure-u-1-2">
<a value="confirm_leave" class="pure-button pure-button-primary" href="<%= link %>">
<%= translate(locale, "Yes") %>
</a>
</div>
<div class="pure-u-1-2">
<a class="pure-button" href="<%= referer %>">
<%= translate(locale, "No") %>
</a>
</div>

</div>
</div>

0 comments on commit 28b8149

Please sign in to comment.