File tree Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,9 @@ const plugin: JupyterFrontEndPlugin<void> = {
125
125
) ;
126
126
127
127
const notebookURL = 'https://github.com/jupyter/notebook' ;
128
- const linkLabel = trans . __ ( 'JUPYTER NOTEBOOK ON GITHUB' ) ;
128
+ const contributorURL = 'https://github.com/jupyter/notebook/pulse' ;
129
+ const aboutJupyter = trans . __ ( 'JUPYTER NOTEBOOK ON GITHUB' ) ;
130
+ const contributorList = trans . __ ( 'CONTRIBUTOR LIST' ) ;
129
131
const externalLinks = (
130
132
< span >
131
133
< a
@@ -134,15 +136,27 @@ const plugin: JupyterFrontEndPlugin<void> = {
134
136
rel = "noopener noreferrer"
135
137
className = "jp-Button-flat jp-AboutNotebook-about-externalLinks"
136
138
>
137
- { linkLabel }
139
+ { aboutJupyter }
140
+ </ a >
141
+ < a
142
+ href = { contributorURL }
143
+ target = "_blank"
144
+ rel = "noopener noreferrer"
145
+ className = "jp-Button-flat jp-AboutNotebook-about-externalLinks"
146
+ >
147
+ { contributorList }
138
148
</ a >
139
149
</ span >
140
150
) ;
141
151
const version = trans . __ ( 'Version: %1' , app . version ) ;
152
+ const copyright = trans . __ ( '© 2021-2022 Jupyter Notebook Contributors' ) ;
142
153
const body = (
143
154
< >
144
- < span className = "jp-AboutNotebook-body " > { version } </ span >
155
+ < span className = "jp-AboutNotebook-version " > { version } </ span >
145
156
< div > { externalLinks } </ div >
157
+ < span className = "jp-AboutNotebook-about-copyright" >
158
+ { copyright }
159
+ </ span >
146
160
</ >
147
161
) ;
148
162
Original file line number Diff line number Diff line change 1
1
.jp-AboutNotebook .jp-Dialog-header {
2
2
justify-content : center;
3
+ padding : 0 ;
3
4
}
4
5
5
6
.jp-AboutNotebook-header {
13
14
margin-left : 16px ;
14
15
}
15
16
17
+ .jp-AboutNotebook-version {
18
+ color : var (--jp-ui-font-color1 );
19
+ font-size : var (--jp-ui-font-size1 );
20
+ padding : var (--jp-flat-button-padding );
21
+ font-weight : 400 ;
22
+ letter-spacing : 0.4px ;
23
+ line-height : 1.12 ;
24
+ min-width : 360px ;
25
+ text-align : center;
26
+ }
27
+
16
28
.jp-AboutNotebook-body {
17
29
display : flex;
18
30
font-size : var (--jp-ui-font-size2 );
19
31
padding : var (--jp-flat-button-padding );
20
32
color : var (--jp-ui-font-color1 );
21
- text-align : left ;
33
+ text-align : center ;
22
34
flex-direction : column;
23
35
min-width : 360px ;
24
36
overflow : hidden;
37
49
color : var (--jp-warn-color0 );
38
50
}
39
51
52
+ .jp-AboutNotebook-about-copyright {
53
+ padding-top : 25px ;
54
+ }
55
+
40
56
.jp-AboutNotebook-shortcuts {
41
57
padding : 10px ;
42
58
}
You can’t perform that action at this time.
0 commit comments