-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Unify search boxes #29530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Unify search boxes #29530
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
9fc1cee
deduplicate search translations
denyskon 3420d76
Merge remote-tracking branch 'upstream/main' into locale-cleanup
denyskon cbf68b6
Merge remote-tracking branch 'upstream/main' into locale-cleanup
denyskon 0827d70
WIP
denyskon 68737d1
Merge branch 'main' into locale-cleanup
denyskon 64d0b72
WIP
denyskon d647d6a
WIP
denyskon 11dca6e
WIP
denyskon f57d864
Merge branch 'main' into locale-cleanup
denyskon 74e70b7
Merge remote-tracking branch 'upstream/main' into locale-cleanup
denyskon d9b35e3
finish
denyskon 142ff7c
document params for shared templates
denyskon 732b74e
Merge branch 'main' into locale-cleanup
denyskon e04497d
make test pass
denyskon 94208c1
Merge branch 'locale-cleanup' of ssh://github.com/denyskon/gitea into…
denyskon 5774a2c
no autofocus if disabled
denyskon 33f0bab
Merge branch 'main' into locale-cleanup
denyskon 7525ce0
Merge branch 'main' into locale-cleanup
6543 f1d15fa
Merge branch 'main' into locale-cleanup
6543 788ac65
Merge branch 'main' into locale-cleanup
denyskon a7b955f
remove primary color from button
denyskon 1dfadb6
Merge branch 'main' into locale-cleanup
denyskon dd14dc4
Merge branch 'main' into locale-cleanup
6543 c1dcf7f
Merge branch 'main' into locale-cleanup
6543 8c2d0e4
Merge branch 'main' into locale-cleanup
denyskon 22124c4
Merge branch 'main' into locale-cleanup
denyskon 0539de3
Merge branch 'main' into locale-cleanup
denyskon e222490
Update templates/package/shared/list.tmpl
denyskon 40a58c6
Merge branch 'main' into locale-cleanup
denyskon b67c1f5
Merge branch 'main' into locale-cleanup
6543 655fcdd
Update templates/repo/home.tmpl
denyskon 948a98d
apply requested changes
denyskon 75afa66
Merge branch 'main' into locale-cleanup
denyskon f49e69d
Merge branch 'main' into locale-cleanup
denyskon 3d2d213
Update web_src/css/form.css
denyskon ea418f3
css fixes
silverwind 8aaa5ca
simplify code search template
denyskon 2372dc3
Merge branch 'locale-cleanup' of ssh://github.com/denyskon/gitea into…
denyskon 0601976
move commits search dropdown out
denyskon d5a1c84
Merge branch 'main' into locale-cleanup
GiteaBot 329c2f4
fix button left border on focus
silverwind 91f7e35
Merge branch 'main' into locale-cleanup
GiteaBot b64a6e9
Merge branch 'main' into locale-cleanup
GiteaBot d17d86e
Merge branch 'main' into locale-cleanup
GiteaBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<form class="ui form ignore-dirty"> | ||
<div class="ui fluid action input"> | ||
{{template "shared/searchinput" dict "Value" .Keyword "Disabled" .CodeIndexerUnavailable}} | ||
<div class="ui dropdown selection {{if .CodeIndexerUnavailable}} disabled{{end}}" data-tooltip-content="{{ctx.Locale.Tr "explore.search.type.tooltip"}}"> | ||
<div class="ui dropdown selection {{if .CodeIndexerUnavailable}} disabled{{end}}" data-tooltip-content="{{ctx.Locale.Tr "search.type_tooltip"}}"> | ||
<input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}} | ||
<div class="text">{{ctx.Locale.Tr (printf "explore.search.%s" (or .queryType "fuzzy"))}}</div> | ||
<div class="text">{{ctx.Locale.Tr (printf "search.%s" (or .queryType "fuzzy"))}}</div> | ||
<div class="menu"> | ||
<div class="item" data-value="" data-tooltip-content="{{ctx.Locale.Tr "explore.search.fuzzy.tooltip"}}">{{ctx.Locale.Tr "explore.search.fuzzy"}}</div> | ||
<div class="item" data-value="match" data-tooltip-content="{{ctx.Locale.Tr "explore.search.match.tooltip"}}">{{ctx.Locale.Tr "explore.search.match"}}</div> | ||
<div class="item" data-value="" data-tooltip-content="{{ctx.Locale.Tr "search.fuzzy_tooltip"}}">{{ctx.Locale.Tr "search.fuzzy"}}</div> | ||
<div class="item" data-value="match" data-tooltip-content="{{ctx.Locale.Tr "search.match_tooltip"}}">{{ctx.Locale.Tr "search.match"}}</div> | ||
</div> | ||
</div> | ||
<button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{ctx.Locale.Tr "explore.search"}}</button> | ||
<button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{ctx.Locale.Tr "search.search"}}</button> | ||
</div> | ||
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.