conference-archive/confarchive/templates/import/start.html

41 lines
931 B
HTML
Raw Normal View History

2023-09-27 17:35:16 +01:00
{% extends "base.html" %}
{% block title %}Import – Conference archive{% endblock %}
{% block content %}
<h1>Import</h1>
<form>
<div>
<label for="url">URL</label>
<input name="url" id="url" size="60"/>
</div>
<button>next</button>
</form>
{% if events %}
<div style="margin-top: 1.5rem">
{% for event in events %}
<hr>
<h3>
{% set href = url_for("import_event", hostname=hostname, slug=event.slug) %}
<a href="{{ href }}">
{{ prefer_en_label(event.name) or "[ anme missing ]" }}
</a>
</h3>
<div>
{{event.slug}} ({{ event.date_from }} to {{ event.date_to }})
</div>
{% if event.existing %}
{% set conf = event.existing %}
<div>
&nbsp; Already loaded:
<a href="{{ url_for("conference_page", short_name=conf.short_name) }}">{{ conf.title }}</a>
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endblock %}