mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-30 09:50:21 +00:00
HTML: Make a dedicated ECR component for items + pagination
This commit is contained in:
parent
c088749744
commit
57c7b922f7
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 New Issue
Block a user