Commit Graph

1017 Commits

Author SHA1 Message Date
perennial eecffe117c customise bootstrap + refine ranking calendar 2024-10-01 21:43:43 +10:00
perennial 3ed93fa6bc link to artwork page instead on ranking calendar 2024-10-01 20:48:48 +10:00
perennial edb19880b1 Refactor ranking calendar to use structured data
This commit introduces a significant refactoring of the ranking calendar
functionality. The main changes include:

1. Created a new `DayCalendar` struct to represent calendar data.
2. Modified `GetRankingCalendar` to return a slice of `DayCalendar`
   instead of generating HTML directly.
3. Updated the template to use the new `DayCalendar` struct for rendering.
4. Moved HTML generation from Go code to the template.
2024-10-01 20:28:53 +10:00
perennial 524cd0b6ac refine ranking calendar styling 2024-10-01 20:10:53 +10:00
perennial 2a5b2276c8 ranking calendar card draft 2024-10-01 19:47:02 +10:00
perennial 667d0513c8 ranking calendar: use cards 2024-10-01 19:36:34 +10:00
perennial 4ac909f1a7 add comments to rankingCalendar.go files 2024-10-01 19:12:36 +10:00
perennial 73dadd913f ranking calendar draft 2024-10-01 19:09:37 +10:00
perennial 1f45f435b7 convert newest page 2024-10-01 18:29:55 +10:00
perennial c2d45bd0e5 fix spacing issue 2024-10-01 18:09:35 +10:00
perennial a66696c104 fix setToken issue 2024-10-01 18:08:48 +10:00
perennial c1fac56d38 Implement HTMX for asynchronous settings updates
Update settings page to use HTMX for form submissions, allowing for
asynchronous updates without page reloads. Add response divs for each
form to display success or error messages. Modify backend to support
AJAX responses and return appropriate messages.
2024-10-01 17:59:43 +10:00
perennial 0953b3e021 fix 2024-10-01 17:49:28 +10:00
perennial 8b813716c2 indentation 2024-10-01 17:47:24 +10:00
perennial 6e44e3a030 standardise 2024-10-01 17:31:14 +10:00
perennial 620f4e10a2 disable hx-boost on settings page 2024-10-01 17:24:14 +10:00
perennial 748a8dc1f8 rm fluff 2024-10-01 17:23:01 +10:00
perennial 7b6f3ed95a fix state issues with comment pagination 2024-10-01 17:22:24 +10:00
perennial 6974d816a1 htmx draft 2024-10-01 17:16:52 +10:00
perennial 0ef6b86bbf "Set" and "Clear" buttons side by side 2024-10-01 16:49:27 +10:00
perennial 9dbf61aecc fix 2024-10-01 16:45:39 +10:00
perennial cfe80ec359 Revert "broken anti-csrf implementation"
This reverts commit 60d76ab40e.
2024-10-01 16:45:12 +10:00
perennial d371dba844 broken anti-csrf implementation 2024-10-01 16:44:57 +10:00
perennial 90ebf74d88 add clear cookie route (broken styling) 2024-10-01 15:37:32 +10:00
perennial bd0c49954c allow reverting to built in proxy 2024-10-01 15:12:08 +10:00
perennial 230b9867be placeholder values exist 2024-10-01 15:09:05 +10:00
perennial 248913a188 simplify 2024-10-01 15:07:37 +10:00
perennial 559818f028 fix proxy server detection 2024-10-01 15:06:44 +10:00
perennial c8c5955273 standardise text formatting 2024-10-01 14:47:28 +10:00
perennial 1584dccc46 display current image proxy 2024-10-01 14:38:13 +10:00
perennial a0b8579dc8 advanced settings helper text 2024-10-01 14:21:52 +10:00
perennial 7190771139 helper text 2024-10-01 14:11:22 +10:00
perennial 6bc28155b6 helper text wip 2024-10-01 13:40:07 +10:00
perennial 95a3103bb8 add separate reset tab 2024-10-01 13:34:06 +10:00
perennial 0b5645ab9f add typeface-samples 2024-10-01 01:27:34 +10:00
perennial 9bf9ff6c25 clean up novels tab 2024-10-01 01:13:25 +10:00
perennial b49e674984 indentation again 2024-10-01 01:00:06 +10:00
perennial 2a82907199 indentation 2024-10-01 00:56:57 +10:00
perennial dcd50a2e29 use password type for token 2024-10-01 00:56:17 +10:00
perennial c28e587d1e punctuation 2024-10-01 00:50:19 +10:00
perennial 3fd226db68 rework filter settings 2024-10-01 00:39:59 +10:00
perennial eeddd1f9ca styling settings page 2024-10-01 00:32:20 +10:00
perennial ed3e30480c switch form for pixivfe-ThumbnailToNewTab 2024-10-01 00:08:31 +10:00
perennial 28a43f2ef8 Revert "default cookies"
This reverts commit 01d46aa60b.
2024-09-30 23:30:50 +10:00
perennial 587ff1067e default cookies 2024-09-30 23:30:42 +10:00
perennial b31caf239a set Show all proxy servers conditionally 2024-09-30 22:08:06 +10:00
perennial 74d60e549e ProxyCheckEnabled detection draft 2024-09-30 22:01:32 +10:00
perennial c9649ff3fc add proxy-toggle.js 2024-09-30 21:28:01 +10:00
perennial 8b6e8495d4 simplify image proxy selection 2024-09-30 20:27:15 +10:00
perennial 3903bc953d rework settings wip 2024-09-30 20:06:26 +10:00