From 902830ad9595b2d552af5d472b7fd00105ccbb9f Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 31 Jul 2021 22:40:12 +1000 Subject: [PATCH] viewer now has (non-functional) buttons for rotation, flip, fullscreen, and Ive put icons.svg into the repo as its hand-crafted upstream content so I cant really just download it anymore --- icons.svg | 181 ++++++++++++++++++++++++++++++++++++++++++ templates/viewer.html | 47 ++++++++--- 2 files changed, 218 insertions(+), 10 deletions(-) create mode 100644 icons.svg diff --git a/icons.svg b/icons.svg new file mode 100644 index 0000000..6247277 --- /dev/null +++ b/icons.svg @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 + + + + 180 + + + + 270 + + + + + + + + + + + diff --git a/templates/viewer.html b/templates/viewer.html index 299791c..ebd9cff 100644 --- a/templates/viewer.html +++ b/templates/viewer.html @@ -205,33 +205,60 @@ {# use this for color of toggles: https://www.codeply.com/p/4sL9uhevwJ #}
- Show: -
+ {# this whole div, just takes up the same space as the left button and is hidden for alignment only #} +
+ +
+ + Show: +
-
+
-
+
- AI Model: +
+ AI Model: + {% if not obj.file_details.faces %} + {{CreateSelect( "model", 0, ["N/A", "normal", "slow/accurate"], "", "rounded norm-txt", [0,1,2])|safe }} + {% else %} + {{CreateSelect( "model", obj.file_details.faces[0].facefile_lnk.model_used, ["normal", "slow/accurate"], "", "rounded norm-txt", [1,2])|safe }} + {% endif %} +
- {% if not obj.file_details.faces %} - {{CreateSelect( "model", 0, ["N/A", "normal", "slow/accurate"], "", "rounded-end h-100 norm-txt", [0,1,2])|safe }} - {% else %} - {{CreateSelect( "model", obj.file_details.faces[0].facefile_lnk.model_used, ["normal", "slow/accurate"], "", "rounded-end h-100 norm-txt", [1,2])|safe }} - {% endif %} + + + + + +
{% endblock main_content %}