Commit Graph

103 Commits

Author SHA1 Message Date
Lucas b2c2b7e3a5 backend: rework CSS
- Change text defaults to "small text"
- Add class for "big text"
- Use variable for gaps
- Split .gallery links normal style from pseudo classes
- Remove unused classes and elements
2023-03-26 20:56:06 +00:00
Lucas 1a2e86d666 backend: adapt to /media/tags/:media_id API change 2023-03-26 16:41:29 +00:00
Lucas 945770eb1b api: implement /media/tags/:media_id 2023-03-26 16:40:45 +00:00
Lucas ed8f8306b9 backend: make .viewport responsive 2023-03-26 15:36:07 +00:00
Lucas 5e931a2fd0 backend: add /media to meta 2023-03-26 15:02:14 +00:00
Lucas b4e970bd3a backend: rewrite tag#show tag retrieval 2023-03-26 15:00:13 +00:00
Lucas 724bfbc82a api: only do random entry fetching in _random_entry 2023-03-25 13:58:24 +00:00
Lucas 48f3445706 backend: remove pager from media#show 2023-03-24 21:42:19 +00:00
Lucas c78bd0c85b backend: move all header and pager display out of layout 2023-03-24 13:58:39 +00:00
Lucas 1748621469 backend: make pager object hold only numbers 2023-03-23 20:26:08 +00:00
Lucas 46682ed7da api: use int on defined pager methods 2023-03-22 07:24:37 +00:00
Lucas 45a4b69ca3 backend: move tag media count outside of link 2023-03-21 21:46:15 +00:00
Lucas aa3e60d188 backend: make SeaweedFS::Client::url_for accept a scalar too 2023-03-21 21:43:42 +00:00
Lucas 396ab297a8 all: prefer postfix dereference syntax 2023-03-21 21:43:36 +00:00
Lucas 56ee34eb7c api: partially revert 5ce96a0087 2023-03-20 20:49:16 +00:00
Lucas 489c31414c backend: add barebone error pages 2023-03-19 21:59:41 +00:00
Lucas aaf12cb7c2 backend: use % for control flow and directives, <%= %> for interpolation 2023-03-19 21:59:41 +00:00
Lucas 4f5ce1100c backend: display title conditionally 2023-03-19 21:59:41 +00:00
Lucas 0a20d7e9f7 backend: include links to tags in media#show 2023-03-19 21:59:41 +00:00
Lucas ac9054f918 backend: make images fluid and avoid stretching 2023-03-17 23:22:31 +00:00
Lucas 9e189f37fb backend: rework gallery hyperlinks styling
Apply properties to a element, not img. Set "line-height: 0" to remove
extraneous extra space at the bottom of the image, still inside a
element.
2023-03-17 22:58:41 +00:00
Lucas a7e5d3d3d5 backend: set images to 100% width 2023-03-17 21:33:39 +00:00
Lucas 653440b192 backend: add tag links in media#show 2023-03-17 21:03:49 +00:00
Lucas 58989f2c53 api: add tag pager to /media/:media_id 2023-03-17 20:59:34 +00:00
Lucas 171c6ee8cd backend: link to /media/:media_id instead of raw image 2023-03-17 20:57:08 +00:00
Lucas 84cbc5dd30 backend: use named routes in url_for 2023-03-17 20:52:49 +00:00
Lucas 5ce96a0087 api: move Random controller into Tags and Media 2023-03-17 20:33:44 +00:00
Lucas fc32afcb79 api, backend: name routes 2023-03-17 20:08:08 +00:00
Lucas 71d31e625a backend: merge Gallery controller into Media 2023-03-17 20:01:28 +00:00
Lucas fc407c608e Use Carton for dependency managemement 2023-03-17 19:58:12 +00:00
Lucas daefabd1af backend: move pager HTML into a partial template 2023-03-17 19:58:12 +00:00
Lucas 72412a7889 backend: implement /media/:media_id 2023-03-17 19:58:12 +00:00
Lucas aa5e4ffe29 api: return tags for /media/:media_id 2023-03-17 19:58:12 +00:00
Lucas 37a2806f03 api, backend: improve references uses 2023-03-15 22:41:45 +00:00
Lucas 672192441d backend: reorder title setting and set title for tags#show 2023-03-15 20:49:01 +00:00
Lucas a4a845b459 Add search to TODO 2023-03-14 21:54:30 +00:00
Lucas 6e11d9d00f backend: rework and simplify styles 2023-03-14 21:53:34 +00:00
Lucas 4571ab3643 backend: remove debug block in template 2023-03-10 20:46:54 +00:00
Lucas 95beb0a599 api: make _pager a helper 2023-03-10 20:41:52 +00:00
Lucas fa07cf5645 backend: implement paging 2023-03-10 20:34:00 +00:00
Lucas 79a9173574 api: change the pager output 2023-03-09 21:14:44 +00:00
Lucas 1ea50ed54f backend: fix API /media call 2023-03-09 20:57:01 +00:00
Lucas 02c7c3c0db backend: implement /tags and /tag/:tag_id_or_name 2023-03-08 20:44:54 +00:00
Lucas ff017f924b all: make seaweedfs_fid a string again 2023-03-08 20:44:54 +00:00
Lucas ba099af452 api: use tagged_media_view instead of media_tag 2023-03-08 20:44:27 +00:00
Lucas 555a0bc1d1 db: add tagged_media_view 2023-03-08 20:43:56 +00:00
Lucas b1f2e533c1 api: make /tag/:tag_id_or_name return more than media_id 2023-03-05 21:08:13 +00:00
Lucas def852261f api: remove not implemented methods from /meta 2023-03-05 20:53:53 +00:00
Lucas 6c6654bcd4 Remove TODO item partially solved by SeaweedFS 2023-03-05 20:44:13 +00:00
Lucas af536b9cf6 api: make /media parse seaweedfs_fid 2023-03-05 20:43:20 +00:00