- Add Modules and UserModules database tables - Create home page with module selection grid - Implement per-user module assignment in user management - Add route guards for module access control - Refactor navigation: login -> home -> modules, admin console via button - Add Font Awesome icons
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Create Session - ScanLook{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="form-container">
|
|
<div class="form-card">
|
|
<div class="form-header">
|
|
<h1 class="form-title">Create New Count Session</h1>
|
|
</div>
|
|
|
|
<form method="POST" class="standard-form">
|
|
<div class="form-group">
|
|
<label for="session_name" class="form-label">Session Name *</label>
|
|
<input
|
|
type="text"
|
|
id="session_name"
|
|
name="session_name"
|
|
class="form-input"
|
|
placeholder="e.g., January 17, 2026 - Daily Cycle Count"
|
|
required
|
|
autofocus
|
|
>
|
|
<small class="form-help">Descriptive name for this count session</small>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="session_type" class="form-label">Session Type *</label>
|
|
<select id="session_type" name="session_type" class="form-select" required>
|
|
<option value="cycle_count">Cycle Count</option>
|
|
<option value="full_physical">Full Physical Inventory</option>
|
|
</select>
|
|
<small class="form-help">Choose the type of inventory count</small>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<a href="{{ url_for('admin_dashboard') }}" class="btn btn-secondary">Cancel</a>
|
|
<button type="submit" class="btn btn-primary">Create Session</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|