-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customization of Dashboard page & improved some styles (#315)
Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
- Loading branch information
Showing
12 changed files
with
659 additions
and
187 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,75 @@ | ||
// This file is part of MinIO Console Server | ||
// Copyright (c) 2020 MinIO, Inc. | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
import React from "react"; | ||
import { SvgIcon } from "@material-ui/core"; | ||
class AllBucketsIcon extends React.Component { | ||
render() { | ||
return ( | ||
<SvgIcon viewBox="0 0 15.834 17.375"> | ||
<defs> | ||
<linearGradient | ||
id="a" | ||
y1="0.5" | ||
x2="1" | ||
y2="0.5" | ||
gradientUnits="objectBoundingBox" | ||
> | ||
<stop offset="0.044" stopColor="#362585" /> | ||
<stop offset="0.301" stopColor="#281b6f" /> | ||
<stop offset="1" stopColor="#1e1560" /> | ||
</linearGradient> | ||
</defs> | ||
<g transform="translate(0 0.375)"> | ||
<circle | ||
style={{ opacity: 0.1, fill: "url(#a)" }} | ||
cx="6.625" | ||
cy="6.625" | ||
r="6.625" | ||
transform="translate(0 3.75)" | ||
/> | ||
<g transform="translate(3.092)"> | ||
<ellipse | ||
style={{ | ||
fill: "none", | ||
stroke: "#707070", | ||
strokeMiterlimit: 10, | ||
strokeWidth: "0.75px", | ||
}} | ||
cx="6.183" | ||
cy="1.244" | ||
rx="6.183" | ||
ry="1.244" | ||
transform="translate(0)" | ||
/> | ||
<path | ||
style={{ | ||
fill: "none", | ||
stroke: "#707070", | ||
strokeMiterlimit: 10, | ||
strokeWidth: "0.75px", | ||
}} | ||
d="M-3722.174,1225.225l-1.687,10.292a.858.858,0,0,1-.578.669,12.182,12.182,0,0,1-3.918.647,12.187,12.187,0,0,1-3.894-.639.878.878,0,0,1-.6-.678q-.843-5.145-1.687-10.291" | ||
transform="translate(3734.541 -1223.981)" | ||
/> | ||
</g> | ||
</g> | ||
</SvgIcon> | ||
); | ||
} | ||
} | ||
|
||
export default AllBucketsIcon; |
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,37 @@ | ||
// This file is part of MinIO Console Server | ||
// Copyright (c) 2020 MinIO, Inc. | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
import React from "react"; | ||
import { SvgIcon } from "@material-ui/core"; | ||
class ConsoleIcon extends React.Component { | ||
render() { | ||
return ( | ||
<SvgIcon> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"> | ||
<g transform="translate(-518 -361)"> | ||
<path | ||
d="M-126,0V10h10V0Zm1.5,8.5V2.95h7V8.5Z" | ||
transform="translate(644 361)" | ||
/> | ||
<rect width="2" height="1" transform="translate(520.272 364.772)" /> | ||
</g> | ||
</svg> | ||
</SvgIcon> | ||
); | ||
} | ||
} | ||
|
||
export default ConsoleIcon; |
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,73 @@ | ||
// This file is part of MinIO Console Server | ||
// Copyright (c) 2020 MinIO, Inc. | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
import React from "react"; | ||
import { SvgIcon } from "@material-ui/core"; | ||
class EgressIcon extends React.Component { | ||
render() { | ||
return ( | ||
<SvgIcon viewBox="0 0 18.344 17.009"> | ||
<defs> | ||
<linearGradient | ||
id="a" | ||
y1="0.5" | ||
x2="1" | ||
y2="0.5" | ||
gradientUnits="objectBoundingBox" | ||
> | ||
<stop offset="0.044" stopColor="#362585" /> | ||
<stop offset="0.301" stopColor="#281b6f" /> | ||
<stop offset="1" stopColor="#1e1560" /> | ||
</linearGradient> | ||
</defs> | ||
<g transform="translate(0 0.25)"> | ||
<ellipse | ||
style={{ opacity: 0.1, fill: "url(#a)" }} | ||
cx="7.462" | ||
cy="7.462" | ||
rx="7.462" | ||
ry="7.462" | ||
transform="translate(0 1.835)" | ||
/> | ||
<rect | ||
style={{ | ||
fill: "none", | ||
stroke: "#707070", | ||
strokeMiterlimit: 10, | ||
strokeWidth: "0.5px", | ||
}} | ||
width="9.323" | ||
height="9.323" | ||
transform="translate(4.083)" | ||
/> | ||
<rect | ||
style={{ | ||
fill: "none", | ||
stroke: "#707070", | ||
strokeMiterlimit: 10, | ||
strokeWidth: "0.5px", | ||
}} | ||
width="8.223" | ||
height="8.223" | ||
transform="translate(9.871 5.307)" | ||
/> | ||
</g> | ||
</SvgIcon> | ||
); | ||
} | ||
} | ||
|
||
export default EgressIcon; |
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 @@ | ||
// This file is part of MinIO Console Server | ||
// Copyright (c) 2020 MinIO, Inc. | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
import React from "react"; | ||
import { SvgIcon } from "@material-ui/core"; | ||
class HealIcon extends React.Component { | ||
render() { | ||
return ( | ||
<SvgIcon> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10.014 9.993"> | ||
<path | ||
className="a" | ||
d="M9.162,5.971h0L8.192,5,9.346,3.846a2.257,2.257,0,0,0,0-3.192,2.311,2.311,0,0,0-3.192,0L5,1.808,4.029.837,3.846.654a2.311,2.311,0,0,0-3.192,0,2.257,2.257,0,0,0,0,3.192l.184.183h0L1.808,5,.654,6.154A2.257,2.257,0,0,0,3.846,9.346L5,8.192l.971.971.183.183A2.257,2.257,0,0,0,9.346,6.154Zm-2.29-4.6a1.27,1.27,0,0,1,1.757,0,1.242,1.242,0,0,1,0,1.757L7.475,4.283,5.717,2.525Zm-5.5,1.757A1.243,1.243,0,0,1,3.129,1.371l.183.183L1.555,3.312Zm1.757,5.5a1.27,1.27,0,0,1-1.757,0,1.242,1.242,0,0,1,0-1.757L2.525,5.717,4.283,7.475Zm2.843-.9-.254-.253L2.525,4.283l-.253-.254L4.029,2.272l.254.253L7.475,5.717l.253.254Zm2.657.9a1.271,1.271,0,0,1-1.757,0l-.183-.183L8.446,6.688l.183.183h0a1.241,1.241,0,0,1,0,1.757Z" | ||
transform="translate(0.007 -0.014)" | ||
/> | ||
<circle | ||
cx="0.5" | ||
cy="0.5" | ||
r="0.5" | ||
transform="translate(4.507 4.486)" | ||
/> | ||
<circle | ||
cx="0.5" | ||
cy="0.5" | ||
r="0.5" | ||
transform="translate(3.507 3.486)" | ||
/> | ||
<circle | ||
cx="0.5" | ||
cy="0.5" | ||
r="0.5" | ||
transform="translate(5.507 5.486)" | ||
/> | ||
</svg> | ||
</SvgIcon> | ||
); | ||
} | ||
} | ||
|
||
export default HealIcon; |
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 @@ | ||
// This file is part of MinIO Console Server | ||
// Copyright (c) 2020 MinIO, Inc. | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
import React from "react"; | ||
import { SvgIcon } from "@material-ui/core"; | ||
class LogoutIcon extends React.Component { | ||
render() { | ||
return ( | ||
<SvgIcon> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.122 10.571"> | ||
<g transform="translate(0 0.5)"> | ||
<path | ||
style={{ fill: "none", stroke: "rgba(255,255,255,0.8)" }} | ||
d="M4816.27,3755.205v-2.939h8.539v9.571h-8.539v-2.932" | ||
transform="translate(-4813.187 -3752.266)" | ||
/> | ||
<path | ||
style={{ fill: "none", stroke: "rgba(255,255,255,0.8)" }} | ||
d="M4813.187,3757.052h8.081" | ||
transform="translate(-4813.187 -3752.266)" | ||
/> | ||
<path | ||
style={{ fill: "none", stroke: "rgba(255,255,255,0.8)" }} | ||
d="M4806.5,3756.511l2.265,2.063-2.265,2.063" | ||
transform="translate(-4800.808 -3753.863)" | ||
/> | ||
</g> | ||
</svg> | ||
</SvgIcon> | ||
); | ||
} | ||
} | ||
|
||
export default LogoutIcon; |
Oops, something went wrong.