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>
4 лет назад
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>
4 лет назад
6543
3b379691fa
move translation to crowdin (#8596)
4 лет назад
Konrad Pozniak
f37b87f81e
Improve german translation of homepage (#8549)
I'm a native speaker, it looks much better this way
4 лет назад
Lauris BH
772241b324
Latvian translation for home page (#8468)
4 лет назад
spaeps
633cd7f473
Add home template italian translation (#8352)
It was just missing
4 лет назад
vadim s. sabinich
760c473896
Fix typo in home.tmpl (#7452)
5 лет назад
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
5 лет назад
Jan Breuer
ea518681d9
Translate home template to Czech (#5665)
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
5 лет назад
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>
5 лет назад
mcnesium
7bb4d610e5
Use APP_NAME on home page (#5048)
Would it make sense to actually use the configured app name on the home page?
5 лет назад
cezar97
51ba3df5ff
Add `noreferrer` to rel='noopener` for <a> tags (#4328)
6 лет назад
techknowlogick
2986e942ee
Mac OS X -> macOS (#4056)
6 лет назад
Ethan Koenig
ea78a6db57
Spaces to tabs in templates (#2953)
6 лет назад
Sandro Santilli
fbaa52a3a8
Link to gitea-specific Vagrant example (#2624)
.. rather than a gogs one
6 лет назад
Bo-Yi Wu
0af9a24087
docs: update translation on homepage for zh-tw (#634)
7 лет назад
Bwko
6388761129
Added Dutch translations to the landingpage
7 лет назад
Lunny Xiao
c46eb3f5b3
Fix homepage docs link broken (#417)
* fix homepage docs link broken
* fix homepage docs links after docs updated
7 лет назад
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
7 лет назад
Andrey Nering
96c9fef35f
Update home page to Gitea (#138)
7 лет назад
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
7 лет назад
rugk
28dc5bb566
Replace gogs.io http links with https version (#3386)
8 лет назад
Unknwon
12b5a76b0d
Minor fix for #2772
8 лет назад
xDShot
d8738f5bfd
минимальные -> низкие (системные требования)
8 лет назад
Lourens
14aba3489e
Add ru-RU to home template
8 лет назад
Andrey Nering
0e0cd9100b
Add portuguese-BR to home template.
8 лет назад
Toni Villena
1105a3139f
Add es-ES to home template
8 лет назад
Philippe Chataignon
939d96813c
Add fr-FR to home template
8 лет назад
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
8 лет назад
Unknwon
2729eb998c
#1646 and other minor fixes
8 лет назад
Unknwon
4b9fb43a70
home: new UI
9 лет назад
Raphael Randschau
3c65265871
Hide the registration button depending on the setting
9 лет назад
Tristan Storch
4c4488213a
correction: updated docker link
9 лет назад
unknown
1031271224
Add German translation to home page
9 лет назад
Unknwon
7ba9257a7f
Add suburl support
9 лет назад
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
9 лет назад
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.
9 лет назад
Unknwon
9baf2b38d0
Bug fix on organization
9 лет назад
Unknwon
7af7584d25
Finish new reset password, etc.
10 лет назад
Unknwon
e8c9bb2c66
Finish new collaboration page
10 лет назад
Unknwon
8dd07c0ddd
New UI merge in progress
10 лет назад
Unknown
c1eb4d894a
Clean api code
10 лет назад
twitchyliquid64
d304a23787
Corrected grammar and spelling mistakes in templates. Normalizing to American English.
10 лет назад
Unknown
c36e7d322e
Mirror updates
10 лет назад
zhsso
a4cbe79567
fix
10 лет назад
zhsso
f3ed11d177
mistakes
10 лет назад
Unknown
cb05b8325c
Update config option
10 лет назад
Jake Scott
60b83ce0c6
Fix up the spelling on the intro :)
10 лет назад
FuXiaoHei
2a2f025388
change css name style
10 лет назад
Unknown
fbd252c1cf
Mirror fix
10 лет назад