commit 12746d3379411a39f58ed35a885822de938b13d0
parent 99d7b88b7599cc32848ae7966d0a7787ba28f7c2
Author: rob <rob@tarina.org>
Date: Tue, 4 Jul 2023 19:48:53 +0100
show picture if there is
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srv/templates/index.html b/srv/templates/index.html
@@ -28,9 +28,10 @@ $for m in menu[3:]:
<br>
</div>
$if thumb != '':
- $ picture="static/Videos/" + name + "/scene" + str(scene).zfill(3) + "/shot" + str(shot).zfill(3) + "/take" + str(take).zfill(3) + ".jpeg"
-$else:
$ picture="static/Videos/" + name + "/scene" + str(scene).zfill(3) + "/shot" + str(shot).zfill(3) + "/picture" + str(take).zfill(3) + ".jpeg"
+$else:
+ $ picture="static/Videos/" + name + "/scene" + str(scene).zfill(3) + "/shot" + str(shot).zfill(3) + "/take" + str(take).zfill(3) + ".jpeg"
+
$ take_link="static/Videos/" + name + "/scene" + str(scene).zfill(3) + "/shot" + str(shot).zfill(3) + "/take" + str(take).zfill(3) + ".mp4"
$ scene_link="static/Videos/" + name + "/scene" + str(scene).zfill(3) + "/scene.mp4"