diff --git a/templates/watch.gohtml b/templates/watch.gohtml index 6c8f84d..5615ef4 100644 --- a/templates/watch.gohtml +++ b/templates/watch.gohtml @@ -53,12 +53,30 @@ {{template "video_player" dict "WatchData" .WatchData "TotalEpisodes" $totalEpisodes}} -
-
- +
+
+ {{$prevEp := sub (int $currentEpID) 1}} + {{if ge $prevEp 1}} + + + Prev + + {{end}} + {{$nextEp := add (int $currentEpID) 1}} + {{if le $nextEp $totalEpisodes}} + + Next + + + {{end}} +
+ +
+
+
-
- -
-
- {{$prevEp := sub (int $currentEpID) 1}} - {{if ge $prevEp 1}} - - - Prev - - {{end}} - {{$nextEp := add (int $currentEpID) 1}} - {{if le $nextEp $totalEpisodes}} - - Next - - - {{end}}