optical preparation for vcard display
[confetti] / templates / attendees.html.sh
1 . ${_EXEC}/templates/view_attendee.sh
2
3 cat <<EOF
4 <div class="filter">
5 <form action="/" method="GET">
6   <div class="search">
7     <span class="label">Filter:</span>
8     <input type="hidden" name="page" value="attendees"/>
9     <input type="text" name="filter"/>
10     <input type="radio" name="filtertype" value="any" checked="checked">Alles</input>
11     <input type="radio" name="filtertype" value="name">Name</input>
12     <input type="radio" name="filtertype" value="street">Straße</input>
13     <input type="radio" name="filtertype" value="zip">PLZ.</input>
14     <input type="radio" name="filtertype" value="telephone">Telefon</input>
15     <input type="radio" name="filtertype" value="birth">Geburtsjahr</input>
16     <input type="radio" name="filtertype" value="course">Kurs</input>
17     <button type="submit" name="action" value="new_filter">Filtern</button>
18     <button type="submit" name="action" value="del_filter">Filter löschen</button>
19   </div>
20 </form>
21 </div>
22
23 <div class="newcard">
24 <h2>Neuer Eintrag</h2>
25 <form action="actions/newcard.cgi" method="POST">
26   <span class="label">Name:</span>
27   <input type="text" name="name"/>
28   <button type="submit">Anlegen</button>
29 </form>
30 </div>
31
32 <div class="cardlist">
33   $(listcards |while read card; do
34     echo '<div class="card">'
35     view_attendee "$card"
36     echo '</div>'
37   done)
38 </div>
39
40 EOF
41
42 # vi:set filetype=html: