|
|
|
|
@ -8,15 +8,20 @@
|
|
|
|
|
</head>
|
|
|
|
|
<body class="bg-gray-100 leading-normal tracking-normal dark:bg-gray-900">
|
|
|
|
|
<!-- Logo -->
|
|
|
|
|
|
|
|
|
|
<div class="flex justify-center mt-6">
|
|
|
|
|
<a href="https://mainecc.sharepoint.com/sites/ITHelpdesk" target="_blank">
|
|
|
|
|
<img src="./assets/images/itslogo_color.png" alt="ITS Logo" class="h-24 w-auto">
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Title -->
|
|
|
|
|
<div class="flex flex-col justify-center mt-6">
|
|
|
|
|
<h1 class="dark:text-gray-300 text-4xl font-bold text-center">ITS Thermal Printer</h1><br />
|
|
|
|
|
<h4 class="dark:text-gray-300 text-lg text-center">v<span id="versionNumber"></span> Developed for MCCS by <a href="https://git.vfsh.dev/helpd_admin/it-thermal/src/branch/client-only" class="text-blue-700">Skylar Grant</a></h4>
|
|
|
|
|
<h4 class="dark:text-gray-300 text-lg text-center">v<span id="versionNumber"></span> Developed for MCCS by <a href="https://git.vfsh.dev/sgrant/mccs-thermal" class="text-blue-700">Skylar Grant</a></h4>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Parent container to hold flex columns -->
|
|
|
|
|
<div class="flex justify-center mt-10 space-x-6">
|
|
|
|
|
<!-- Left column -->
|
|
|
|
|
@ -30,11 +35,11 @@
|
|
|
|
|
<!-- Username -->
|
|
|
|
|
<label for="tempPwUsername" class="dark:text-gray-300 block text-md font-medium text-gray-700">Username: (optional)</label>
|
|
|
|
|
<input type="text" id="tempPwUsername" name="tempPwUsername"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
<!-- Password -->
|
|
|
|
|
<label for="tempPwPassword" class="dark:text-gray-300 block text-md font-medium text-gray-700">Password:</label>
|
|
|
|
|
<input type="text" id="tempPwPassword" name="tempPwPassword" required
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
<input type="text" id="tempPwPassword" name="tempPwPassword"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Submit Button -->
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
@ -45,6 +50,14 @@
|
|
|
|
|
Generate Receipt
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
<button type="submit"
|
|
|
|
|
id="genPassword"
|
|
|
|
|
style="background-color: #4b7839;"
|
|
|
|
|
class="dark:bg-indigo-600 dark:hover:bg-indigo-700 w-full 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-4">
|
|
|
|
|
Generate And Copy Password
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Custom Note -->
|
|
|
|
|
@ -54,9 +67,10 @@
|
|
|
|
|
<!-- Fields -->
|
|
|
|
|
<div>
|
|
|
|
|
<!-- Notes -->
|
|
|
|
|
<!-- max size added and removed resizing -->
|
|
|
|
|
<label for="customNoteTextArea" class="dark:text-gray-300 block text-md font-medium text-gray-700">Notes:</label>
|
|
|
|
|
<textarea id="customNoteTextArea" name="customNoteTextArea" cols="35" rows="10" required
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
|
|
|
|
|
<textarea id="customNoteTextArea" name="customNoteTextArea" cols="35" rows="10" maxlength="1000" style="resize: none;"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Submit Button -->
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
@ -80,54 +94,54 @@
|
|
|
|
|
<div>
|
|
|
|
|
<!-- Ticket field -->
|
|
|
|
|
<label for="dtticket" class="dark:text-gray-300 block text-md font-medium text-gray-700">Ticket:</label>
|
|
|
|
|
<input type="text" id="dtticket" name="dtticket" required
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
<input type="text" id="dtticket" name="dtticket"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
<!-- User field -->
|
|
|
|
|
<label for="dtuser" class="dark:text-gray-300 block text-md font-medium text-gray-700">User:</label>
|
|
|
|
|
<input type="text" id="dtuser" name="dtuser" required
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
<input type="text" id="dtuser" name="dtuser"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
|
|
|
|
<!-- Radio buttons to pick from "Stock", "Deploy", "Image", "E-Waste", "Repair/Parts" and "Other" -->
|
|
|
|
|
<label for="dtservice" class="dark:text-gray-300 block text-md font-medium text-gray-700 mb-2">Service:</label>
|
|
|
|
|
<div class="flex flex-row space-x-20 pl-2">
|
|
|
|
|
<div class="flex flex-col space-y-2">
|
|
|
|
|
<label class="inline-flex items-center">
|
|
|
|
|
<input type="radio" name="dtservice" value="Stock" required
|
|
|
|
|
<input type="radio" name="dtservice" value="Stock"
|
|
|
|
|
class="dark:bg-gray-700 dark:border-gray-700 dark:text-white text-indigo-600 focus:ring-indigo-500">
|
|
|
|
|
<span class="ml-2 dark:text-gray-300">Stock</span>
|
|
|
|
|
<span class=" dark:text-gray-300">Stock</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="inline-flex items-center">
|
|
|
|
|
<input type="radio" name="dtservice" value="Deploy"
|
|
|
|
|
class="dark:bg-gray-700 dark:border-gray-700 dark:text-white text-indigo-600 focus:ring-indigo-500">
|
|
|
|
|
<span class="ml-2 dark:text-gray-300">Deploy</span>
|
|
|
|
|
<span class=" dark:text-gray-300">Deploy</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="inline-flex items-center">
|
|
|
|
|
<input type="radio" name="dtservice" value="Image"
|
|
|
|
|
class="dark:bg-gray-700 dark:border-gray-700 dark:text-white text-indigo-600 focus:ring-indigo-500">
|
|
|
|
|
<span class="ml-2 dark:text-gray-300">Image</span>
|
|
|
|
|
<span class=" dark:text-gray-300">Image</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex flex-col space-y-2">
|
|
|
|
|
<label class="inline-flex items-center">
|
|
|
|
|
<input type="radio" name="dtservice" value="E-Waste"
|
|
|
|
|
class="dark:bg-gray-700 dark:border-gray-700 dark:text-white text-indigo-600 focus:ring-indigo-500">
|
|
|
|
|
<span class="ml-2 dark:text-gray-300">E-Waste</span>
|
|
|
|
|
<span class=" dark:text-gray-300">E-Waste</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="inline-flex items-center">
|
|
|
|
|
<input type="radio" name="dtservice" value="Repair/Parts"
|
|
|
|
|
class="dark:bg-gray-700 dark:border-gray-700 dark:text-white text-indigo-600 focus:ring-indigo-500">
|
|
|
|
|
<span class="ml-2 dark:text-gray-300">Repair/Parts</span>
|
|
|
|
|
<span class=" dark:text-gray-300">Repair/Parts</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="inline-flex items-center">
|
|
|
|
|
<input type="radio" name="dtservice" value="Other"
|
|
|
|
|
class="dark:bg-gray-700 dark:border-gray-700 dark:text-white text-indigo-600 focus:ring-indigo-500">
|
|
|
|
|
<span class="ml-2 dark:text-gray-300">Other</span>
|
|
|
|
|
<span class=" dark:text-gray-300">Other</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Notes field -->
|
|
|
|
|
<label for="dtnotes" class="dark:text-gray-300 block text-md font-medium text-gray-700">Notes: (optional)</label>
|
|
|
|
|
<textarea id="dtnotes" name="dtnotes" cols="35" rows="4"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
|
|
|
|
|
<textarea id="dtnotes" name="dtnotes" cols="35" rows="6" maxlength="500" style="resize: none;"
|
|
|
|
|
class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Submit Button -->
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
@ -162,3 +176,6 @@
|
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|