File tree Expand file tree Collapse file tree 5 files changed +34
-23
lines changed
views/__backoffice/partials Expand file tree Collapse file tree 5 files changed +34
-23
lines changed Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+ import { SvgIcon } from '@material-ui/core' ;
3
+
4
+ const GitHub = props => (
5
+ < SvgIcon { ...props } viewBox = "0 0 24 24" >
6
+ < path d = "M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1-.7.1-.7.1-.7 1.2 0 1.9 1.2 1.9 1.2 1 1.8 2.8 1.3 3.5 1 0-.8.4-1.3.7-1.6-2.7-.3-5.5-1.3-5.5-6 0-1.2.5-2.3 1.3-3.1-.2-.4-.6-1.6 0-3.2 0 0 1-.3 3.4 1.2a11.5 11.5 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.6 1.6.2 2.8 0 3.2.9.8 1.3 1.9 1.3 3.2 0 4.6-2.8 5.6-5.5 5.9.5.4.9 1 .9 2.2v3.3c0 .3.1.7.8.6A12 12 0 0 0 12 .3" />
7
+ </ SvgIcon >
8
+ ) ;
9
+
10
+ export default GitHub ;
Original file line number Diff line number Diff line change 1
1
import loadable from '@loadable/component' ;
2
2
3
+ export const GitHub = loadable ( ( ) => import ( './GitHub' ) ) ;
3
4
export const LightbulbOff = loadable ( ( ) => import ( './LightbulbOff' ) ) ;
4
5
export const LightbulbOn = loadable ( ( ) => import ( './LightbulbOn' ) ) ;
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ import {
42
42
import * as NavigationUtils from '../../../utils/Navigation' ;
43
43
import * as RandomUtils from '../../../utils/Random' ;
44
44
import {
45
+ GitHub as GitHubIcon ,
45
46
LightbulbOff as LightbulbOffIcon ,
46
47
LightbulbOn as LightbulbOnIcon ,
47
48
} from '../../../icons/1x1' ;
@@ -333,12 +334,14 @@ const Header = props => {
333
334
< Grid item xs />
334
335
335
336
< Grid item >
336
- < Skeleton
337
- { ...skeletonProps }
338
- height = { 20 }
339
- width = { 70 }
340
- className = { classes . link }
341
- />
337
+ < IconButton color = "inherit" >
338
+ < Skeleton
339
+ { ...skeletonProps }
340
+ circle
341
+ height = { 25 }
342
+ width = { 25 }
343
+ />
344
+ </ IconButton >
342
345
</ Grid >
343
346
344
347
< Grid item >
@@ -525,15 +528,16 @@ const Header = props => {
525
528
< Grid item xs />
526
529
527
530
< Grid item >
528
- < Typography
529
- className = { classes . link }
530
- component = "a"
531
- href = "https://github.com/palonponjovertlota/lra"
532
- target = "_blank"
533
- rel = "noreferrer"
534
- >
535
- Github Link
536
- </ Typography >
531
+ < Tooltip title = { Lang . get ( 'navigation.github' ) } >
532
+ < IconButton
533
+ href = "https://github.com/palonponjovertlota/lra"
534
+ target = "_blank"
535
+ rel = "noreferrer"
536
+ color = "inherit"
537
+ >
538
+ < GitHubIcon />
539
+ </ IconButton >
540
+ </ Tooltip >
537
541
</ Grid >
538
542
539
543
{ monitoringEnabled && (
@@ -771,14 +775,6 @@ const styles = theme => ({
771
775
padding : 4 ,
772
776
} ,
773
777
774
- link : {
775
- textDecoration : 'none' ,
776
- color : lightColor ,
777
- '&:hover' : {
778
- color : theme . palette . common . white ,
779
- } ,
780
- } ,
781
-
782
778
button : {
783
779
borderColor : lightColor ,
784
780
} ,
Original file line number Diff line number Diff line change 26
26
'send_link ' => 'Send Link ' ,
27
27
'reset ' => 'Reset ' ,
28
28
29
+ 'github ' => 'GitHub Repository ' ,
30
+
29
31
'monitoring ' => 'Monitoring ' ,
30
32
31
33
'notifications ' => 'Notifications ' ,
Original file line number Diff line number Diff line change 26
26
'send_link ' => 'I-send ang Link ' ,
27
27
'reset ' => 'I-reset ' ,
28
28
29
+ 'github ' => 'Repository sa GitHub ' ,
30
+
29
31
'monitoring ' => 'Pagsubaybay ' ,
30
32
31
33
'notifications ' => 'Mga Abiso ' ,
You can’t perform that action at this time.
0 commit comments