1
0
forked from Public/pics
Commit Graph

66 Commits

Author SHA1 Message Date
Aaron d5cddba5e9 CropEditor: adjust input group background colour 2023-05-19 12:35:04 +02:00
Aaron 33bc262f0a CropEditor: adopt a more Bootstrap-savvy form layout 2023-05-19 12:35:00 +02:00
Aaron 87777a6ace Fixup: cleanup responsive styles too 2023-04-01 15:01:14 +02:00
Aaron d315f4d0c2 AlbumHeaderBox: fix slight misalignment
The 'back' arrow was one pixel taller than the header itself.
Couldn't let that slide :-)
2023-04-01 14:45:06 +02:00
Aaron 31ea4196cf Remove old grid from stylesheet 2023-04-01 14:36:03 +02:00
Aaron cfb5ab9d82 PhotosIndex: rewrite to use Bootstrap grid for tiles 2023-04-01 14:29:14 +02:00
Aaron b05015e76e AlbumIndex: rewrite to use Bootstrap grid for tiles 2023-04-01 14:02:58 +02:00
Aaron 6c5d814a99 PageIndexWidget: hide page numbers on smaller screens 2023-03-21 23:12:47 +01:00
Aaron e48f065c25 PhotoIndex: fix inadvertent thumb stretching in rare cases 2023-03-13 01:33:29 +01:00
Aaron c991f05dd3 ViewPhoto: rework solution to work for panoramas, too 2023-03-12 12:58:58 +01:00
Aaron 85be093a36 ViewPhoto: improve vertical alignment of prev/next buttons 2023-03-12 12:42:43 +01:00
Aaron c735648468 ViewPhoto: improve image alignment in page 2023-03-12 12:37:57 +01:00
Aaron c7e4351375 Change album/tile label font to Coda, too 2023-03-11 22:13:55 +01:00
Aaron d83dd6ea6e Remove more obsolete styling 2023-03-11 21:55:44 +01:00
Aaron eb04e87085 Change autosuggest padding 2023-03-11 21:52:44 +01:00
Aaron 16eda4cfe7 Move autosuggest styles to default.css 2023-03-11 21:50:08 +01:00
Aaron edc857f6fd EditTag: introduce featured thumbnail manager 2023-03-11 18:22:27 +01:00
Aaron a9a347c638 Adjust dropdown focus colours 2023-03-11 17:59:57 +01:00
Aaron 4d47696dcd Use Coda font for page links, too 2023-03-11 17:20:22 +01:00
Aaron 54c4294d08 Add 'no thumb' vector image for use while loading 2023-03-11 17:16:53 +01:00
Aaron e6f7476037 MainNavBar: let space invader rotate on hover 2023-03-11 17:15:59 +01:00
Aaron 326c8f11ee Change colours for buttons and page indices 2023-03-11 16:55:22 +01:00
Aaron 556bbb2753 Use Coda font for buttons and headers 2023-03-11 16:43:53 +01:00
Aaron 0a8da104cc MainNavBar: randomize space invader; add Coda font 2023-03-11 16:38:03 +01:00
Aaron 87df775c51 MainNavBar: re-introduce the space invader 2023-03-11 15:27:15 +01:00
Aaron 277611e0ac Introduce new menu classes and navigation templates 2023-03-11 15:14:05 +01:00
Aaron 5bb8c020bd EditAssetForm: replace widget class with generic content box 2023-03-11 14:31:44 +01:00
Aaron b9bd2bf499 AlbumHeaderBox: apply some border radius to tag headers 2023-03-11 14:17:38 +01:00
Aaron 812c7a4f20 PhotoPage: change previous/next icons 2023-03-11 14:13:29 +01:00
Aaron a9a2c64d81 PhotoPage: replace custom sub-photo boxes with generic equivalents 2023-03-11 13:57:57 +01:00
Aaron cf31f0af07 Replace more custom button classes with Bootstrap counterparts 2023-03-11 13:51:12 +01:00
Aaron 307d34430a SubTemplate: use SubTemplates for boxed content only 2023-03-11 13:37:59 +01:00
Aaron f9eefe7b41 Replace generic alert, form and table templates with new Bootstrap equivalents 2023-03-11 13:20:59 +01:00
Aaron ce909ccfe5 default.css: fix overflow declarations 2022-12-25 13:56:42 +01:00
Aaron 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
Aaron 6ddf518294 Grow image and its container with document height. 2020-12-30 13:26:31 +01:00
Aaron 66a411973a Constrain crop proportions by default, with checkbox to disable. 2020-12-30 13:26:31 +01:00
Aaron d562c70667 Improve styling of form elements. 2020-12-30 13:06:44 +01:00
Aaron 5e0d4df2f7 Allow moving/dragging the crop boundary.
Currently unconstrained.
2020-12-30 13:05:22 +01:00
Aaron d4cc72304e Use flexbox for crop editor box sizing. 2020-12-30 13:05:21 +01:00
Aaron 2c68b6a798 Improve crop editor styling. 2020-12-30 13:05:21 +01:00
Aaron a208c0482f Invoke Dispatcher::kickGuest from Session for invalid sessions.
Previously, a NotAllowedException would be thrown if an invalid session
was encountered. However, these exceptions were not caught, and hence
would yield a fatal uncaught exception error.

At this point in Kabuki, the ErrorHandler class has not been registered yet
for error handling purposes. This error is therefore not visible if the PHP
ini directive 'display_errors' is set to 'Off'. As this is the default
production value, the script would fail with a blank page in such cases.
2020-03-11 22:38:15 +01:00
Aaron 42e5c7fe37 Allow regular users to unlink tags from photos. 2019-03-09 13:48:18 +01:00
Roflin 16ec547064 Changes the ConfirmDelete page and updates database code.
The ConfirmDelete page now uses parts of the photopage. The
Confirmation dialog is its own template which is based on Alert.

The database now updates the album thumb to the most recent
addition to the album, when the album thumb asset is being deleted.
When there are no pictures left in the album 0 will be set.
2018-07-13 23:00:36 +02:00
Roflin e40c05c1f8 Adds a Confirm Delete page and actually delete the assets. 2018-07-07 19:53:46 +00:00
Roflin 344db6e4c5 Adds a Delete button to the ViewPhotoPage.
The Delete button is non functional yet and is only available for
admins and the photo owner.
2018-07-07 12:19:31 +00:00
Aaron 981b652e25 Fix album title box on mobile. 2017-11-22 11:22:38 +01:00
Aaron ee9bdd45c0 Leave out labels on photo index pages.
They were pretty much only displaying filenames, so not adding much.
2017-11-09 17:00:36 +01:00
Aaron 9fe8acc747 Change colour palette into something more befitting #RU. 2017-11-09 17:00:36 +01:00
Aaron fa5ef75205 Basic styling for (long) tag lists. 2017-11-09 17:00:35 +01:00