1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-29 08:17:31 -04:00
gitea/templates
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
..
admin migrate gplus to google oauth2 provider (#7885) 2019-09-14 12:02:39 +02:00
base jQuery 3 (#7425) 2019-07-12 08:21:44 +03:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Repository avatar fallback configuration (#7087) 2019-06-02 14:40:12 +08:00
mail UX + Security current user password reset (#5042) 2019-04-18 10:23:59 +03:00
org org/members: display 2FA members states + optimize sql requests (#7621) 2019-08-02 12:06:27 -04:00
pwa jQuery 3 (#7425) 2019-07-12 08:21:44 +03:00
repo Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
status Minor UI tweaks (#5980) 2019-02-19 18:09:47 -05:00
swagger Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
user apply emoji on dashboard issue list labels (#8156) 2019-09-12 13:00:55 +03:00
home.tmpl Fix typo in home.tmpl (#7452) 2019-07-15 19:26:23 -04:00
install.tmpl Add support of utf8mb4 for mysql (#6992) 2019-05-24 00:15:26 -04:00