mirror of
https://github.com/tebarius/Docker-Flask-QR.git
synced 2025-12-21 14:33:31 +01:00
auf python-slim umgestellt
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>QR-Code-Generator</title>
|
||||
</head>
|
||||
<body>
|
||||
<img src="{{ data|qrcode }}">
|
||||
<H1 style="text-align: center; background-color: #eee; border-radius: .5em;">QRCode-Generator</H1>
|
||||
<p style="text-align: center;">
|
||||
|
||||
</p>
|
||||
<form action="qr.html" style="text-align: center">
|
||||
<label for="qr" style="font-size: 2em;">Was soll im QR-Code stehen?</label><br>
|
||||
<input type="text" name="qr" id="qr" size="60" maxlength="120">
|
||||
<br><br>
|
||||
<button type="reset">Eingaben zurücksetzen</button>
|
||||
<button type="submit">Eingaben absenden</button>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,9 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>QR-Code-Generator</title>
|
||||
</head>
|
||||
<body>
|
||||
<img src="{{ url|qrcode }}">
|
||||
<H1 style="text-align: center; background-color: #eee; border-radius: .5em;">QRCode-Generator</H1>
|
||||
<p style="text-align: center; font-size: 2em;">
|
||||
<b>folgender Text wurde im QR-Code codiert:</b><br>
|
||||
{{ data }} <br>
|
||||
<br>
|
||||
<!--suppress HtmlUnknownTarget -->
|
||||
<img src="{{ data|qrcode }}" alt="QR-Code für {{ data }}">
|
||||
</p>
|
||||
<p style="text-align: center; font-size: 1.5em;">
|
||||
<a href="./">Noch einmal bitte!</a>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user