Commit Graph

86 Commits

Author SHA1 Message Date
229fb9e5bf UploadQueue: refactor into proper ECMAScript class 2023-03-12 11:45:37 +01:00
6087ebe249 AutoSuggest: fix click/append event
Keyboard was fine, it was just mouse events that were broken ^^'
2023-03-12 01:19:43 +01:00
c7e4351375 Change album/tile label font to Coda, too 2023-03-11 22:13:55 +01:00
d83dd6ea6e Remove more obsolete styling 2023-03-11 21:55:44 +01:00
eb04e87085 Change autosuggest padding 2023-03-11 21:52:44 +01:00
16eda4cfe7 Move autosuggest styles to default.css 2023-03-11 21:50:08 +01:00
0b0d47acb8 UploadQueue: error out of HEIC files are presented 2023-03-11 21:36:32 +01:00
edc857f6fd EditTag: introduce featured thumbnail manager 2023-03-11 18:22:27 +01:00
a9a347c638 Adjust dropdown focus colours 2023-03-11 17:59:57 +01:00
4d47696dcd Use Coda font for page links, too 2023-03-11 17:20:22 +01:00
54c4294d08 Add 'no thumb' vector image for use while loading 2023-03-11 17:16:53 +01:00
e6f7476037 MainNavBar: let space invader rotate on hover 2023-03-11 17:15:59 +01:00
326c8f11ee Change colours for buttons and page indices 2023-03-11 16:55:22 +01:00
556bbb2753 Use Coda font for buttons and headers 2023-03-11 16:43:53 +01:00
0a8da104cc MainNavBar: randomize space invader; add Coda font 2023-03-11 16:38:03 +01:00
87df775c51 MainNavBar: re-introduce the space invader 2023-03-11 15:27:15 +01:00
277611e0ac Introduce new menu classes and navigation templates 2023-03-11 15:14:05 +01:00
5bb8c020bd EditAssetForm: replace widget class with generic content box 2023-03-11 14:31:44 +01:00
b9bd2bf499 AlbumHeaderBox: apply some border radius to tag headers 2023-03-11 14:17:38 +01:00
812c7a4f20 PhotoPage: change previous/next icons 2023-03-11 14:13:29 +01:00
a9a2c64d81 PhotoPage: replace custom sub-photo boxes with generic equivalents 2023-03-11 13:57:57 +01:00
cf31f0af07 Replace more custom button classes with Bootstrap counterparts 2023-03-11 13:51:12 +01:00
307d34430a SubTemplate: use SubTemplates for boxed content only 2023-03-11 13:37:59 +01:00
f9eefe7b41 Replace generic alert, form and table templates with new Bootstrap equivalents 2023-03-11 13:20:59 +01:00
07bc784859 Add bootstrap as a dependency 2023-03-11 12:58:30 +01:00
ce909ccfe5 default.css: fix overflow declarations 2022-12-25 13:56:42 +01:00
70e6001c85 Replace event.keyCode with event.key equivalents. 2021-02-16 15:26:57 +01:00
4402521051 Highlight matching string in autosuggest entries. 2021-02-15 12:14:24 +01:00
889302cd36 Modernise AutoSuggest and TagAutoSuggest classes. 2021-02-15 12:14:23 +01:00
d069ddca18 Merge pull request 'Make crop editor usable' (#22) from crop-editor into master
Reviewed-on: Public/pics#22
2020-12-30 20:06:15 +01:00
5c4a075231 Constrain aspect ratio conservation to image boundaries as well. 2020-12-30 13:26:31 +01:00
6ddf518294 Grow image and its container with document height. 2020-12-30 13:26:31 +01:00
66a411973a Constrain crop proportions by default, with checkbox to disable. 2020-12-30 13:26:31 +01:00
a83b938f8a Reposition crop boundary when window resizes. 2020-12-30 13:26:31 +01:00
5344378333 Crop editor: interpret 'cs' as centre-sliced crop.
At some point, I started using 'cs' instead of 'cc'. Let's just support both.
2020-12-30 13:26:31 +01:00
8147e2b97d Crop editor: do not allow selections starting outside image bounds. 2020-12-30 13:26:31 +01:00
d562c70667 Improve styling of form elements. 2020-12-30 13:06:44 +01:00
5599ff8d9b Crop editor: use numeric input boxes with appropriate constraints. 2020-12-30 13:05:23 +01:00
93884e2e93 Fix initial slicing dimensions in CropEditor.setDefaultCrop.
Subtle bug. This has been in for years... :)
2020-12-30 13:05:22 +01:00
2a740d8cef Constrain boundary movement to image canvas. 2020-12-30 13:05:22 +01:00
5e0d4df2f7 Allow moving/dragging the crop boundary.
Currently unconstrained.
2020-12-30 13:05:22 +01:00
e84c4f2b43 Constrain crop selection to image dimensions. 2020-12-30 13:05:22 +01:00
893d31af52 Proper dragging of the crop bounding rectangle/area. 2020-12-30 13:05:22 +01:00
5895f4faa6 Rewrite CropEditor.positionBoundary 2020-12-30 13:05:22 +01:00
8e7a09f3f3 Initial version of crop boundary dragging. 2020-12-30 13:05:22 +01:00
837c92db44 CropEditor: split setDefaultCrop from setInputValues and rename. 2020-12-30 13:05:22 +01:00
c392105814 Refactor crop editor DOM functions. 2020-12-30 13:05:22 +01:00
9d95df81fe WIP: finally implement drag events. 2020-12-30 13:05:22 +01:00
d4cc72304e Use flexbox for crop editor box sizing. 2020-12-30 13:05:21 +01:00
2c68b6a798 Improve crop editor styling. 2020-12-30 13:05:21 +01:00