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 роки тому
jaqra
8875586570
Change some label colors (#9051)
* Change label colors
* Override black basic label background for green theme on label list
4 роки тому
Rémy Boulanouar
64ce159a6e
Allow to set organization visibility (public, internal, private) (#1763)
5 роки тому
Lunny Xiao
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage (#3142)
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
6 роки тому
Rémy Boulanouar
25d6e2a660
Add button to admin ui (#1738)
* Add button to admin ui
* Update according to review
* Update locale_fr-FR.ini
* Rollback to locale french file
7 роки тому
Patrick G
efbb895ebe
Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)
7 роки тому
Kim "BKC" Carlbäcker
562f9b6eae
Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
7 роки тому
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 роки тому
Unknwon
2bf8494332
#13 finish user and repository search
Both are possible on explore and admin panel
8 роки тому
Unknwon
4108c12092
#2156 add edit org link in admin panel
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
8966750fd4
add some log
8 роки тому
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
8 роки тому
Antoine GIRARD
c98dad1cf3
New admin organization UI
8 роки тому
Peter Smit
7759b9ee6e
Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
9 роки тому
Peter Smit
fd70f9ec1b
Fix #799 by adding a tooltip for all dates in all settings/panels
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 роки тому
Unknwon
d2aff9a46a
Continue working on new admin pages
9 роки тому