mirror of
https://github.com/LeRoid-hub/humiditycalc.git
synced 2025-01-31 03:34:56 +00:00
Update index.html
This commit is contained in:
parent
f7f47f716d
commit
16739666dc
@ -14,16 +14,16 @@
|
|||||||
<br>
|
<br>
|
||||||
<button type="submit">Calculate</button>
|
<button type="submit">Calculate</button>
|
||||||
</form>
|
</form>
|
||||||
|
{{ if .AbsoluteHumidity }}
|
||||||
|
<h2>Calculated Absolute Humidity</h2>
|
||||||
|
<p>Absolute Humidity: {{ .AbsoluteHumidity }} g/m³</p>
|
||||||
|
{{ end }}
|
||||||
{{ if .WeatherData }}
|
{{ if .WeatherData }}
|
||||||
<h2>Weather Data</h2>
|
<h2>Weather Data</h2>
|
||||||
<p>Temperature: {{ .WeatherData.Temperature }}°C</p>
|
<p>Temperature: {{ .WeatherData.Temperature }}°C</p>
|
||||||
<p>Relative Humidity: {{ .WeatherData.RelativeHumidity }}%</p>
|
<p>Relative Humidity: {{ .WeatherData.RelativeHumidity }}%</p>
|
||||||
<p>Absolute Humidity: {{ .WeatherData.AbsoluteHumidity }} g/m³</p>
|
<p>Absolute Humidity: {{ .WeatherData.AbsoluteHumidity }} g/m³</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .AbsoluteHumidity }}
|
|
||||||
<h2>Calculated Absolute Humidity</h2>
|
|
||||||
<p>Absolute Humidity: {{ .AbsoluteHumidity }} g/m³</p>
|
|
||||||
{{ end }}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user