054dd25079
Renames the app throughout: page titles, eyebrow/version labels, Docker startup banner, main.py's header docstring, and the repo links in the footer (now pointing at git.djeex.fr/Djeex/instameex and github.com/Djeex/instameex, matching the renamed Gitea/GitHub repos). Docker image and container are now named "instameex" too (docker/compose.yaml), replacing the old instagram-hdr naming. Adds the new logo: logo.svg is wired up as the favicon on both pages, and logo-long.svg replaces the plain-text "Instameex" eyebrow on the upload page as a properly sized wordmark. The startup banner box width was recalculated by hand for the new content (name plus Source:/Mirror: links instead of the old license/upstream-credit lines), verified against a real container rebuild so the border characters stay aligned. kostis-kounadis/instagram-hdr-assembler references are left alone throughout (README and banner): that's the separate upstream project this app's gain-map logic is adapted from, not this app's own name.
77 lines
2.8 KiB
HTML
77 lines
2.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Instameex - Result</title>
|
|
<link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='img/logo.svg') }}">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="wrap">
|
|
<p class="eyebrow">Conversion report</p>
|
|
<h1>{{ heading }}</h1>
|
|
|
|
{% for item in items %}
|
|
<div class="card pair-card">
|
|
<span class="status {{ 'ok' if item.success else 'err' }}">
|
|
{{ "✓ success" if item.success else "✗ error" }}{% if total_count > 1 %} — {{ item.name }}{% endif %}
|
|
</span>
|
|
|
|
{% if item.warning %}
|
|
<div class="warning-banner">
|
|
⚠ The report flags a <strong>negative GainMapMin</strong> — that's the same symptom as
|
|
the bug reported on Lightroom Mobile: Instagram may reject this file despite a
|
|
"successful" conversion. Worth tweaking the HDR export settings before
|
|
re-uploading if the upload fails.
|
|
</div>
|
|
{% endif %}
|
|
|
|
<pre class="log">{{ item.log }}</pre>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<div class="actions">
|
|
{% if ok_count > 0 %}
|
|
<a class="btn-download" href="{{ url_for('download', job_id=job_id) }}">
|
|
{{ "Download the JPEG" if ok_count == 1 else "Download .zip (" ~ ok_count ~ " files)" }}
|
|
</a>
|
|
{% endif %}
|
|
<a class="btn-secondary" href="{{ url_for('index') }}">← New conversion</a>
|
|
</div>
|
|
|
|
<p class="footnote">
|
|
Remember to upload from a desktop browser (up-to-date Chrome) afterwards, choosing
|
|
<code>Original</code> as the crop — not the default 1:1 crop.
|
|
</p>
|
|
<p class="version">Instameex v{{ app_version }}</p>
|
|
<div class="repo-links">
|
|
<a href="https://git.djeex.fr/Djeex/instameex" target="_blank" rel="noopener">
|
|
<span class="icon"><img src="{{ url_for('static', filename='img/gitea.svg') }}" alt=""></span>
|
|
Gitea
|
|
</a>
|
|
<a href="https://github.com/Djeex/instameex" target="_blank" rel="noopener">
|
|
<span class="icon"><img src="{{ url_for('static', filename='img/github.svg') }}" alt=""></span>
|
|
GitHub
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
(function () {
|
|
var jobId = {{ job_id | tojson }};
|
|
// Keeps the job's files alive while this page is open. If pings
|
|
// stop (tab closed, navigated away) the server purges the job a
|
|
// few seconds later. A refresh just resumes pinging, so it's safe.
|
|
function ping() {
|
|
if (document.visibilityState === 'visible') {
|
|
fetch('/heartbeat/' + jobId, { method: 'POST', keepalive: true }).catch(function () {});
|
|
}
|
|
}
|
|
ping();
|
|
setInterval(ping, 4000);
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|