{% extends "base.html" %}

{% block title %}Submit Test Job - ASF TestArena{% endblock %}

{% block content %}
<div class="submit-container">
    <h2 style="margin-bottom: 30px; color: var(--dark);">Submit New Test Job</h2>
    
    <div class="step-indicator">
        <div class="step active">
            <div class="step-number">1</div>
            <div class="step-label">Branch</div>
        </div>
        <div class="step">
            <div class="step-number">2</div>
            <div class="step-label">Scenarios</div>
        </div>
        <div class="step">
            <div class="step-number">3</div>
            <div class="step-label">Environment</div>
        </div>
        <div class="step">
            <div class="step-number">4</div>
            <div class="step-label">Test Mode</div>
        </div>
        <div class="step">
            <div class="step-number">5</div>
            <div class="step-label">Review</div>
        </div>
    </div>
    
    <form method="POST" action="{{ url_for('jobs.submit_step1') }}">
        <div class="form-group">
            <label for="branch_name">Git Branch Name</label>
            <input type="text" id="branch_name" name="branch_name" class="form-control" 
                   placeholder="e.g., feature/new-feature" required>
            <small style="color: #6b7280; margin-top: 5px; display: block;">
                Enter the branch name to analyze available test scenarios
            </small>
        </div>
        
        <div class="form-actions">
            <a href="{{ url_for('dashboard.index') }}" class="btn" style="background: #6b7280; color: white;">Cancel</a>
            <button type="submit" class="btn btn-primary">Next</button>
        </div>
    </form>
</div>
{% endblock %}
