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