This commit is contained in:
Skylar Grant 2024-09-12 13:58:13 -04:00
parent 9352b92d2d
commit 81e05a1ecd

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Credential Printer</title>
<title>ITS Thermal Printer</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 font-sans leading-normal tracking-normal">
@ -11,7 +11,7 @@
<div class="flex justify-center mb-6">
<img src="./itslogo_color.png" alt="ITS Logo" class="h-24 w-auto">
</div>
<h1 class="text-2xl font-bold text-center mb-4" style="color: #1F3C70;">ITS Credential Printer</h1>
<h1 class="text-2xl font-bold text-center mb-4" style="color: #1F3C70;">ITS Thermal Printer Panel</h1>
<p class="text-center text-gray-600 mb-6">
Provide the username and student ID in the fields below, then click the Print button.
A pre-formatted receipt will print with the information from the thermal printer.
@ -38,13 +38,14 @@
</button>
</div>
</form>
</div>
<button
id="print-mcc"
class="w-full bg-indigo-700 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-opacity-50 mt-2">
Print MaineCC Contact
</button>
<div class="max-w-lg mx-auto mt-10 bg-white p-8 rounded-lg shadow-lg">
<h1 class="text-2xl font-bold text-center mb-4" style="color: #1F3C70;">Temporary Password Printer</h1>
<p class="text-center text-gray-600 mb-6">
Provide the temporary password in the field below, then click the Print button.
A pre-formatted receipt will print with the information from the thermal printer.
</p>
<div>
<label for="password" class="block text-sm font-medium text-gray-700">Temp Password:</label>
@ -61,6 +62,15 @@
</div>
</div>
<div class="max-w-lg mx-auto mt-10 bg-white p-8 rounded-lg shadow-lg">
<h1 class="text-2xl font-bold text-center mb-4" style="color: #1F3C70;">Other Quick Prints</h1>
<button
id="print-mcc"
class="w-full bg-indigo-700 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-opacity-50 mt-2">
Print MaineCC Contact
</button>
</div>
<script>