From 5d99e78dea9ec9389072e90509f68e5ef0c652cf Mon Sep 17 00:00:00 2001 From: n07070 Date: Mon, 9 May 2022 01:50:18 +0200 Subject: [PATCH] Webcam buttons added, preview added --- src/templates/base.html | 6 +- src/templates/index.html | 46 ++++++------ src/templates/webcam.html | 154 +++++++++----------------------------- 3 files changed, 62 insertions(+), 144 deletions(-) diff --git a/src/templates/base.html b/src/templates/base.html index a6cf7a8..237fa2a 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -51,7 +51,9 @@ {% endblock %}
- - + + diff --git a/src/templates/index.html b/src/templates/index.html index 2f171f9..1fbd86b 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -2,29 +2,27 @@ {% block content %} -
-

Print a short message

-
+
+

Print a short message

+
+
+
+
+ +
+
+
-
-
-
+
- -
-
-
- -
- -
-

Print an image

-
-
-
-
- -
-
- - {% endblock %} +
+

Print an image

+
+
+
+
+ +
+
+
+ {% endblock %} diff --git a/src/templates/webcam.html b/src/templates/webcam.html index 4aed202..097133d 100644 --- a/src/templates/webcam.html +++ b/src/templates/webcam.html @@ -2,13 +2,40 @@ {% block content %} + +

Photomaton

-
+
+ + +
@@ -17,21 +44,11 @@
- - - - + + + + +
@@ -40,9 +57,9 @@ display: none; } - video { + /* video { display: none; - } + } */ .image_dither { /* width: 300px; @@ -80,106 +97,7 @@ - +