Files
ingress_migrate_annotations/templates/preview.html

45 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Result</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<h1>Migration Result</h1>
<div class="card">
<h2>Converted YAML</h2>
{% for ns, files in yaml_tree.items() %}
<h4>{{ ns }}</h4>
<ul>
{% for f in files %}
<li><a href="/view/{{ job_id }}/yaml/{{ ns }}/{{ f }}">{{ f }}</a></li>
{% endfor %}
</ul>
{% endfor %}
</div>
<div class="card">
<h2>Original Backup</h2>
{% for ns, files in backup_tree.items() %}
<h4>{{ ns }}</h4>
<ul>
{% for f in files %}
<li><a href="/view/{{ job_id }}/backup/{{ ns }}/{{ f }}">{{ f }}</a></li>
{% endfor %}
</ul>
{% endfor %}
</div>
<div class="card">
<a href="/report/{{ job_id }}">📄 migration-report.md</a><br><br>
<a href="/download/{{ result_zip }}">⬇ result.zip</a><br>
<a href="/download/{{ backup_zip }}">⬇ backup.zip</a>
</div>
</div>
</body>
</html>