Bewaesserungsanlage/Webserver/Templates/header.html

45 lines
1.5 KiB
HTML
Raw Normal View History

2022-07-30 00:19:30 +02:00
<!DOCTYPE html>
<html lang="de">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='Styles/header.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='Styles/main.css') }}">
2022-07-30 00:19:30 +02:00
<meta charset="UTF-8">
<script>
function executeAction(command, index, value) {
send_web_request('{{url_for("executeAction")}}/' + command + '/' + index + '/' + value, 'no', 'variable');
}
function executeActionByValueID(command, index, valueID, valueFactor){
var value = document.getElementById(valueID).value * valueFactor;
executeAction(command, index, value);
}
</script>
2022-07-30 00:19:30 +02:00
</head>
<body>
<header>
<nav>
<ul>
{% for item in nav.top %}
<li {{ 'class=active' if item.is_active else '' }}>
<a href="{{ item.url }}">
{{ item.label }}
</a>
</li>
{% endfor %}
</ul>
</nav>
<div class="heading">
<img src="{{ url_for('static', filename='img/header/wassertropfen.png') }}" alt="" class="title-img">
2022-07-30 00:19:30 +02:00
2022-08-15 01:10:34 +02:00
<h1>{{ translater.getTranslation("Irrigation") }}-<br>{{ translater.getTranslation("system") }}</h1>
2022-07-30 00:19:30 +02:00
</div>
<img src="{{ url_for('static', filename='img/header/blumenbeet.jpg') }}" alt="" class="header-img">
2022-07-30 00:19:30 +02:00
</header>
<script src="{{ url_for('static', filename='js/webhook.js') }}"></script>
2022-07-30 00:19:30 +02:00
</body>
</html>