Commit Graph

183 Commits

Author SHA1 Message Date
b40ecbf208 put svgs in icons.svg and reference appropriately, still not happy with pa_logo, but otherwise all working 2021-07-25 13:19:01 +10:00
c6a31f24e5 added ai model settings 2021-07-25 13:18:18 +10:00
d25c4fae62 removed last font-awesome and obv. bootstrap5 items 2021-07-22 21:28:54 +10:00
ef6759c5ed use svg / remove -lg- / bootstrap 5 2021-07-22 20:44:10 +10:00
4f471ffa5a remove -lg- / bootstrap 5 2021-07-22 20:43:11 +10:00
bd51f86d82 remove -lg- / bootstrap 5 2021-07-22 20:42:50 +10:00
3757c942e6 more bootstrap 5 fixes 2021-07-22 19:54:18 +10:00
f3b0cc5ecc more bootstrap 5 fixes 2021-07-22 19:53:21 +10:00
07408278b1 more bootstrap 5 fixes 2021-07-22 19:53:09 +10:00
085dbcdf3a more bootstrap 5 fixes 2021-07-22 19:51:54 +10:00
e9020373c6 more bootstrap 5 fixes 2021-07-22 19:51:07 +10:00
915063a7a7 semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome 2021-07-22 00:50:45 +10:00
6b6e7bc901 bootstrap 5 grid "fixups" for viewer 2021-07-20 22:04:52 +10:00
f52ba689b7 more bootstrap 5 fixes, badge colors, data-bs-target, padding 2021-07-20 22:04:31 +10:00
678e18b89d disable next button when we have no more int he list -- doesnt deal with when we exactly land on the last image, and it seems we have 1 too many in the first set of images (have 10 on select, but see 11 on page - after next button though its 10 on the page 2021-07-20 19:08:32 +10:00
b9f05d64f8 okay this now works with bootstrap 5, I dont love the sz buttons / mixed black and white hover text needs love - probably own class with own styles, but I dont want to hard-code info color, need to work out how to do style / css using the right bs variable for info color 2021-07-20 19:03:14 +10:00
44620f1e18 viewer now has toggle to turn on face bounding box + nametag 2021-07-19 18:48:39 +10:00
7e360270a7 make use of row / col consistent to fix up odd title/buttons wrong left-hand margin / sizing 2021-07-19 18:45:57 +10:00
eddc00d4a9 fixup missing explicit px; 2021-07-19 18:45:23 +10:00
1bd30e106e arrow keys now switches viewed image 2021-07-17 23:55:27 +10:00
24c4b962e5 now draws green rectangle and person.tag for matches on faces -- need to fix interface, but it works - lots of "plumbing" across database/classes and this viewer.html to get this to work 2021-07-17 16:37:43 +10:00
e1a3ad388c added small spaces before first row of images to stop squishing into navbar, added flipping / made that work, and now show thumbnail after rotation/flip is finished - all works, and removed debugs 2021-07-16 22:28:44 +10:00
3ac6f143f4 first pass of rotation sub-menu on images. It only posts on Image. For each selection it turns thumbnail gray, overlays a centered color spinning wheel, posts to the f/e to create a rotation job, gets the job id back, keeps checking the f/e to see when the job id is done, and when it is (for now) undoes the spinning wheel/grayscale - will return new thumb once done and pa_job_mgr has no code to handle job as yet 2021-07-16 21:08:16 +10:00
d42ac8c8b5 string / int strictness issue causing default size to not highlight button - fixed 2021-07-16 17:52:31 +10:00
6e6f59fdd5 more cases of not using px explicitly not working, fixed for icon overlays on search/file view 2021-07-16 17:16:19 +10:00
f30ca16552 added viewnext and viewprev routes and plumbed these in to the file viewer code. Viewer code now works has a prev/next button, and handles videos 2021-07-15 20:23:02 +10:00
d03f5c99b0 added <!DOCTYPE html> 2021-07-15 20:21:52 +10:00
f394e39c2f refimgs now contain face, orig_w, orig_h and face_locns. This is done via json.* to allow arrays to be saved/loaded back into face_locn - not useful for refimg as there has to be only 1, but tested for images where there will be many faces. This commit has a fair few changes. So overall, no more refimg menus/creation. You now create a person (the add button is hidden until you save), when you save you go back to the person you created rather than the list of persons. From there you can click add ref img, and it will create a thumbnail, and draw a green box around the face locations based on the data. Persons can have many refimgs, and they will all work the same, be formatted prettily no matter how many you have. Each refimg "tab" not only has the thumbnail, but also a red X click to delete button that will remove all refimg data and connection to the person table too. This all works/is tested. 2021-07-11 22:35:59 +10:00
32209d9ba6 added tiny thumbnails to person list 2021-07-11 22:30:01 +10:00
3c56cac1ef fix up selections to work with ctrl/shift and right-click -- its a bit clunky but works, redid numbering to make that work and condensed down to 1 common code block for context menu for figures and dirs now 2021-07-06 17:40:53 +10:00
2e06c0b285 moved class Refimg to person, and ditched all other routes/direct access to ref images, they are only a part of Person in UI now 2021-07-05 16:51:44 +10:00
d3df3ad754 make it clear if we are on DEV or PROD 2021-07-04 20:06:04 +10:00
388c3eed9b reference images are now added in person.py (and removed) as buttons on person page. Will need to re-think the whole of refimg.py 2021-07-04 20:05:15 +10:00
c1177b7c0f if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too 2021-07-03 12:29:01 +10:00
f6a92d749f added really large amounts to dups to process at once, so we can still get them all on a page if we really want 2021-07-01 21:56:59 +10:00
1cfb07903b slightly improve ai stats 2021-07-01 21:54:26 +10:00
78713a6767 updated stats to use new face tables and be more useful now amount of matches is in the thousands 2021-06-30 14:28:15 +10:00
4cb10c4a6b started hooking up right-click menu for Dir and Files all the way through to calling the new ScanFileForPerson() - which is still incomplete but does use the new Faces DB linkages and functions 2021-06-28 18:52:05 +10:00
c-d-p
26ba27cc0d updated files.py and files.html to add a context menu submenu to look for faces in an image. Doesnt work yet, but the context menu works 2021-06-27 14:27:46 +10:00
ce296426ab login code 2021-06-26 16:48:15 +10:00
371e2af64b added python ldap / login pages 2021-06-26 09:20:11 +10:00
a412164ef7 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:33:09 +10:00
a45e07ef34 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:31:47 +10:00
82f6b915de use bg-secondary for withdrawn jobs 2021-06-22 21:18:24 +10:00
6c3cdf79eb force the figcaption to break long words (even without spaces) 2021-06-22 21:06:24 +10:00
5bca620006 only show error color on actual Fail, so New, etc. does not go red 2021-06-22 20:54:08 +10:00
b84c671690 use bootstrap to style job errors, not direct css 2021-06-22 20:02:23 +10:00
eb574e3c75 moved InitValidation checks to log to a Job to show errors in front-end, and moved the creation of the symlinks to the InitValidation so we can restart paweb docker container and it will recreate the symlinks in static without needing an import. Also added token highlighting of a failed job 2021-06-22 19:30:04 +10:00
4dd5cd2f29 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:31:57 +10:00
decbcaec9a file_{ip|sp|rbp} now use functions to view flat or folder, and consistently offer Oldest/Newest (per files) and A to Z, Z to A (dir and files)... folder view only does A to Z / Oldest as alpha sort for dirs (dirs dont currently contain date metadata, so unless I add it, it wont work and I dont really think its useful anyway)... BUT, its added to the TODO for another day 2021-06-22 18:01:15 +10:00