mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
HTML: Make a dedicated ECR component for items + pagination
This commit is contained in:
parent
48981695cf
commit
717f4c4db9
1 changed files with 11 additions and 0 deletions
11
src/invidious/views/components/items_paginated.ecr
Normal file
11
src/invidious/views/components/items_paginated.ecr
Normal file
|
@ -0,0 +1,11 @@
|
|||
<%= page_nav_html %>
|
||||
|
||||
<div class="pure-g">
|
||||
<%- videos.each do |item| -%>
|
||||
<%= rendered "components/item" %>
|
||||
<%- end -%>
|
||||
</div>
|
||||
|
||||
<%= page_nav_html %>
|
||||
|
||||
<script src="/js/watched_indicator.js"></script>
|
Loading…
Reference in a new issue