File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
components/dashboard/src/admin Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ import { Link } from "react-router-dom";
22
22
import { getGitpodService } from "../service/service" ;
23
23
import { getProject , WorkspaceStatusIndicator } from "../workspaces/WorkspaceEntry" ;
24
24
import WorkspaceDetail from "./WorkspaceDetail" ;
25
- import info from "../images/info.svg" ;
26
25
import { PageWithAdminSubMenu } from "./PageWithAdminSubMenu" ;
26
+ import Alert from "../components/Alert" ;
27
27
28
28
interface Props {
29
29
user ?: User ;
@@ -138,14 +138,9 @@ export function WorkspaceSearch(props: Props) {
138
138
</ button >
139
139
</ div >
140
140
</ div >
141
- < div
142
- className = {
143
- "flex rounded-xl bg-gray-200 dark:bg-gray-800 text-gray-600 dark:text-gray-400 p-2 w-2/3 mb-2 w-full"
144
- }
145
- >
146
- < img className = "w-4 h-4 m-1 ml-2 mr-4" alt = "info" src = { info } />
147
- < span > Please enter complete IDs - this search does not perform partial-matching.</ span >
148
- </ div >
141
+ < Alert type = { "info" } closable = { false } showIcon = { true } className = "flex rounded p-2 mb-2 w-full" >
142
+ < span > Search workspaces using workspace ID.</ span >
143
+ </ Alert >
149
144
< div className = "flex flex-col space-y-2" >
150
145
< div className = "px-6 py-3 flex justify-between text-sm text-gray-400 border-t border-b border-gray-200 dark:border-gray-800 mb-2" >
151
146
< div className = "w-8" > </ div >
You can’t perform that action at this time.
0 commit comments