2023-02-21 16:59:41 -05:00
|
|
|
<!DOCTYPE html>
|
2023-03-01 17:05:16 -05:00
|
|
|
{% include 'head.html' %}
|
|
|
|
|
{% include 'header.html' %}
|
|
|
|
|
{% include 'logo.html' %}
|
2023-02-21 16:59:41 -05:00
|
|
|
{% block content %}
|
2023-03-29 18:06:46 -04:00
|
|
|
<h2>You're currently accessing {{ session.raw_school }}.</h2>
|
2023-03-10 17:59:16 -05:00
|
|
|
<h2> </h2>
|
2023-03-07 17:52:36 -05:00
|
|
|
<div class="instructions-list">
|
|
|
|
|
<div class="instructions-left">
|
|
|
|
|
<ul>
|
2023-03-09 15:15:42 -05:00
|
|
|
<li> <h3>Left side - Manual entry:</h3>
|
2023-03-07 17:52:36 -05:00
|
|
|
<ul>
|
2023-03-09 15:15:42 -05:00
|
|
|
<li> Both fields don't need to be filled out!</li>
|
2023-03-07 17:52:36 -05:00
|
|
|
<li> You can add just people or just groups.</li>
|
2023-03-09 15:15:42 -05:00
|
|
|
<li> Using both fields will add all people to all groups.</li>
|
2023-03-07 17:52:36 -05:00
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="instructions-right">
|
|
|
|
|
<ul>
|
2023-03-09 15:15:42 -05:00
|
|
|
<li> <h3>Right side - CSV Upload:</h3>
|
2023-03-07 17:52:36 -05:00
|
|
|
<ul>
|
|
|
|
|
<li> The Header rows must be <strong>Email</strong> and/or <strong>Groups</strong></li>
|
2023-03-09 15:15:42 -05:00
|
|
|
<li> Please format the csv like this:</li>
|
|
|
|
|
<li> Email,Groups</li>
|
|
|
|
|
<li> email@email.com, group1, group2, group3 </li>
|
|
|
|
|
<li> email2@email.com, group5, group1 </li>
|
2023-03-07 17:52:36 -05:00
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-03-09 15:15:42 -05:00
|
|
|
<p> </p>
|
2023-03-07 17:52:36 -05:00
|
|
|
{% if error %}
|
2023-02-22 06:42:26 -05:00
|
|
|
<p class=error><strong> </strong>{{ error }}</p>
|
2023-02-21 16:59:41 -05:00
|
|
|
{% endif %}
|
2023-03-07 14:56:01 -05:00
|
|
|
<p> </p>
|
|
|
|
|
<div class="man-csv-opts">
|
|
|
|
|
<div class="manual-opts">
|
2023-03-08 16:11:32 -05:00
|
|
|
<p><label for="Bulk Add"> Each item must be comma separated or placed on a
|
2023-03-07 17:52:36 -05:00
|
|
|
new line.</label></p>
|
2023-03-07 14:56:01 -05:00
|
|
|
<form action="{{ url_for("bulk_add")}}" method="post">
|
2023-03-07 17:52:36 -05:00
|
|
|
<p>Emails</p>
|
2023-02-21 16:59:41 -05:00
|
|
|
<textarea id="emails" name="emails" rows="4" cols="50"></textarea>
|
2023-03-09 15:15:42 -05:00
|
|
|
<p>Group Names</p>
|
2023-02-22 06:42:26 -05:00
|
|
|
<textarea id="groups" name="groups" rows="4" cols="50"></textarea>
|
2023-02-22 17:11:14 -05:00
|
|
|
<p></p>
|
|
|
|
|
<input type="submit" value="Submit"></input>
|
2023-02-22 06:42:26 -05:00
|
|
|
</form>
|
2023-03-07 14:56:01 -05:00
|
|
|
</div>
|
|
|
|
|
{% include 'csv.html' %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-03-08 16:11:32 -05:00
|
|
|
{% if table %}
|
|
|
|
|
{% include 'table.html' %}
|
|
|
|
|
{% endif %}
|
2023-02-26 22:08:24 -08:00
|
|
|
{% endblock %}
|