28 lines
707 B
HTML
28 lines
707 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block header %}
|
|
<div class="title">{% block title %}Import{% endblock %}</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="maintext">Upload a json file obtained from Myriad Export here</div>
|
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
<input type="file" name="file">
|
|
<input type="submit" value="Import">
|
|
</form>
|
|
|
|
{% if response %}
|
|
{% for key in response %}
|
|
<b>{{ key }}:</b> {{ response[key] }}<br>
|
|
{% endfor %}
|
|
|
|
<br><br>
|
|
|
|
<a href="{{ url_for('manage.edit', mid=mid) }}">Edit imported member</a><br>
|
|
<a href="{{ url_for('home.full_list') }}">View full list</a>
|
|
{% endif %}
|
|
|
|
</div>
|
|
{% endblock %} |