0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 01:14:10 -05:00
forgejo/templates/repo
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867)
* Added type sniffer.

* Switched content detection from base to typesniffer.

* Added GuessContentType to Blob.

* Moved image info logic to client.
Added support for SVG images in diff.

* Restore old blocked svg behaviour.

* Added missing image formats.

* Execute image diff only when container is visible.

* add margin to spinner

* improve BIN tag on image diffs

* Default to render view.

* Show image diff on incomplete diff.

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-06-05 15:32:19 +03:00
..
branch Add possibility to make branch in branch page (#15960) 2021-05-24 15:57:46 +01:00
diff Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
editor Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
graph Use pulls in commit graph unless pulls are disabled (#15774) 2021-05-07 20:10:30 +02:00
issue Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
migrate Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
projects remove unimplemented searchbar from project view (#15901) 2021-05-17 02:10:30 +02:00
pulls Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
release Remove fomantic accordion module (#15951) 2021-05-23 08:45:39 +08:00
settings Hide mirror passwords on repo settings page (#16022) 2021-05-31 11:46:20 +01:00
wiki Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
activity.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
blame.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
branch_dropdown.tmpl Fix extra curly brace breaking release compare (#15988) 2021-05-26 21:07:39 -04:00
clone_buttons.tmpl Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
commit_page.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
commit_status.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commit_statuses.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits.tmpl Add compare tag dropdown to releases page (#15695) 2021-05-03 13:27:48 -04:00
commits_list.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits_list_small.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits_table.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
create.tmpl not show link to migration on repo reate page when it was disabled (#15957) 2021-05-26 12:13:00 -04:00
empty.tmpl Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
forks.tmpl
graph.tmpl
header.tmpl Disable Stars config option (#14653) 2021-04-15 18:53:57 +02:00
home.tmpl Add compare tag dropdown to releases page (#15695) 2021-05-03 13:27:48 -04:00
icon.tmpl
search.tmpl Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
shabox_badge.tmpl
sub_menu.tmpl Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
upload.tmpl
user_cards.tmpl
view_file.tmpl Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
view_list.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
watchers.tmpl