diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-04-17 21:26:04 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-07-06 00:23:22 +0200 |
| commit | 57c7b922f7c3cd04d08bb6be9793464d31213fb1 (patch) | |
| tree | ff29c11f293e041bf9887d8b1a0c874ff5d4be5e /src | |
| parent | c0887497447a24cad1f1e8b8268b8ccfbc78ae77 (diff) | |
| download | invidious-57c7b922f7c3cd04d08bb6be9793464d31213fb1.tar.gz invidious-57c7b922f7c3cd04d08bb6be9793464d31213fb1.tar.bz2 invidious-57c7b922f7c3cd04d08bb6be9793464d31213fb1.zip | |
HTML: Make a dedicated ECR component for items + pagination
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/components/items_paginated.ecr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/invidious/views/components/items_paginated.ecr b/src/invidious/views/components/items_paginated.ecr new file mode 100644 index 00000000..c82b1772 --- /dev/null +++ b/src/invidious/views/components/items_paginated.ecr @@ -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> |
