File tree 3 files changed +28
-5
lines changed
plugin-client-default/notebooks
web/scss/components/Hello
3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,15 @@ layout:
13
13
maximized : true
14
14
---
15
15
16
- <img alt =" CodeFlare Icon " src =" @kui-shell/client/icons/svg/codeflare.svg " width =" 200 " height =" 200 " align =" left " />
17
- CodeFlare is a framework to simplify the integration, scaling and acceleration of complex multi-step analytics and machine learning pipelines on the cloud.
16
+ <img alt =" CodeFlare Icon " src =" @kui-shell/client/icons/svg/codeflare.svg " width =" 225 " height =" 225 " align =" left " />
18
17
19
- > #### Next Steps
18
+ [ CodeFlare] ( https://codeflare.dev ) is a framework to simplify the
19
+ integration, scaling and acceleration of complex multi-step analytics
20
+ and machine learning pipelines on the cloud.
21
+
22
+ > ### Next Steps
20
23
>
21
- > From your terminal, try ` codeflare ` to be guided through running jobs against the Cloud .
24
+ > - To start running jobs against the Cloud, from your terminal, try ` codeflare ` .
22
25
23
26
---
24
27
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
import React from "react"
18
+ import prettyMillis from "pretty-ms"
18
19
import { Profiles } from "madwizard"
19
20
import { Flex , FlexItem , Tile } from "@patternfly/react-core"
20
21
22
+ import PlusIcon from "@patternfly/react-icons/dist/esm/icons/user-plus-icon"
23
+ import ProfileIcon from "@patternfly/react-icons/dist/esm/icons/user-icon"
24
+
21
25
// eslint-disable-next-line @typescript-eslint/no-unused-vars
22
26
export default async function getProfiles ( ) {
23
27
const profiles = await Profiles . list ( { } )
24
28
25
29
return {
26
30
react : (
27
31
< Flex className = "flex-fill sans-serif top-pad left-pad right-pad bottom-pad" >
32
+ < FlexItem >
33
+ < Tile className = "codeflare--tile codeflare--tile-new" title = "New Profile" icon = { < PlusIcon /> } isStacked >
34
+ Customize a profile
35
+ </ Tile >
36
+ </ FlexItem >
37
+
28
38
{ profiles . map ( ( _ ) => (
29
39
< FlexItem key = { _ . profile . name } >
30
- < Tile className = "codeflare--tile" title = { _ . profile . name } />
40
+ < Tile className = "codeflare--tile" title = { _ . profile . name } icon = { < ProfileIcon /> } isStacked >
41
+ { `Last used ${ prettyMillis ( Date . now ( ) - _ . profile . lastUsedTime , { compact : true } ) } ago` }
42
+ </ Tile >
31
43
</ FlexItem >
32
44
) ) }
33
45
</ Flex >
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ $cell: 1.5em;
104
104
& [data-status = " ERROR" ] {
105
105
background-color : var (--color-red );
106
106
}
107
+
108
+ svg {
109
+ fill : var (--color-text-02 );
110
+ }
107
111
}
108
112
109
113
.pf-c-tile__header {
@@ -116,3 +120,7 @@ $cell: 1.5em;
116
120
color : var (--color-tile-title );
117
121
font-size : 1rem ;
118
122
}
123
+
124
+ .pf-c-tile__body {
125
+ color : var (--color-text-02 );
126
+ }
You can’t perform that action at this time.
0 commit comments