Browse code

Update remote

Benjamin Roth authored on24/03/2023 11:24:53
Showing1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 <!-- indexer::stop -->
2
-<nav class=" block" aria-label="<?= $this->pagination ?>">
2
+<nav class="pagination-wrapper block" aria-label="<?= $this->pagination ?>">
3 3
 
4
-    <p><?= $this->total ?></p>
4
+    <?php /* <p><?= $this->total ?></p> */ ?>
5 5
 
6 6
     <ul class="pagination">
7 7
         <?php if ($this->hasFirst): ?>
Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,41 @@
1
+<!-- indexer::stop -->
2
+<nav class=" block" aria-label="<?= $this->pagination ?>">
3
+
4
+    <p><?= $this->total ?></p>
5
+
6
+    <ul class="pagination">
7
+        <?php if ($this->hasFirst): ?>
8
+            <li class="page-item first"><a href="<?= $this->first['href'] ?>" class="first page-link"
9
+                                           title="<?= $this->first['title'] ?>"><?= $this->first['link'] ?></a></li>
10
+        <?php endif; ?>
11
+
12
+        <?php if ($this->hasPrevious): ?>
13
+            <li class="page-item previous"><a href="<?= $this->previous['href'] ?>" class="previous page-link"
14
+                                              title="<?= $this->previous['title'] ?>"><span
15
+                            aria-hidden="true">&laquo;</span></a>
16
+            </li>
17
+        <?php endif; ?>
18
+
19
+        <?php foreach ($this->pages as $page): ?>
20
+            <?php if (null === $page['href']): ?>
21
+                <li class="page-item"><strong class="active page-link"><?= $page['page'] ?></strong></li>
22
+            <?php else: ?>
23
+                <li class="page-item"><a href="<?= $page['href'] ?>" class="link page-link"
24
+                                         title="<?= $page['title'] ?>"><?= $page['page'] ?></a></li>
25
+            <?php endif; ?>
26
+        <?php endforeach; ?>
27
+
28
+        <?php if ($this->hasNext): ?>
29
+            <li class="next page-item "><a href="<?= $this->next['href'] ?>" class="next page-link"
30
+                                           title="<?= $this->next['title'] ?>"><span
31
+                            aria-hidden="true">&raquo;</span></a></li>
32
+        <?php endif; ?>
33
+
34
+        <?php if ($this->hasLast): ?>
35
+            <li class="last page-item "><a href="<?= $this->last['href'] ?>" class="last page-link"
36
+                                           title="<?= $this->last['title'] ?>"><?= $this->last['link'] ?></a></li>
37
+        <?php endif; ?>
38
+    </ul>
39
+
40
+</nav>
41
+<!-- indexer::continue -->