blob: b1d214ea1f05c6e7dc8e642b4505b0b3eefc8d93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
{% extends "base.html" %}
{% block title %}Group Manager{% endblock %}
{% block content %}
<!-- Start of body -->
<div class="container">
<div class="page-header">
<h1>Create Group</h1>
</div>
<form action="{{ url_for('group_management.create_new_group') }}"
method="POST">
<input type="hidden" name="admin_emails_to_add" value="">
<input type="hidden" name="member_emails_to_add" value="">
<fieldset>
<div class="form-horizontal" style="width: 900px; margin-bottom: 50px;">
<div class="form-group" style="padding-left: 20px;">
<label for="group_name" class="col-xs-3" style="float: left; font-size: 18px;">Group Name:</label>
<div class="controls input-append col-xs-9" style="display: flex; padding-left: 20px; float: left;">
<div class="col-xs-12">
<input name="group_name" type="text" style="width:100%;"></input>
</div>
</div>
</div>
<div class="form-group" style="padding-left: 20px;">
<label for="user_email" class="col-xs-3" style="float: left; font-size: 18px;">Add User Email:</label>
<div class="controls input-append col-xs-9" style="display: flex; padding-left: 20px; float: left;">
<div class="col-xs-12">
<input name="user_email" type="text" style="width:100%;"></input>
</div>
</div>
</div>
<div class="form-group" style="padding-left: 20px;">
<label class="col-xs-3"></label>
<div class="controls input-append col-xs-9" style="display: flex; padding-left: 20px; float: left;">
<div class="col-xs-6">
<button type="button" id="add_to_admins" class="btn btn-default">Add to Admins</button>
</div>
<div class="col-xs-6">
<button type="button" id="add_to_members" class="btn btn-default">Add to Members</button>
</div>
</div>
</div>
<div class="form-group" style="padding-left: 20px;">
<label class="col-xs-3" style="font-size: 18px;">Members to be added:</label>
<div class="controls input-append col-xs-9" style="display: flex; padding-left: 20px; float: left;">
<div class="col-xs-6">
<textarea rows="8" cols="60" readonly placeholder="No users added" style="overflow-y: scroll; resize: none; width: 200px;" class="added_admins"></textarea>
</div>
<div class="col-xs-6">
<textarea rows="8" cols="60" readonly placeholder="No users added" style="overflow-y: scroll; resize: none; width: 200px;" class="added_members"></textarea>
</div>
</div>
</div>
<div class="form-group" style="padding-left: 20px;">
<label class="col-xs-3"></label>
<div class="controls input-append col-xs-9" style="display: flex; padding-left: 20px; float: left;">
<div class="col-xs-6">
<button type="button" id="clear_admins" class="btn btn-default">Clear</button>
</div>
<div class="col-xs-6">
<button type="button" id="clear_members" class="btn btn-default">Clear</button>
</div>
</div>
</div>
<div class="form-group" style="padding-left: 20px;">
<label for="create_group" class="col-xs-3" style="float: left; font-size: 18px;"></label>
<div class="controls input-append col-xs-9" style="display: flex; padding-left: 20px; float: left;">
<div class="col-xs-6">
<button type="submit" id="create_group" class="btn btn-primary">Create Group</button>
</div>
</div>
</div>
</div>
</fieldset>
</form>
</div>
<!-- End of body -->
{% endblock %}
{% block js %}
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.js') }}"></script>
<script language="javascript" type="text/javascript" src="/static/new/javascript/group_manager.js"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='js_alt/underscore.min.js') }}"></script>
{% endblock %}
|