Awesome UI templates full of color and joy

This commit is contained in:
2018-10-16 16:31:18 +02:00
parent 01e3b433cf
commit 0f3f35d733
11 changed files with 170 additions and 20 deletions
+6
View File
@@ -0,0 +1,6 @@
{% extends 'base.html' %}
{% block content %}
<p>Welcome Mr. admin person.</p>
<p>This funcionality has not been implemented yet. Please return later</p>
{% endblock %}
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>QR labels</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="outer-div">
<div class="floater graybar">
QR-Labels
</div>
<div class="floater content">
{% block content %}{% endblock %}
</div>
</div>
</body>
</html>
+7
View File
@@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<p>This label already has this link attached to it:</p>
<p><a href="{{url}}">{{url}}</a></p>
<p>Configured labels can not be modified.</p>
{% endblock %}
+12
View File
@@ -0,0 +1,12 @@
{% extends 'base.html' %}
{% block content %}
<form action=/edit method="post">
<input type="hidden" name="code" value="{{code}}" />
QR-code:<br />
<input type="text" value="{{code}}" disabled /><br />
URL:<br />
<input type="text" name="url" value=""/><br />
<button type="submit" class="graybar" >Save </button>
</form>
{% endblock %}
+6
View File
@@ -0,0 +1,6 @@
{% extends 'base.html' %}
{% block content %}
<p>This label <span class="code">{{code}}</span> is invalid!</p>
<p>Please go away!</p>
{% endblock %}
+5
View File
@@ -0,0 +1,5 @@
{% extends 'base.html' %}
{% block content %}
{{message}}
{% endblock %}
+9
View File
@@ -0,0 +1,9 @@
{% extends 'base.html' %}
{% block content %}
This is a new QR-Label. You can attach a link to it.<br />
<form action=/edit method="post">
<input type="hidden" name="code" value="{{code}}" />
<button type="submit" class="graybar">Attach link</button>
<form>
{% endblock %}
+5
View File
@@ -0,0 +1,5 @@
{% extends 'base.html' %}
{% block content %}
<p>Your link has successfully been attached!</p>
{% endblock %}
+7
View File
@@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<p>Welcome to the QR-Label system.</p>
<p>Scan any label using a standart QR reading app to follow the link attached to it. To create a new label, find a printed "blank" QR code from this system and scan it.</p>
<p>Note that once created, a label can not be modified. Unless you are an <a href="/admin">admin</a>.</p>
{% endblock %}