83d4468b69
Downscale to 2000px JPEG before rembg, random blend opacity, timeout retries, per-variant remix prefill, lightbox, and longer SFTP idle. Co-authored-by: Cursor <cursoragent@cursor.com>
54 lines
2.0 KiB
HTML
54 lines
2.0 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Remix {{ job_id }} — {{ site_title }}{% endblock %}
|
|
{% block content %}
|
|
<p class="back-link"><a href="/jobs/{{ job_id }}">← Zurueck zum Job</a></p>
|
|
|
|
<h1>Remix · Job {{ job_id }}</h1>
|
|
{% if from_variant %}
|
|
<p class="job-status">Vorausgefüllt von {{ from_variant }}</p>
|
|
{% endif %}
|
|
|
|
{% if error %}
|
|
<p class="error-box">{{ error }}</p>
|
|
{% endif %}
|
|
|
|
<form method="post" action="/jobs/{{ job_id }}/remix" class="remix-form">
|
|
<label for="bg_filter">Background-Filter</label>
|
|
<select name="bg_filter" id="bg_filter" required>
|
|
{% for name in options.background_filters %}
|
|
<option value="{{ name }}" {% if name == prefill.bg_filter %}selected{% endif %}>{{ name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<label for="bg_blend">Background-Blend</label>
|
|
<select name="bg_blend" id="bg_blend" required>
|
|
{% for mode in options.blend_modes %}
|
|
<option value="{{ mode }}" {% if mode == prefill.bg_blend %}selected{% endif %}>{{ mode }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<label for="fg_filter">Foreground-Filter</label>
|
|
<select name="fg_filter" id="fg_filter" required>
|
|
{% for name in options.foreground_filters %}
|
|
<option value="{{ name }}" {% if name == prefill.fg_filter %}selected{% endif %}>{{ name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<label for="fg_blend">Foreground-Blend</label>
|
|
<select name="fg_blend" id="fg_blend" required>
|
|
{% for mode in options.blend_modes %}
|
|
<option value="{{ mode }}" {% if mode == prefill.fg_blend %}selected{% endif %}>{{ mode }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<label for="opacity">Blend-Opacity</label>
|
|
<select name="opacity" id="opacity" required>
|
|
{% for value in opacity_choices %}
|
|
<option value="{{ value }}" {% if value == prefill.opacity %}selected{% endif %}>{{ value }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<button type="submit" class="button button-primary">Remix erzeugen</button>
|
|
</form>
|
|
{% endblock %}
|