forgejo/templates/repo
Mario Lubenka a37236314c Adds side-by-side diff for images (#6784)
* Adds side-by-side diff for images

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Explain blank imports

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use complete word for width and height labels on image compare

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update index.css from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves ImageInfo to git commit file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Assign ImageInfo function for template and sets correct target for BeforeSourcePath

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return error if ImageInfo failed

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Avoid template panic when ImageInfo failed for some reason

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show file size on image diff

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes unused helper function

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Reverts copyright year change

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Close file reader

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update commit.go

Sets correct data key

* Moves reader.Close() up a few lines

* Updates index.css

* Updates CSS file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers adjustments for image compare to compare.go file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts variable name

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Apply lesshint recommendations

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Do not show old image on image compare if it is not in index of base commit

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Change file size text

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-09-16 17:03:22 +08:00
..
branch [Branch View] show "New Pull Request" Button only if posible (#7977) 2019-08-26 13:47:41 +03:00
diff Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
editor Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478) 2019-07-17 14:40:28 -04:00
issue Move ref (branch or tag) location on issue list page (#8157) 2019-09-12 12:31:36 +03:00
pulls 1148: Take up the full width when viewing the diff in split view. (#8114) 2019-09-07 14:17:42 +03:00
release Properly escape release attachment URL (#6512) 2019-04-05 11:28:10 -04:00
settings Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
wiki wiki history improvements (#7391) 2019-07-11 22:45:10 +08:00
activity.tmpl Improve localization of git activity stats (#6848) 2019-05-04 23:32:37 +03:00
blame.tmpl keep blame view buttons sequence consistent with normal view when view a file (#8007) 2019-08-27 22:23:18 -04:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_page.tmpl Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 2019-06-14 09:32:13 +08:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
create.tmpl Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
empty.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl [Branch View] show "New Pull Request" Button only if posible (#7977) 2019-08-26 13:47:41 +03:00
header.tmpl [fix #7384] make show private icon when repo avatar set (#8144) 2019-09-13 07:15:26 +03:00
home.tmpl Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Add ui class to sub_menu to fix style in arc-green (#6477) 2019-04-02 08:41:19 +08:00
user_cards.tmpl Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
view_file.tmpl Detect delimiter in CSV rendering (#7869) 2019-08-16 01:09:50 +03:00
view_list.tmpl Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00