mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-15 04:35:16 +00:00
add previous button
This commit is contained in:
@@ -53,9 +53,16 @@
|
||||
</div>
|
||||
</div>
|
||||
{{#noteq next ""}}
|
||||
<a href="{{next}}" class="self-end">
|
||||
<button class="p-2 rounded-lg bg-slate-600">Next ></button>
|
||||
</a>
|
||||
<div class="flex">
|
||||
{{#noteq prev ""}}
|
||||
<a href="{{prev}}">
|
||||
<button title="Previous" class="px-3 py-2 rounded-l-lg bg-slate-600"><</button>
|
||||
</a>
|
||||
{{/noteq}}
|
||||
<a class="[&:only-child>button]:rounded-lg" href="{{next}}">
|
||||
<button class="px-3 py-2 rounded-r-lg bg-green-400 text-gray-800">Next ></button>
|
||||
</a>
|
||||
</div>
|
||||
{{/noteq}}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user