Skip to content

Commit

Permalink
fixes (#83)
Browse files Browse the repository at this point in the history
* fixes

* fix Readme.md, reference correct repo
* fix reference of css files to give custom.css highest prio
* fix typos in localization.js

* fix numberic
  • Loading branch information
smezger authored Sep 25, 2024
1 parent 9afd86d commit 2e63063
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# :sunny: Sunalyzer

![Python checks](https://github.com/VanKurt/Sunalyzer/actions/workflows/python_lint.yml/badge.svg)
![Unit tests](https://github.com/VanKurt/Sunalyzer/actions/workflows/unit_tests.yml/badge.svg)
![Docker build](https://github.com/VanKurt/Sunalyzer/actions/workflows/docker.yml/badge.svg)
![Python checks](https://github.com/BorisBrock/Sunalyzer/actions/workflows/python_lint.yml/badge.svg)
![Unit tests](https://github.com/BorisBrock/Sunalyzer/actions/workflows/unit_tests.yml/badge.svg)
![Docker build](https://github.com/BorisBrock/Sunalyzer/actions/workflows/docker.yml/badge.svg)

Sunalyzer is a free, open source and vendor independent solar monitoring system. It collects relevant data from your inverter/smart meter and stores them safely in a data base.

Expand Down
4 changes: 2 additions & 2 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<meta name="description" content="" />
<meta name="author" content="" />
<title>Sunalyzer</title>
<link href="css/styles.css" rel="stylesheet" />
<link href="css/custom.css" rel="stylesheet" />
<link href="css/styles.css" rel="stylesheet" />
<link href="lib/bootstrap.min.css" rel="stylesheet" />
<link href="lib/fontawesome/css/all.min.css" rel="stylesheet" />
<link href="css/custom.css" rel="stylesheet" />
</head>

<body class="sb-nav-fixed">
Expand Down
8 changes: 4 additions & 4 deletions site/js/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,25 +185,25 @@ function getHistoryString(id) {
}


// Numer format with 2 decimals
// Number format with 2 decimals
const format2_en = new Intl.NumberFormat('en-US', {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
});

// Numer format with 0 decimals
// Number format with 0 decimals
const format0_en = new Intl.NumberFormat('en-US', {
minimumFractionDigits: 0,
maximumFractionDigits: 0,
});

// Numer format with 2 decimals
// Number format with 2 decimals
const format2_de = new Intl.NumberFormat('de-DE', {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
});

// Numer format with 0 decimals
// Number format with 0 decimals
const format0_de = new Intl.NumberFormat('de-DE', {
minimumFractionDigits: 0,
maximumFractionDigits: 0,
Expand Down

0 comments on commit 2e63063

Please sign in to comment.