-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
83 additions
and
5 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
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 |
---|---|---|
|
@@ -4,6 +4,9 @@ | |
<meta charset="utf-8" /> | ||
<link rel="stylesheet" href="index.css"> | ||
<title>Stacja pogodowa</title> | ||
<script> | ||
const chartHeight = 300; | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
|
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" href="index.css"> | ||
<title>Stacja pogodowa</title> | ||
<script> | ||
const chartHeight = 150; | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="index.js"></script> | ||
</head> | ||
<body onload="start(false);" onhashchange="start(true);"> | ||
|
||
<div> | ||
<div class="windrose_widget"> | ||
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" transform="scale(1)"> | ||
<circle class="outer" stroke-dasharray="75 3.55" transform="rotate(1 200,200)"/> | ||
<circle id="greey" class="inner" stroke="lightgray" /> | ||
<circle id="possible" class="inner" stroke="yellow"/> | ||
<circle id="recommended" class="inner" stroke="green"/> | ||
<circle class="dot"/> | ||
|
||
<polygon id="arrow" points="200,160 185,120 200,130 215,120"/> | ||
<text id="updated" class="text" x="300" y="30" fill="red" onclick="start(true)">⟳</text> | ||
<text class="text" x="50%" y="9%" >N</text> | ||
<text class="text" x="50%" y="94%">S</text> | ||
<text class="text" x="7%" y="52%" >W</text> | ||
<text class="text" x="93%" y="52%">E</text> | ||
</svg> | ||
<div class="boxes"> | ||
<div id="wind" class="box"> | ||
<div class="indicator"></div> | ||
<div class="name">WIND</div> | ||
<div class="value">? m/s</div> | ||
</div> | ||
<div id="gust" class="box"> | ||
<div class="indicator"></div> | ||
<div class="name">GUST</div> | ||
<div class="value">? m/s</div> | ||
</div> | ||
<div id="direction" class="box"> | ||
<div class="indicator"></div> | ||
<div class="name">DIRECTION</div> | ||
<div class="value">? °</div> | ||
</div> | ||
<div id="temperature" class="box"> | ||
<div class="indicator"></div> | ||
<div class="name">TEMP</div> | ||
<div class="value">? ℃</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="charts_widget"> | ||
<div class="chart" id="speedChart"></div> | ||
<div class="chart" id="directionChart"></div> | ||
<div class="chart" id="tempChart"></div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |