yp05327
eae555ff23
Remove autofocus in search box ( #28033 )
...
Mentioned here:
https://github.com/go-gitea/gitea/pull/27982#issuecomment-1807923026
1 year ago
delvh
7960ba7e2b
Always use `ctx.Locale.Tr` inside templates ( #27231 )
1 year ago
Denys Konovalov
2325fe777d
cleanup locale function usage ( #27227 )
1 year ago
wxiaoguang
1f026bcb7e
Fix dropdown icon position ( #27175 )
...
According to https://fomantic-ui.com/modules/dropdown.html and our
"devtest" page, many dropdown elements has incorrect "icon" position.
This PR fixes all of them. Fix #27173
1 year ago
HesterG
c082689471
Use flex instead of float for sort button and search input ( #25519 )
...
Right now some sort buttons beside search input are unclickable because
#25338 removed `max-width` and the sort button is using float, sort
button is then covered by the `input`.
The way to fix this in this PR is changing the layout to `flex` and put
`input form` and sort `button` into `secondary menu`.
After:
<img width="1411" alt="Screen Shot 2023-06-26 at 16 40 52"
src="https://github.com/go-gitea/gitea/assets/17645053/63c12b17-793a-4ae7-bbda-f67b13b87212 ">
<img width="1428" alt="Screen Shot 2023-06-26 at 16 34 06"
src="https://github.com/go-gitea/gitea/assets/17645053/cb7d967e-355d-4cb0-955c-6139580fc17a ">
<img width="716" alt="Screen Shot 2023-06-26 at 16 34 22"
src="https://github.com/go-gitea/gitea/assets/17645053/c74b5ef2-d46e-4487-8794-28bec984bb36 ">
<img width="1424" alt="Screen Shot 2023-06-26 at 16 34 32"
src="https://github.com/go-gitea/gitea/assets/17645053/8a5fdc05-a2c5-4ec4-979d-15a21501fe14 ">
<img width="1425" alt="Screen Shot 2023-06-26 at 16 35 21"
src="https://github.com/go-gitea/gitea/assets/17645053/eb73cd31-3914-4bc9-92ab-aba56f25128b ">
<img width="1437" alt="Screen Shot 2023-06-26 at 16 36 14"
src="https://github.com/go-gitea/gitea/assets/17645053/1c3b4595-bb26-491f-aa68-60dc9ab22b84 ">
1 year ago
silverwind
af094fbb6c
Introduce shared template for search inputs ( #25338 )
...
- Set
[type=search](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search )
- Disable spellcheck
- Set maxLength 255 that I found in `templates/repo/issue/search.tmpl`
- Remove unnecessary `max-width`, it does nothing
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
1 year ago
Jason Song
2779d47ad3
Optimize html templates ( #22080 )
...
Replace `active{{end}} item` with `active{{end}} item`.
2 years ago
Gusted
d55a0b7238
Refactor `i18n` to `locale` ( #20153 )
...
* Refactor `i18n` to `locale`
- Currently we're using the `i18n` variable naming for the `locale`
struct. This contains locale's specific information and cannot be used
for general i18n purpose, therefore refactoring it to `locale` makes
more sense.
- Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200
* Update routers/install/install.go
2 years ago
Lauris BH
1f8f9c3826
Remove tab/TabName usage where it's not needed ( #19973 )
...
`tab` query argument and `TabName` in context is used only in profile so remove it from all other places where it's not used anymore.
2 years ago
silverwind
9da3d78e74
Replace blue button and label classes with primary ( #19763 )
...
* make blue really blue
* replace blue button and label classes with primary
* add --color-blue-dark
* add light color variants, tweak a few colors
* fix colors
* add comment
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
silverwind
2ac112d84e
Comment box tweaks and SVG dropdown triangles ( #13376 )
...
* Comment box tweaks and SVG dropdown triangles
- Change all dropdown triangles to SVG
- Bring inline review comment box closer to regular comment boxes
- Enhance arc-green checkbox contrast
- Minor reaction tweaks
- Flexbox the diff file header
* remove a border
* fix type marker in arc-green
* add small code padding
* fix position regression and remove useless rules
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Alexey Terentyev
b908ac9fab
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
Gerben
2dc6f15eca
Don't warn users about *every* dirty form ( #3707 )
...
The choice regarding which forms should or should not trigger a warning
is subjective. I tried to be consistent and not warn about forms that:
- run an action, rather than edit data: search, send an email.
- delete data: a warning about losing data would be confusing
Note that forms on sign-in pages were already ignored (using a selector,
rather than an explicit class on the form element).
Fixes #3698 .
7 years ago
Jonas Franz
33647aa43b
Fixing wrong translations on sorttype oldest/latest ( #2720 )
7 years ago
Jorrit Klein Bramel
87efc8c6d4
Sort on repo size in admin panel ( #1654 )
...
* fix #1653 sort on repo size
* fix minor mistake in en-us locale
8 years ago
Bwko
fa3abc22c0
Added sorting to organizations, repos & users page ( #222 )
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago