12345678910111213141516171819202122232425262728293031323334353637 |
- {% extends 'auth_layout.html' %}
- {% block content %}
- {% if context.message %}
- <div class="row">
- <div class="col text-center text-primary">
- <i class="ri-error-warning-fill"></i> {{ context.message }}
- </div>
- </div>
- {% endif %}
- <div class="row">
- <div class="col">
- <a href="{{ url_for('admin_ils_users_csv_download') }}" class="btn btn-secondary float-end"><i class="ri-file-download-fill"></i> Download CSV Template</a>
- <a href="{{ url_for('admin_ils_users') }}" class="btn btn-dark float-end me-2"><i class="ri-arrow-left-circle-fill"></i> Back</a>
- <h3><i class="ri-file-excel-line"></i> CSV Import ILS Users</h3>
- <p class="lead">ILS users can be loaded using a comma delimited CSV file.</p>
- <p class="alert alert-warning">
- <i class="ri-error-warning-fill"></i> If users already exist in the database, they will be updated with the information provided in the CSV file.
- </p>
- </div>
- </div>
- <div class="row">
- <div class="col">
- <form action="{{ url_for('admin_ils_users_csv_import') }}" method="post" enctype="multipart/form-data">
- <div class="mb-3">
- <label for="csv" class="form-label">CSV File</label>
- <input type="file" class="form-control" id="csv" name="csv" required>
- </div>
- <div class="mb-3">
- <input type="submit" class="btn btn-primary" value="Import">
- </div>
- </form>
- </div>
- </div>
- {% endblock %}
|