mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 08:09:51 +05:30
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