Added maintenance status
This commit is contained in:
parent
40924c9bf4
commit
ce500b6357
|
@ -26,7 +26,8 @@ function statusicon() {
|
|||
$icons = [
|
||||
0 => "error",
|
||||
1 => "success",
|
||||
2 => "warning"
|
||||
2 => "warning",
|
||||
3 => "maintenance"
|
||||
];
|
||||
return "/icon/{$icons[$status]}.svg";
|
||||
});
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"status.1": "V pořádku",
|
||||
"status.0": "Výpadek",
|
||||
"status.2": "Problém",
|
||||
"status.3": "Údržba",
|
||||
"dateformat": "j. m. Y G:i",
|
||||
"footer.poweredby": "Poháněno projektem <b><a href=\"{{link}}\" target=\"_blank\">Uptime Status</a></b>"
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
"status.1": "Operational",
|
||||
"status.0": "Downtime",
|
||||
"status.2": "Problem",
|
||||
"status.3": "Maintenance",
|
||||
"dateformat": "M j, Y, g:i a",
|
||||
"footer.poweredby": "Powered by <b><a href=\"{{link}}\" target=\"_blank\">Uptime Status</a></b>"
|
||||
}
|
1
public/icon/maintenance.svg
Normal file
1
public/icon/maintenance.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="1.75 1.75 20.5 20.5"><path fill="#9575cd" d="M12 2a10.1 10.1 0 0 0-9.21 6.1A9.73 9.73 0 0 0 2 12a10.1 10.1 0 0 0 6.1 9.21c1.22.53 2.52.79 3.9.79s2.68-.26 3.9-.79a10.1 10.1 0 0 0 5.31-5.31c.53-1.22.79-2.52.79-3.9s-.26-2.68-.79-3.9a10.1 10.1 0 0 0-5.31-5.31A9.73 9.73 0 0 0 12 2zM9.86 6.67c.79.02 1.58.32 2.18.92.91.91 1.16 2.21.72 3.32l4.38 4.38c.2.15.2.49-.04.68l-1.11 1.1c-.2.2-.48.2-.67 0l-4.38-4.37a3.16 3.16 0 0 1-3.96-4.3l2.12 2.08 1.44-1.45-2.07-2.07c.44-.2.91-.3 1.39-.29z"/></svg>
|
After Width: | Height: | Size: 537 B |
Loading…
Reference in a new issue