mirror of
1
Fork 0
forgejo/templates
silverwind e4e98979ff
Add PDF rendering via PDFObject (#24086)
Use [PDFObject](https://pdfobject.com/) to embed PDFs, replacing our
outdated PDF.js copy we vendor (the last non-webpack vendoring).

[Commit
1](673e0263da)
is the PDFObject integration
[Commit
2](9336f5769d)
is the removal of PDF.js

<img width="1251" alt="Screenshot 2023-05-27 at 09 57 52"
src="https://github.com/go-gitea/gitea/assets/115237/169ce50c-bd1d-4bb0-86e5-1710bd0400a9">
<img width="1257" alt="Screenshot 2023-05-27 at 10 12 50"
src="https://github.com/go-gitea/gitea/assets/115237/318f7ee9-fb11-4093-83e7-17475aa70629">


Fallback for unsupporting browsers (most mobile ones, except Firefox
Mobile):

<img width="358" alt="Screenshot 2023-05-27 at 09 43 34"
src="https://github.com/go-gitea/gitea/assets/115237/8c12d7ba-57d6-4228-89a0-5fef9fad0cbb">

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-29 12:10:00 +00:00
..
admin Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Remove meta tags `theme-color` and `default-theme` (#24960) 2023-05-28 22:33:17 +00:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
explore Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
package Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
projects Use `shared/issueicon` template in projects (#24922) 2023-05-25 14:25:31 +02:00
repo Add PDF rendering via PDFObject (#24086) 2023-05-29 12:10:00 +00:00
shared Show `bot` label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
status Remove meta tags `theme-color` and `default-theme` (#24960) 2023-05-28 22:33:17 +00:00
swagger API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
user Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Unification of registration fields order (#24737) 2023-05-15 20:29:39 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00