Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
agricolamz committed Jan 11, 2024
1 parent e8100ca commit a2716a8
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 115 deletions.
2 changes: 1 addition & 1 deletion card.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const cols = 3;
<% if ('content') { %>
<p class="card-content listing-content" style="padding-bottom: 1em; position: absolute; bottom: 0;"><%= item.content %></p>
<% } %>
<button type="button" onclick="location.href = '<%= item.href %>';" style="position: absolute; bottom: 0.3em; left: 0; right: 0; margin: 0 auto; background-color: #2c3e50; border: none; color: #ccd1d5;">View</button>
<button type="button" onclick="window.open('<%= item.href %>', '_blank');" target = "_blank" style="position: absolute; bottom: 0.3em; left: 0; right: 0; margin: 0 auto; background-color: #2c3e50; border: none; color: #ccd1d5;">View</button>
</div>
</div>
<% } %>
Expand Down
2 changes: 1 addition & 1 deletion card_ru.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const cols = 3;
<% if ('content') { %>
<p class="card-content listing-content" style="padding-bottom: 1em; position: absolute; bottom: 0;"><%= item.content %></p>
<% } %>
<button type="button" onclick="location.href = '<%= item.href %>';" style="position: absolute; bottom: 0.3em; left: 0; right: 0; margin: 0 auto; background-color: #2c3e50; border: none; color: #ccd1d5;">Перейти</button>
<button type="button" onclick="window.open('<%= item.href %>', '_blank');" style="position: absolute; bottom: 0.3em; left: 0; right: 0; margin: 0 auto; background-color: #2c3e50; border: none; color: #ccd1d5;">Перейти</button>
</div>
</div>
<% } %>
Expand Down
Loading

0 comments on commit a2716a8

Please sign in to comment.