File tree Expand file tree Collapse file tree 3 files changed +36
-42
lines changed Expand file tree Collapse file tree 3 files changed +36
-42
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { BillingMode } from "@gitpod/gitpod-protocol/lib/billing-mode";
18
18
import { CostCenterJSON , CostCenter_BillingStrategy } from "@gitpod/gitpod-protocol/lib/usage" ;
19
19
import Modal from "../components/Modal" ;
20
20
import { Heading2 } from "../components/typography/headings" ;
21
+ import search from "../icons/search.svg" ;
21
22
22
23
export default function TeamDetail ( props : { team : Team } ) {
23
24
const { team } = props ;
@@ -134,17 +135,22 @@ export default function TeamDetail(props: { team: Team }) {
134
135
</ Property >
135
136
) }
136
137
</ div >
137
- < div className = "flex mt-4" >
138
- < div className = "flex" >
139
- < div className = "py-4" >
140
- < svg xmlns = "http://www.w3.org/2000/svg" fill = "none" viewBox = "0 0 16 16" width = "16" height = "16" >
141
- < path
142
- fill = "#A8A29E"
143
- d = "M6 2a4 4 0 100 8 4 4 0 000-8zM0 6a6 6 0 1110.89 3.477l4.817 4.816a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 010 6z"
144
- />
145
- </ svg >
138
+ < div className = "flex" >
139
+ < div className = "flex mt-3 pb-3" >
140
+ < div className = "flex relative h-10 my-auto" >
141
+ < img
142
+ src = { search }
143
+ title = "Search"
144
+ className = "filter-grayscale absolute top-3 left-3"
145
+ alt = "search icon"
146
+ />
147
+ < input
148
+ className = "w-64 pl-9 border-0"
149
+ type = "search"
150
+ placeholder = "Search Members"
151
+ onChange = { ( e ) => setSearchText ( e . target . value ) }
152
+ />
146
153
</ div >
147
- < input type = "search" placeholder = "Search Members" onChange = { ( e ) => setSearchText ( e . target . value ) } />
148
154
</ div >
149
155
</ div >
150
156
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import { Link, Redirect } from "react-router-dom";
22
22
import { Disposable } from "vscode-jsonrpc" ;
23
23
import { useCurrentProject } from "./project-context" ;
24
24
import { getProjectTabs } from "./projects.routes" ;
25
+ import search from "../icons/search.svg" ;
25
26
26
27
export default function PrebuildsPage ( props : { project ?: Project ; isAdminDashboard ?: boolean } ) {
27
28
const currentProject = useCurrentProject ( ) ;
@@ -142,24 +143,17 @@ export default function PrebuildsPage(props: { project?: Project; isAdminDashboa
142
143
/>
143
144
) }
144
145
< div className = { props . isAdminDashboard ? "" : "app-container" } >
145
- < div className = { props . isAdminDashboard ? "flex" : "flex mt-8" } >
146
- < div className = "flex" >
147
- < div className = "py-4" >
148
- < svg
149
- xmlns = "http://www.w3.org/2000/svg"
150
- fill = "none"
151
- viewBox = "0 0 16 16"
152
- width = "16"
153
- height = "16"
154
- >
155
- < path
156
- fill = "#A8A29E"
157
- d = "M6 2a4 4 0 100 8 4 4 0 000-8zM0 6a6 6 0 1110.89 3.477l4.817 4.816a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 010 6z"
158
- />
159
- </ svg >
160
- </ div >
146
+ < div className = { props . isAdminDashboard ? "flex" : "flex mt-3 pb-3" } >
147
+ < div className = "flex relative h-10 my-auto" >
148
+ < img
149
+ src = { search }
150
+ title = "Search"
151
+ className = "filter-grayscale absolute top-3 left-3"
152
+ alt = "search icon"
153
+ />
161
154
< input
162
155
type = "search"
156
+ className = "w-64 pl-9 border-0"
163
157
placeholder = "Search Prebuilds"
164
158
onChange = { ( e ) => setSearchFilter ( e . target . value ) }
165
159
/>
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import { prebuildStatusIcon, prebuildStatusLabel } from "./Prebuilds";
23
23
import { useCurrentProject } from "./project-context" ;
24
24
import { getProjectTabs } from "./projects.routes" ;
25
25
import { shortCommitMessage , toRemoteURL } from "./render-utils" ;
26
+ import search from "../icons/search.svg" ;
26
27
27
28
export default function ProjectsPage ( ) {
28
29
const history = useHistory ( ) ;
@@ -226,24 +227,17 @@ export default function ProjectsPage() {
226
227
</ div >
227
228
) : (
228
229
< >
229
- < div className = "flex mt-8" >
230
- < div className = "flex" >
231
- < div className = "py-4" >
232
- < svg
233
- xmlns = "http://www.w3.org/2000/svg"
234
- fill = "none"
235
- viewBox = "0 0 16 16"
236
- width = "16"
237
- height = "16"
238
- >
239
- < path
240
- fill = "#A8A29E"
241
- d = "M6 2a4 4 0 100 8 4 4 0 000-8zM0 6a6 6 0 1110.89 3.477l4.817 4.816a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 010 6z"
242
- />
243
- </ svg >
244
- </ div >
230
+ < div className = "mt-3 pb-3 flex border-b border-gray-200 dark:border-gray-800" >
231
+ < div className = "flex relative h-10 my-auto" >
232
+ < img
233
+ src = { search }
234
+ title = "Search"
235
+ className = "filter-grayscale absolute top-3 left-3"
236
+ alt = "search icon"
237
+ />
245
238
< input
246
239
type = "search"
240
+ className = "w-64 pl-9 border-0"
247
241
placeholder = "Search Active Branches"
248
242
onChange = { ( e ) => setSearchFilter ( e . target . value ) }
249
243
/>
You can’t perform that action at this time.
0 commit comments