This commit is contained in:
Skylar Grant 2024-09-12 13:58:13 -04:00
parent 9352b92d2d
commit 81e05a1ecd
1 changed files with 18 additions and 8 deletions

View File

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