root / invitations / templates / invitations.html @ ccd822a8
History | View | Annotate | Download (2 kB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
---|---|
2 |
"http://www.w3.org/TR/html4/loose.dtd">
|
3 |
<html>
|
4 |
<head>
|
5 |
<title>Αποστολή προσκλήσεων σε χρήστες</title> |
6 |
<script src="/static/jquery.tools.min.js"></script> |
7 |
<script src="/static/jquery.dynamicField.js"></script> |
8 |
<script type="text/javascript"> |
9 |
|
10 |
$(document).ready(function() {
|
11 |
$("#invform #removable-name-container-1").dynamicField();
|
12 |
});
|
13 |
|
14 |
</script>
|
15 |
|
16 |
<style type="text/css"> |
17 |
|
18 |
</style>
|
19 |
</head>
|
20 |
<body>
|
21 |
<form action="/invitation/" method="post" id="invform"> |
22 |
{% csrf_token %} |
23 |
<div id="fieldheaders"> |
24 |
<span id="field_name_name">Όνομα</span> |
25 |
<span id="field_email_name">Email</span> |
26 |
</div>
|
27 |
<div id="fields"> |
28 |
<div id="removable-name-container-1" class="removable-field-row"> |
29 |
<label for="name_1">Name</label> |
30 |
<input type="text" name="name_1" id="name_1" value="" class="textInput removable" /> |
31 |
<label for="email_1">Email</label> |
32 |
<input type="text" name="email_1" id="email_1" value="" class="textInput removable" /> |
33 |
<img src="/static/spacer.gif" width="16" height="16" alt="" title="Remove This Item" class="" /> |
34 |
</div>
|
35 |
|
36 |
<div id="add-name-container" class="add-field-container"> |
37 |
<span class="add-field-trigger"> |
38 |
<img src="/static/add.gif" alt="" title="Add New Item" /> |
39 |
Add Row |
40 |
</span>
|
41 |
</div>
|
42 |
</div>
|
43 |
<p><input type="submit" value="Αποστολή Προσκλήσεων" /></p> |
44 |
</form>
|
45 |
|
46 |
<div id="invsent"> |
47 |
Λίστα προσκλήσεων που έχουν αποσταλεί (<img src="/static/save.png" alt=""> = Η πρόσκληση έγινε αποδεκτή) |
48 |
<div>
|
49 |
<ul>
|
50 |
{% for ivn in invitations %} |
51 |
<li>
|
52 |
{% if inv.accepted %} |
53 |
<img src="/static/save.png" alt=""> |
54 |
{% endif %} |
55 |
{{ inv.target }} |
56 |
</li>
|
57 |
{% endfor %} |
58 |
</ul>
|
59 |
</div>
|
60 |
</div>
|
61 |
|
62 |
</body>
|
63 |
</html>
|