File tree 1 file changed +26
-11
lines changed
components/dashboard/src/settings
1 file changed +26
-11
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,32 @@ function ListAccessTokensView() {
38
38
} , [ ] ) ;
39
39
40
40
return (
41
- < div >
42
- < ul >
43
- { tokens . map ( ( t : PersonalAccessToken ) => {
44
- return (
45
- < li >
46
- { t . id } - { t . name } - { t . value }
47
- </ li >
48
- ) ;
49
- } ) }
50
- </ ul >
51
- </ div >
41
+ < >
42
+ < div className = "flex items-start sm:justify-between mb-2" >
43
+ < div >
44
+ < h3 > Personal Access Tokens</ h3 >
45
+ < h2 className = "text-gray-500" > Create or regenerate active personal access tokens.</ h2 >
46
+ </ div >
47
+ </ div >
48
+ < div className = "bg-gray-100 dark:bg-gray-800 rounded-xl w-full py-28 flex flex-col items-center" >
49
+ < h3 className = "text-center pb-3 text-gray-500 dark:text-gray-400" > No Personal Access Tokens (PAT)</ h3 >
50
+ < p className = "text-center pb-6 text-gray-500 text-base w-96" >
51
+ Generate a personal access token (PAT) for applications that need access to the Gitpod API.{ " " }
52
+ </ p >
53
+ < button > New Personal Access Token</ button >
54
+ </ div >
55
+ { tokens . length > 0 && (
56
+ < ul >
57
+ { tokens . map ( ( t : PersonalAccessToken ) => {
58
+ return (
59
+ < li >
60
+ { t . id } - { t . name } - { t . value }
61
+ </ li >
62
+ ) ;
63
+ } ) }
64
+ </ ul >
65
+ ) }
66
+ </ >
52
67
) ;
53
68
}
54
69
You can’t perform that action at this time.
0 commit comments