fix html according to https://validator.w3.org/
This commit is contained in:
parent
19e10680bf
commit
d341057716
|
|
@ -1,5 +1,5 @@
|
|||
{{define "header_additions"}}
|
||||
<script type="text/javascript" src="https://js.stripe.com/v3/"></script>
|
||||
<script src="https://js.stripe.com/v3/"></script>
|
||||
{{end}}
|
||||
{{define "body_content"}}
|
||||
<p class="title is-4">Checkout</p>
|
||||
|
|
@ -15,5 +15,5 @@
|
|||
|
||||
<button id="submit">Pay</button>
|
||||
|
||||
<script type="text/javascript" src="static/js/checkout.js"></script>
|
||||
<script src="static/js/checkout.js"></script>
|
||||
{{end}}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{{define "body_content"}}
|
||||
{{ if ne .UserName "" }}
|
||||
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery/latest/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment-with-locales.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/jquery/latest/jquery.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/momentjs/latest/moment-with-locales.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
|
||||
|
||||
<link href="static/bulma-calendar/css/bulma-calendar.min.css" rel="stylesheet">
|
||||
<script type="text/javascript" src="static/bulma-calendar/js/bulma-calendar.min.js"></script>
|
||||
<script src="static/bulma-calendar/js/bulma-calendar.min.js"></script>
|
||||
|
||||
<div class="columns" id="myselectors">
|
||||
<div class="column is-half">
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="static/js/graph.js"></script>
|
||||
<script src="static/js/graph.js"></script>
|
||||
|
||||
<div>
|
||||
<section id="chart">
|
||||
|
|
@ -53,9 +53,9 @@
|
|||
</section>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
|
||||
|
||||
<script type="text/javascript" src="static/js/chart.js"></script>
|
||||
<script src="static/js/chart.js"></script>
|
||||
|
||||
{{ else }}
|
||||
<h4>Bitte zuerst <a href="login.html">einloggen</a></h4>
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
{{end}}
|
||||
{{define "body_content"}}
|
||||
<p class="title is-4">Die etwas andere Bienenstockwaage...</p>
|
||||
<article class="message is-danger">
|
||||
<div class="message is-danger">
|
||||
<div class="message-body">
|
||||
Aktuell noch in Entwicklung, kommen Sie später noch einmal vorbei...
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{ if ne .UserName "" }}
|
||||
<p>
|
||||
<strong>Ich will weitere bestellen!</strong>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{{define "body_content"}}
|
||||
<p class="title is-4">Bestellformular</p>
|
||||
<article class="message is-danger">
|
||||
<div class="message is-danger">
|
||||
<div class="message-body">
|
||||
Aktuell noch in Entwicklung, kommen Sie später noch einmal vorbei...
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<header class="modal-card-head">
|
||||
<p class="modal-card-title">Einstellungen</p>
|
||||
</header>
|
||||
<section class="modal-card-body">
|
||||
<div class="modal-card-body">
|
||||
<!-- Content ... -->
|
||||
<div class="field"> <label id="label" class="label">Bezeichnung</label>
|
||||
<div class="control has-icons-right">
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<div class="is-size-7">
|
||||
Device ID: <span id="deveui"></span>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<footer class="modal-card-foot">
|
||||
<button id="modal-save" class="button is-success">OK</button>
|
||||
<button id="modal-close" class="button">Cancel</button>
|
||||
|
|
@ -52,7 +52,7 @@ Device ID: <span id="deveui"></span>
|
|||
<p class="modal-card-title">Abo verlängern</p>
|
||||
</header>
|
||||
<p id="charge_data" hidden>0</p>
|
||||
<section class="modal-card-body">
|
||||
<div class="modal-card-body">
|
||||
<div id="abos_verlaengern">
|
||||
<!-- Content ... -->
|
||||
</div>
|
||||
|
|
@ -62,12 +62,12 @@ Device ID: <span id="deveui"></span>
|
|||
</div>
|
||||
|
||||
<!-- We'll put the error messages in this element -->
|
||||
<article class="message is-danger has-margin-top-20" id="card-errors-article" role="alert">
|
||||
<div class="message is-danger has-margin-top-20" id="card-errors-article" role="alert">
|
||||
<div class="message-body" id="card-errors">
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="modal-card-foot">
|
||||
|
||||
<button id="cart-pay" class="button is-success">Bezahlen</button>
|
||||
|
|
@ -82,15 +82,15 @@ Device ID: <span id="deveui"></span>
|
|||
<header class="modal-card-head">
|
||||
<p class="modal-card-title">Info: Bezahlung durchgeführt</p>
|
||||
</header>
|
||||
<section class="modal-card-body">
|
||||
<article class="message is-info">
|
||||
<div class="modal-card-body">
|
||||
<div class="message is-info">
|
||||
<div class="message-body">
|
||||
Sie haben eine Abo Verlängerung bezahlt, besten Dank!
|
||||
|
||||
Sie erhalten eine E-Mail, sobald die Zahlung erfolgreich abgeschlossen ist.
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="modal-card-foot">
|
||||
|
||||
<button id="payment_notifier_close" class="button is-success">Schliessen</button>
|
||||
|
|
@ -190,9 +190,9 @@ Sie erhalten eine E-Mail, sobald die Zahlung erfolgreich abgeschlossen ist.
|
|||
|
||||
{{end}}
|
||||
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment-with-locales.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/momentjs/latest/moment-with-locales.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="static/js/scales.js"></script>
|
||||
<script src="static/js/scales.js"></script>
|
||||
|
||||
{{ else }}
|
||||
<h4>Bitte zuerst <a href="login.html">einloggen</a></h4>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{{define "header_additions"}}{{end}}
|
||||
{{define "layout"}}<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
@ -9,12 +9,12 @@
|
|||
<link rel="stylesheet" href="static/css/mini-beieli-web.css">
|
||||
<link rel="stylesheet" href="static/css/mini-beieli-web-custom.css">
|
||||
|
||||
<script type="text/javascript" src="/static/js/fontawesome-5.11.2/all-minified.js"></script>
|
||||
<script type="text/javascript" src="/static/js/jquery-3.3.1/jquery.min.js"></script>
|
||||
<script src="/static/js/fontawesome-5.11.2/all-minified.js"></script>
|
||||
<script src="/static/js/jquery-3.3.1/jquery.min.js"></script>
|
||||
{{template "header_additions" . }}
|
||||
</head>
|
||||
<body>
|
||||
<section class="section">
|
||||
<div class="section">
|
||||
<div class="container">
|
||||
<figure class="image is-hidden-mobile is-20by3">
|
||||
<img src="/static/images/bees-banner-1000x150.jpg" alt="mini-beieli Banner" >
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
<figure class="image is-hidden-tablet is-3by1">
|
||||
<img src="/static/images/bees-banner-450x150.jpg" alt="mini-beieli Banner" >
|
||||
</figure>
|
||||
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||
<nav class="navbar" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="/">
|
||||
<img src="/static/images/bee-logo-28.png" alt="mini-beieli Logo" width="28" height="28">
|
||||
|
|
@ -82,8 +82,8 @@
|
|||
<hr />
|
||||
{{template "body_content" . }}
|
||||
</div>
|
||||
</section>
|
||||
<script type="text/javascript" src="/static/js/mini-beieli-web.js"></script>
|
||||
</div>
|
||||
<script src="/static/js/mini-beieli-web.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue