parent
01e3b433cf
commit
0f3f35d733
@ -0,0 +1,75 @@
|
||||
body {
|
||||
background-color: #C5C5C3;
|
||||
font-size: larger;
|
||||
font-family: "Helvetica Neue", "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
.outer-div
|
||||
{
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.floater
|
||||
{
|
||||
margin: 0 auto;
|
||||
width: 30rem;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.content
|
||||
{
|
||||
min-height: 8em;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.graybar /* Girl! I want to take you to a gray bar! */
|
||||
{
|
||||
background-color: #4B4B4B;
|
||||
color: white!important;
|
||||
font-size: x-large;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.code{
|
||||
color: #4B4B4B;
|
||||
font-family: "Lucida Console", Monaco, monospace;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
input{
|
||||
font-size: larger;
|
||||
font-family: "Helvetica Neue", "Segoe UI", sans-serif;
|
||||
background-color: white;
|
||||
margin-bottom: 1em;
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
button{
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
a{
|
||||
color: #202222;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:active {
|
||||
text-decoration: underline;
|
||||
}
|
@ -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 %}
|
@ -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>
|
@ -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 %}
|
@ -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 %}
|
@ -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 %}
|
@ -0,0 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
{{message}}
|
||||
{% endblock %}
|
@ -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 %}
|
@ -0,0 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<p>Your link has successfully been attached!</p>
|
||||
{% endblock %}
|
@ -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 %}
|
Loading…
Reference in new issue