From e0802bc573a24b06880109c4b8adcb50c824ab9d Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 28 Jul 2021 21:42:40 +1000 Subject: [PATCH] move to form toggles, made them bg-info colours give or take, made the fname, face & distance toggles work. The model drop-down is not set correctly, or taking action, but mara needs more rel mem to run cnn model anyway --- templates/viewer.html | 68 ++++++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 21 deletions(-) diff --git a/templates/viewer.html b/templates/viewer.html index 68f32e8..43eb167 100644 --- a/templates/viewer.html +++ b/templates/viewer.html @@ -1,4 +1,17 @@ {% extends "base.html" %} {% block main_content %} +{# make the form-switch / toggle info color set, give or take #} +
@@ -137,6 +146,7 @@ } {% if face.refimg %} data['who']='{{face.refimg.person.tag}}' + data['distance']="{{face.refimg_lnk.face_distance|round(2)}}" {% endif %} faces.push( data ) {% endfor %} @@ -170,13 +180,29 @@ {% endif %} {% endfor %}
-
-
- - +{# use this for color of toggles: https://www.codeply.com/p/4sL9uhevwJ #} +
+ Show: +
+ +
-
-
+
+ + +
+
+ + +
+ AI Model: +
+ +
+
{% endblock main_content %} {% block script_content %}