Add USB checkout system and SSO profile page

New Features:
- USB Device checkout/check-in system with barcode scanning
  - displayusb.asp: List all USB devices with status
  - addusb.asp: Add new USB devices via barcode scan
  - checkout_usb.asp/savecheckout_usb.asp: Check out USB to SSO
  - checkin_usb.asp/savecheckin_usb.asp: Check in with wipe confirmation
  - usb_history.asp: Full checkout history with filters
  - api_usb.asp: JSON API for AJAX lookups
- displayprofile.asp: SSO profile page showing user info and USB history
- Date/time format changed to 12-hour (MM/DD/YYYY h:mm AM/PM)
- SSO links in USB history now link to profile page via search

Database:
- New machinetypeid 44 for USB devices
- New usb_checkouts table for tracking checkouts

Cleanup:
- Removed v2 folder (duplicate/old files)
- Removed old debug/test files
- Removed completed migration documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
cproudlock
2025-12-07 11:16:14 -05:00
parent c7834d4b99
commit 65b622c361
1061 changed files with 19034 additions and 213120 deletions

View File

@@ -31,7 +31,7 @@
<div class="card-body">
<div style="display:flex; justify-content:space-between; align-items:center; margin-bottom:20px;">
<h5 class="card-title" style="margin:0;">
<i class="zmdi zmdi-laptop"></i> Add Device - Scan Serial Number
<i class="zmdi zmdi-laptop"></i> Add PC - Scan Serial Number
</h5>
<a href="./displaypcs.asp" class="btn btn-sm btn-secondary">
<i class="zmdi zmdi-arrow-left"></i> Back to PCs
@@ -72,7 +72,7 @@ End If
</div>
<div class="text-center" id="manualSubmit" style="display:none;">
<button type="submit" class="btn btn-primary">
<i class="zmdi zmdi-check"></i> Add Device
<i class="zmdi zmdi-check"></i> Add PC
</button>
</div>
</form>
@@ -80,7 +80,7 @@ End If
<div id="successArea" style="display:none;">
<div class="alert alert-success" style="padding:0.75rem 1.25rem;">
<strong>Device added successfully!</strong>
<strong>PC added successfully!</strong>
<div style="margin-top:10px; font-size:20px; font-family:monospace; letter-spacing:1px;" id="addedSerial"></div>
</div>
<div class="text-center" style="margin-top:20px;">