mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
HTML: Make a dedicated ECR component for items + pagination
This commit is contained in:
parent
c088749744
commit
57c7b922f7
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