This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean of the project, favicon, demo page
The process part is removed from the project to be stored in another git project. Add the title in the csv so in order to have a clean object all the data is now stored in the data attributes so all the display needed to be updated
- Loading branch information
1 parent
4e450a7
commit 7bb6812
Showing
39 changed files
with
792 additions
and
757 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# hot-dashboard | ||
# Victory doc : https://formidable.com/open-source/victory/docs/victory-chart/ | ||
# Victory doc : https://formidable.com/open-source/victory/docs/victory-chart/ | ||
|
||
<!-- N'oubliez pas d'importer tous les éléments de victory ! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/mstile-150x150.png"/> | ||
<TileColor>#da532c</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
{ | ||
"short_name": "React Home", | ||
"name": "Create React Home Sample", | ||
"short_name": "HOT", | ||
"name": "HOT Dashboard", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
"src": "android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "android-chrome-256x256.png", | ||
"sizes": "256x256", | ||
"type": "image/png" | ||
} | ||
], | ||
"start_url": "./index.html", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "", | ||
"short_name": "", | ||
"icons": [ | ||
{ | ||
"src": "/android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/android-chrome-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff", | ||
"display": "standalone" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** Natives **/ | ||
import React, { Component } from 'react'; | ||
|
||
/** Material UI **/ | ||
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; | ||
import Grid from '@material-ui/core/Grid'; | ||
|
||
/** Styles **/ | ||
const GlobalTheme = createMuiTheme({ | ||
typography: { | ||
fontSize : 18, | ||
fontFamily : "'Barlow Condensed', sans-serif" | ||
}, | ||
palette: { | ||
primary: { | ||
main : '#D73F3F', | ||
} | ||
}, | ||
}); | ||
|
||
class CapacityBuildingContent extends Component { | ||
render() { | ||
|
||
return ( | ||
// The padding prevent the page to be too wide because of the option spacing | ||
<div style={{ padding: 12 }}> | ||
{this.props.importedData && | ||
(<MuiThemeProvider theme={GlobalTheme}> | ||
<Grid container spacing={24} className="content-row"> {/* Spacing = space between cards */} | ||
{/* First row */} | ||
<Grid item xs={12} sm={6} md={3}> | ||
</Grid> | ||
</Grid> | ||
|
||
</MuiThemeProvider> | ||
)} | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default CapacityBuildingContent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed'); | ||
|
||
/*------------------------------------------------------------------------// | ||
//------------------------------- Content --------------------------------// | ||
//------------------------------------------------------------------------*/ | ||
/** General contents div **/ | ||
.content-row { | ||
display : flex; | ||
text-align : center; | ||
justify-content: space-between; | ||
padding : 0 !important; | ||
} | ||
|
||
/** Grid contents div **/ | ||
.grid-item { | ||
padding : 0 !important; | ||
} | ||
|
||
|
||
/*------------------------------------------------------------------------// | ||
//------------------------------- Widgets --------------------------------// | ||
//------------------------------------------------------------------------*/ | ||
/** External widgets **/ | ||
.widget-container { | ||
display : flex; | ||
height: 365px; | ||
margin: 40px 20px 0px; | ||
} | ||
.widget-text{ | ||
display : flex; | ||
flex-direction : column; | ||
justify-content : center; | ||
text-align : center; | ||
margin : 0 auto; | ||
padding : 16px 10px 10px; | ||
} | ||
/** 'Mapped elements' div **/ | ||
.widget-mappedElements-text{ | ||
display : flex; | ||
flex-direction : row; | ||
justify-content : space-evenly; | ||
width : 100%; | ||
margin-top : 10px; | ||
} | ||
.widget-mappedElements-text-item-green{ | ||
padding : 10px; | ||
background-color : #D73F3F; | ||
color : white; | ||
} | ||
.widget-mappedElements-text-item-grey{ | ||
padding : 10px; | ||
background-color : #E1E0E0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** Natives **/ | ||
import React, { Component } from 'react'; | ||
|
||
/** CSS **/ | ||
import './CapacityBuildingContent.css'; | ||
|
||
/** Logos **/ | ||
|
||
/** Material UI **/ | ||
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; | ||
import Grid from '@material-ui/core/Grid'; | ||
|
||
/** Components **/ | ||
|
||
/** Plugins **/ | ||
|
||
/** Themes **/ | ||
const GlobalTheme = createMuiTheme({ | ||
typography: { | ||
fontSize : 18, | ||
fontFamily : "'Barlow Condensed', sans-serif" | ||
}, | ||
}); | ||
|
||
|
||
class CapacityBuildingContent extends Component { | ||
//------------------------------------------------------------------------// | ||
//-------------------------------- Render --------------------------------// | ||
//------------------------------------------------------------------------// | ||
|
||
render() { | ||
return ( | ||
// The padding prevent the page to be too wide because of the option spacing | ||
<div style={{ padding: 12 }}> | ||
{this.props.importedData.global.capacitybuilding && | ||
(<MuiThemeProvider theme={GlobalTheme}> | ||
<Grid container spacing={24} className="content-row"> {/* Spacing = space between cards */} | ||
|
||
</Grid> | ||
</MuiThemeProvider> | ||
)} | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default CapacityBuildingContent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed'); | ||
|
||
/*------------------------------------------------------------------------// | ||
//------------------------------- Content --------------------------------// | ||
//------------------------------------------------------------------------*/ | ||
/** General contents div **/ | ||
.content-row { | ||
display : flex; | ||
text-align : center; | ||
justify-content: space-between; | ||
padding : 0 !important; | ||
} | ||
|
||
/*------------------------------------------------------------------------// | ||
//------------------------------- Widgets --------------------------------// | ||
//------------------------------------------------------------------------*/ | ||
/** External widgets **/ | ||
.widget-container { | ||
display : flex; | ||
height: 365px; | ||
margin: 40px 20px 0px; | ||
} | ||
.widget-text{ | ||
display : flex; | ||
flex-direction : column; | ||
justify-content : center; | ||
text-align : center; | ||
margin : 0 auto; | ||
padding : 16px 10px 10px; | ||
} | ||
/** 'Mapped elements' div **/ | ||
.widget-mappedElements-text{ | ||
display : flex; | ||
flex-direction : row; | ||
justify-content : space-evenly; | ||
width : 100%; | ||
margin-top : 10px; | ||
} | ||
.widget-mappedElements-text-item-green{ | ||
padding : 10px; | ||
background-color : #D73F3F; | ||
color : white; | ||
} | ||
.widget-mappedElements-text-item-grey{ | ||
padding : 10px; | ||
background-color : #E1E0E0; | ||
} |
Oops, something went wrong.