diff --git a/templates/admin/base/search.tmpl b/templates/admin/base/search.tmpl index ae1a4d2ac..bc684e765 100644 --- a/templates/admin/base/search.tmpl +++ b/templates/admin/base/search.tmpl @@ -15,9 +15,9 @@ -
+
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
diff --git a/templates/admin/emails/list.tmpl b/templates/admin/emails/list.tmpl index 1da40cbf2..db15887d9 100644 --- a/templates/admin/emails/list.tmpl +++ b/templates/admin/emails/list.tmpl @@ -19,9 +19,9 @@ -
+
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
diff --git a/templates/admin/packages/list.tmpl b/templates/admin/packages/list.tmpl index f320878b8..a0b6fd9bb 100644 --- a/templates/admin/packages/list.tmpl +++ b/templates/admin/packages/list.tmpl @@ -8,7 +8,7 @@
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Query "AutoFocus" true}} + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
diff --git a/templates/admin/user/list.tmpl b/templates/admin/user/list.tmpl index 2f76f2d3b..3093b0f47 100644 --- a/templates/admin/user/list.tmpl +++ b/templates/admin/user/list.tmpl @@ -51,8 +51,8 @@
-
- +
+ {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
diff --git a/templates/code/searchform.tmpl b/templates/code/searchform.tmpl index dfe7bc5b1..822102fc7 100644 --- a/templates/code/searchform.tmpl +++ b/templates/code/searchform.tmpl @@ -1,6 +1,6 @@
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true "Disabled" .CodeIndexerUnavailable}}
- +
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}} {{if .PageIsExploreRepositories}} {{end}} diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 72dee41f0..70780648b 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -15,9 +15,9 @@
- +
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl index 5ac5baf0f..3d14eda3e 100644 --- a/templates/package/shared/list.tmpl +++ b/templates/package/shared/list.tmpl @@ -2,7 +2,7 @@ {{template "base/alert" .}}
- + {{template "shared/searchinput" dict "locale" .locale "Value" .Query "AutoFocus" true}} + {{template "shared/searchinput" dict "locale" .locale "Value" .Query "AutoFocus" true}} - + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword}} diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl index 13224680b..ec7789b95 100644 --- a/templates/repo/issue/search.tmpl +++ b/templates/repo/issue/search.tmpl @@ -7,7 +7,7 @@ - + {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword}} {{if .PageIsIssueList}} {{end}} diff --git a/templates/shared/actions/runner_list.tmpl b/templates/shared/actions/runner_list.tmpl index 5da55f44b..36210af6d 100644 --- a/templates/shared/actions/runner_list.tmpl +++ b/templates/shared/actions/runner_list.tmpl @@ -35,8 +35,8 @@
-
- +
+ {{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
diff --git a/templates/shared/searchinput.tmpl b/templates/shared/searchinput.tmpl new file mode 100644 index 000000000..aae5437b1 --- /dev/null +++ b/templates/shared/searchinput.tmpl @@ -0,0 +1 @@ + diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index e7762c5a9..528c9f4f9 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -77,7 +77,7 @@ - + {{template "shared/searchinput" dict "locale" .locale "Value" $.Keyword}}
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl index c68d0783b..43d145ac5 100644 --- a/templates/user/dashboard/milestones.tmpl +++ b/templates/user/dashboard/milestones.tmpl @@ -51,7 +51,7 @@ - + {{template "shared/searchinput" dict "locale" .locale "Value" $.Keyword}}
diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index b47d87292..6d27cb750 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -16,7 +16,7 @@