John Olheiser
86fdba177a
Add Octicon SVG spritemap (#10107)
* Add octicon SVG sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Static prefix
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* SVG for all repo icons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make vendor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap out octicons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move octicons to top of less imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Definitely not a search/replace
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed regex
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move to more generic calls and webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make svg -> make webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg-sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed a test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg from makefile
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Attempt to fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert timetracking test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap .octicon for .svg in less
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add aria-hidden
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Replace mega-octicon
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix webpack globbing on Windows
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert
Co-Authored-By: silverwind <me@silverwind.io>
* Fix octions from upstream
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix Vue and missed JS function
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add JS helper and PWA
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Preload SVG
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <matti@mdranta.net>
il y a 4 ans
Jakob Ackermann
00629fea95
[assets] configurable URL for static resources (#7911)
* static url
* add cors support for static resources
* [assets] work on the migration to configurable url for assets
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [misc] fix whitespace
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [assets] fix the loading of the manifest.json
It is generated dynamically, and as such can not be served by the cdn.
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Revert "add cors support for static resources"
This reverts commit 42f964fd18
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [docs] add the STATIC_URL_PREFIX option
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [assets] migrate the url of a new asset to the static url prefix
REF: f2a3abc683
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
il y a 4 ans
6543
3b379691fa
move translation to crowdin (#8596)
il y a 4 ans
Konrad Pozniak
f37b87f81e
Improve german translation of homepage (#8549)
I'm a native speaker, it looks much better this way
il y a 4 ans
Lauris BH
772241b324
Latvian translation for home page (#8468)
il y a 4 ans
spaeps
633cd7f473
Add home template italian translation (#8352)
It was just missing
il y a 4 ans
vadim s. sabinich
760c473896
Fix typo in home.tmpl (#7452)
il y a 5 ans
Sandro Santilli
9ca7fcddbb
"It's all in GitHub" isn't true anymore, update the home template (#7059)
NOTE: this commit only updates the english section
il y a 5 ans
Jan Breuer
ea518681d9
Translate home template to Czech (#5665)
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
il y a 5 ans
Tohka
8db3bdc683
Fix home page template regression (#5102)
Commit 7bb4d610e5
tries to take the app_name from the locale, however, it is a user defined setting. This causes the app name to simply display as `app_name` instead of the correct value.
templates/helper.go automatically injects the AppName variable into every template, so we can safely use that instead.
Signed-off-by: Daniel Derzsi <daniel@tohka.us>
il y a 5 ans
mcnesium
7bb4d610e5
Use APP_NAME on home page (#5048)
Would it make sense to actually use the configured app name on the home page?
il y a 5 ans
cezar97
51ba3df5ff
Add `noreferrer` to rel='noopener` for <a> tags (#4328)
il y a 6 ans
techknowlogick
2986e942ee
Mac OS X -> macOS (#4056)
il y a 6 ans
Ethan Koenig
ea78a6db57
Spaces to tabs in templates (#2953)
il y a 6 ans
Sandro Santilli
fbaa52a3a8
Link to gitea-specific Vagrant example (#2624)
.. rather than a gogs one
il y a 6 ans
Bo-Yi Wu
0af9a24087
docs: update translation on homepage for zh-tw (#634)
il y a 7 ans
Bwko
6388761129
Added Dutch translations to the landingpage
il y a 7 ans
Lunny Xiao
c46eb3f5b3
Fix homepage docs link broken (#417)
* fix homepage docs link broken
* fix homepage docs links after docs updated
il y a 7 ans
Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
il y a 7 ans
Andrey Nering
96c9fef35f
Update home page to Gitea (#138)
il y a 7 ans
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
il y a 7 ans
rugk
28dc5bb566
Replace gogs.io http links with https version (#3386)
il y a 8 ans
Unknwon
12b5a76b0d
Minor fix for #2772
il y a 8 ans
xDShot
d8738f5bfd
минимальные -> низкие (системные требования)
il y a 8 ans
Lourens
14aba3489e
Add ru-RU to home template
il y a 8 ans
Andrey Nering
0e0cd9100b
Add portuguese-BR to home template.
il y a 8 ans
Toni Villena
1105a3139f
Add es-ES to home template
il y a 8 ans
Philippe Chataignon
939d96813c
Add fr-FR to home template
il y a 8 ans
Adam Strzelecki
da2585c11e
Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
il y a 8 ans
Unknwon
2729eb998c
#1646 and other minor fixes
il y a 8 ans
Unknwon
4b9fb43a70
home: new UI
il y a 9 ans
Raphael Randschau
3c65265871
Hide the registration button depending on the setting
il y a 9 ans
Tristan Storch
4c4488213a
correction: updated docker link
il y a 9 ans
unknown
1031271224
Add German translation to home page
il y a 9 ans
Unknwon
7ba9257a7f
Add suburl support
il y a 9 ans
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
il y a 9 ans
Tristan Storch
69e332f432
Removed trailing white spaces
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
il y a 9 ans
Unknwon
9baf2b38d0
Bug fix on organization
il y a 9 ans
Unknwon
7af7584d25
Finish new reset password, etc.
il y a 10 ans
Unknwon
e8c9bb2c66
Finish new collaboration page
il y a 10 ans
Unknwon
8dd07c0ddd
New UI merge in progress
il y a 10 ans
Unknown
c1eb4d894a
Clean api code
il y a 10 ans
twitchyliquid64
d304a23787
Corrected grammar and spelling mistakes in templates. Normalizing to American English.
il y a 10 ans
Unknown
c36e7d322e
Mirror updates
il y a 10 ans
zhsso
a4cbe79567
fix
il y a 10 ans
zhsso
f3ed11d177
mistakes
il y a 10 ans
Unknown
cb05b8325c
Update config option
il y a 10 ans
Jake Scott
60b83ce0c6
Fix up the spelling on the intro :)
il y a 10 ans
FuXiaoHei
2a2f025388
change css name style
il y a 10 ans
Unknown
fbd252c1cf
Mirror fix
il y a 10 ans