Table not working randomly. H2 repeating in the loop. Function upgrades.

This commit is contained in:
Norm Rasmussen
2023-02-22 06:42:26 -05:00
parent e81b9e2c14
commit 040991ecee
7 changed files with 66 additions and 26 deletions

View File

@ -3,22 +3,27 @@
{% block content %}
<h4>Hello! Please enter the emails below.</h4>
{% if error %}
<p class=error><strong> </strong>{{ error }}
<p class=error><strong> </strong>{{ error }}</p>
{% endif %}
<p><label for="Bulk Add"> 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 select which Groups these learners should be added to. </p>
<select name="groups" id="groups" multiple>
<p>Please paste in the Group UUIDs which these learners should be added to.</p>
<textarea id="groups" name="groups" rows="4" cols="50"></textarea>
<option></option>
<input type="submit" value="Submit"></select>
</form>
</form>
<h4>Here is a list of your client's Groups.</h4>
<a id="download" href="/downloadcsv">Click here to download as CSV.</a>
</div>
<div class="panda-table">
<!-- Display Converted Table -->
<h2> {{ titles }} </h2>
{{ table }}
</div>
</div>
</body>
<script src="{{ url_for('static', filename='getallgroups.js')}}"></script>
</body>
{% endblock %}