Generating pritable labels
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<form action=/generate method="post">
|
||||
How many?:<br />
|
||||
<input type="number" name="howmany" value="20"/><br />
|
||||
<input type="number" name="howmany" value="16"/><br />
|
||||
<button type="submit" class="graybar" >Generate </button><br />
|
||||
Note: It is best to print the generated codes immediatly from the result of this generation.
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Printing QR labels</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='printstyle.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
{% for row in codes %}
|
||||
<tr>
|
||||
{% for code in row %}
|
||||
<td>
|
||||
<img src="{{codegenURL}}{{code}}{{format}}" />
|
||||
<p>ELAB KNOWLEDGE SYSTEM</p>
|
||||
<p>{{systemURL}}{{code}}</p>
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user