0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 03:14:39 +01:00
gitea/templates/repo/diff
Yarden Shoham 4e3d81e44e
Remove jQuery from the code diff expansion buttons (#29385)
- Removed all jQuery AJAX calls and replaced with htmx
- Tested the code diff expansion buttons functionality and it works as
before plus a loading indicator

# Demo using `htmx` instead of jQuery AJAX

![action](https://github.com/go-gitea/gitea/assets/20454870/afba7442-ed56-4d39-b764-835d1f6c3a9c)

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2024-02-25 05:07:23 +00:00
..
blob_excerpt.tmpl Remove jQuery from the code diff expansion buttons (#29385) 2024-02-25 05:07:23 +00:00
box.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
comment_form.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
comment_form_datahandler.tmpl
comments.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
compare.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
conversation.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
conversation_outdated.tmpl Improve user experience for outdated comments (#29050) 2024-02-08 01:50:48 +00:00
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
new_comment.tmpl
new_review.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
options_dropdown.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
section_code.tmpl
section_split.tmpl Remove jQuery from the code diff expansion buttons (#29385) 2024-02-25 05:07:23 +00:00
section_unified.tmpl Remove jQuery from the code diff expansion buttons (#29385) 2024-02-25 05:07:23 +00:00
stats.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
whitespace_dropdown.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00