John Olheiser
dd3a8e419d
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>
6 years ago
Mario Lubenka
d49439f42e
Unifies pagination template usage ( #6531 ) ( #6533 )
7 years ago
Rémy Boulanouar
3c466cbf40
Allow to set organization visibility (public, internal, private) ( #1763 )
7 years ago
Lanre Adelowo
ca508e6366
fix #3200 ( #6033 )
7 years ago
Harshit Bansal
f590ac98f7
Display branch name in delete branch confirmation modal. ( #5654 )
Fixes : #5630 .
7 years ago
Alexey Terentyev
6b125b90e7
Added repository search ordered by stars or forks. Forks column in admin repo list. ( #3969 )
* Added repository search order by stars or forks.
Added Forks column to admin repository list.
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Renamed search repo template
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
7 years ago
muhfaris
32fff997f5
Fix Delete repository message ( #3260 )
8 years ago
Lunny Xiao
a5c212cd1e
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
8 years ago
Jonas
6c8faadf3d
Repo size in admin panel ( #1482 )
* Implementation of the feature to view repository size in admin panel
* Move GetRepoSize to git module
* Repository.RepoSize -> Repository.Size
* RepoSize -> Size in template
* Redo a few bits and pieces
* Update size when syncing mirror or forking
* Remove GetRepoSize
* Changed fatal errors to error message
* Copy migration code from Gogs
* make fmt
9 years ago
Patrick G
974f8f76ab
Cleaner ui for admin, repo settings, and user settings page ( #1269 ) ( #1270 )
9 years ago
Matthias Loibl
8e74e86f7d
Fix bug that tries to load mistyped templates
9 years ago
Kim "BKC" Carlbäcker
ce897d65f9
Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
9 years ago
Unknwon
c8116aed7f
Minor HTML fix for delete repository notice
9 years ago
Pheng Heong TAN
18c2e0e559
Modify behaviour of repo-delete. ( #3232 )
Re: issues gogits/gogs#2863 and gogits/gogs#3231
As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.
Meta
-----
This commit will be rebased onto the 'develop' branch.
9 years ago
Unknwon
2d90be9c2e
#13 finish user and repository search
Both are possible on explore and admin panel
10 years ago
Adam Strzelecki
69427c6115
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
10 years ago
Unknwon
ad91518721
remember page number when delete repo
10 years ago
Unknwon
ad998a52b9
#2063 Ability to delete repo from admin panel
10 years ago
Unknwon
2374b320dc
#1525 Triggere mailer for admin created accounts
10 years ago
Antoine GIRARD
03579f6954
Fix admin repos new ui
10 years ago
Unknwon
36fa23ed16
WIP: create PR - choose branch
10 years ago
Peter Smit
327d3cd26f
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.
11 years ago
Peter Smit
fd70f9ec1b
Fix #799 by adding a tooltip for all dates in all settings/panels
11 years ago
James Cracknell
64d90a761b
Fix swapped issue/star columns in /admin/repos
11 years ago
Unknwon
0c92da7e9c
fix invalid user links in admin panels
11 years ago
Unknwon
7ba9257a7f
Add suburl support
11 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
11 years ago
Unknwon
d2aff9a46a
Continue working on new admin pages
11 years ago