forgejo/templates/repo/diff
Yarden Shoham 30fe3d8d4c
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>
(cherry picked from commit 4e3d81e44ee3f504f7262966533305561e04101f)
2024-02-26 22:30:27 +01:00
..
blob_excerpt.tmpl Remove jQuery from the code diff expansion buttons (#29385) 2024-02-26 22:30:27 +01:00
box.tmpl Clean up diff header css and reduce global textarea min-height (#29232) 2024-02-19 22:58:33 +01:00
comment_form.tmpl
comment_form_datahandler.tmpl
comments.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
compare.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
conversation.tmpl
conversations.tmpl [BUG] split code conversations in diff tab (#2306) 2024-02-16 12:16:11 +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
options_dropdown.tmpl
section_code.tmpl
section_split.tmpl Remove jQuery from the code diff expansion buttons (#29385) 2024-02-26 22:30:27 +01:00
section_unified.tmpl Remove jQuery from the code diff expansion buttons (#29385) 2024-02-26 22:30:27 +01:00
stats.tmpl
whitespace_dropdown.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00