47 lines
1.3 KiB
HTML
47 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Conference archive{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<h1>Conference archive</h1>
|
|
|
|
<form action="{{ url_for("merge") }}">
|
|
<div class="mb-3">
|
|
<label for="q" class="form-label">speaker name</label>
|
|
<input type="text" class="form-control" name="q" id="q" value="{{ search_for }}">
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Search</button>
|
|
</form>
|
|
|
|
<p>Found {{ q.count() }} people matching '{{ search_for }}'</p>
|
|
|
|
<form method="POST">
|
|
<input type="hidden" name="q" value="{{search_for }}"/>
|
|
|
|
|
|
{% for item in q %}
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" name="person_id" value="{{ item.id }}" id="person{{ item.id }}">
|
|
<label class="form-check-label" for="person{{ item.id }}">
|
|
{{ item.id }}
|
|
<a href="{{ url_for("person", person_id=item.id) }}">{{ item.name }}</a>
|
|
|
|
{% if item.wikidata_qid %}
|
|
—
|
|
<a href="https://www.wikidata.org/wiki/{{ item.wikidata_qid }}">{{ item.wikidata_qid }} on Wikidata</a>
|
|
{% endif %}
|
|
</label>
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<button type="submit" class="btn btn-primary">Merge</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|