Figured out that I can use a single endpoint for a tons of additionalPOST requests, which has opened up a lot of doors. Started to create a robust add option. Also added a template button as an idea, but need to see what's possible
This commit is contained in:
27
app/templates/bulk_add.html
Normal file
27
app/templates/bulk_add.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
{% include 'head.html' %}
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
<h4>Please find your options below. Some things to note:</h4>
|
||||
{% if error %}
|
||||
<p class=error><strong> </strong>{{ error }}</p>
|
||||
{% endif %}
|
||||
<p> </p>
|
||||
<div class="man-csv-opts">
|
||||
<div class="manual-opts">
|
||||
<p><label for="Bulk Add People"> Please select the appropriate options below.</label></p>
|
||||
<form action="{{ url_for("bulk_add")}}" method="post">
|
||||
<p>Please Copy and Paste Emails of learners you'd like to add</p>
|
||||
<textarea id="emails" name="emails" rows="4" cols="50"></textarea>
|
||||
<p>Please paste in the Group Names which these learners should be added to.</p>
|
||||
<textarea id="groups" name="groups" rows="4" cols="50"></textarea>
|
||||
<p></p>
|
||||
<input type="submit" value="Submit"></input>
|
||||
</form>
|
||||
</div>
|
||||
{% include 'csv.html' %}
|
||||
</div>
|
||||
</div>
|
||||
{% include 'table.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user