add position indicator to buttons
This commit is contained in:
@@ -18,8 +18,9 @@ const photos = await pb.collection('photos').getFullList({
|
||||
<p id="photo-camera" class="text-sm">📸 {photos[0].camera}</p>
|
||||
<p id="photo-location" class="text-sm">📌 {photos[0].location}</p>
|
||||
|
||||
<button id="dec-button" class="" onclick="dec()"><</button>
|
||||
<button id="inc-button" class="" onclick="inc()">></button>
|
||||
<button id="dec-button" onclick="dec()"><</button>
|
||||
<span id="current-pos" /> of <span id="max-pos" />
|
||||
<button id="inc-button" onclick="inc()">></button>
|
||||
|
||||
|
||||
<!-- <p class="text-2xl">Photography :)</p>
|
||||
|
||||
Reference in New Issue
Block a user