-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinvite.html
72 lines (72 loc) · 3.76 KB
/
invite.html
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
{% extends "base.html" %}
{% set tab = 'invite' %}
{% block title %}Offer to host gamenight{% endblock %}
{% block content %}
<form method="post">
<div class="row-fluid">
<div class="span6">
<fieldset>
<legend>Invite Gamenight</legend>
<label for="when">When</label>
<span class="help-block">Date and time.</span>
<input id="when" name="when" type="text"
placeholder="Saturday, 8pm; Oct 12, 7:30pm" value="{{ when }}" />
<label for="where">Where</label>
<span class="help-block">Name the house, or if people might not know it, specify the address.</span>
<input id="where" name="where" type="text"
placeholder="My house" value="{{ where }}" />
<label for="notes">Notes</label>
<span class="help-block">Anything else you'd like to tell us.</span>
<input id="notes" name="notes" type="text" />
<span class="help-block">How important is it for you to host this time?</span>
<label for="priority">Priority</label>
<select name="priority" id="priority">
<option selected value="Can">Happy to host</option>
<option value="Want">Want to host</option>
<option value="Insist">Would really like to host</option>
</select>
<button type="submit" class="btn">Submit</button>
</fieldset>
</div>
<div class="span6">
{% if invitations %}
<legend>Current invitations</legend>
<ol>
{% for invite in invitations %}
<li>
<button type="submit" class="close" id="withdraw" name="withdraw" value="{{ invite.key.id() }}">x</button>
{% if user.superuser %}
{{ invite.owner.get().name }} -
{% endif %}
{{ invite.datetext }} @
{{ invite.location }} ({{ invite.priority_text }}).
{% if invite.notes %}
<br /><small>{{ invite.notes }}</small>
{% endif %}
</li>
{% endfor %}
</ol>
{% endif %}
<legend>What does this all mean?</legend>
<p>We're trying to make it easier to schedule and know where
gamenight is going to be every week, and know earlier when one is
scheduled.</p>
<p>If you want to host gamenight, please enter when and where you'd
like to host, and select how important it is to you to host at that
time. The idea is, sometimes you might be saying "I want there to
be a gamenight, and I'm happy to volunteer my house for that." Some
other times, there's a particular reason you <strong>want</strong>
to host gamenight, and you should indicated that.</p>
<p>When it's time to schedule a gamenight (usually around Tuesday
morning), the system will try to pick the person who wanted to host
that week's gamenight most. If no one volunteered to host, it will
send out an email to people who have asked for it, suggesting they
perhaps host.</p>
<p>If you'd like to get that email (only if there are no gamenight
invitations for the week), select 'get nag email' in your <a
href="/profile">profile page</a>.<p>
</div>
</div>
</form>
{% endblock %}
{# vim: set ts=4 sts=4 sw=4 et: #}