Files
ScanLook/templates/counts/create_session.html
Javier 2d333c16a3 v0.14.0 - Major Logic Overhaul & Real-Time Dashboard
Logic: Implemented "One User, One Bin" locking to prevent duplicate counting.

    Integrity: Standardized is_deleted = 0 and tightened "Matched" criteria to require zero weight variance.

    Refresh: Added silent 30-second dashboard polling for all 6 status categories and active counter list.

    Tracking: Built user-specific activity tracking to identify who is counting where in real-time.

    Stability: Resolved persistent 500 errors by finalizing the active-counters-fragment structure.
2026-01-31 19:17:36 -06:00

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 %}