An open source supporter broker powered by high-fives. high-five.atprotofans.com/
at main 36 lines 1.3 kB view raw
1{{define "title"}}Settings - High Five{{end}} 2 3{{define "content"}} 4<article> 5 <header> 6 <h2>Welcome, @{{.Session.Handle}}!</h2> 7 </header> 8 9 <p>Configure your preferences before entering the high-five room:</p> 10 11 <form method="POST" action="/info"> 12 <input type="hidden" name="csrf_token" value="{{.CSRFToken}}"> 13 <fieldset> 14 <label> 15 <input type="checkbox" name="create_announcement" {{if .Prefs.CreateAnnouncementPost}}checked{{end}}> 16 Create a post announcing I'm ready for high-fives 17 </label> 18 <small>A post will be created when you enter the room (max once every 30 minutes)</small> 19 </fieldset> 20 21 <fieldset> 22 <label> 23 <input type="checkbox" name="create_high_five_post" {{if .Prefs.CreateHighFivePost}}checked{{end}}> 24 Create a post when I give my first high-five 25 </label> 26 <small>A post mentioning the recipient will be created (max once every 30 minutes)</small> 27 </fieldset> 28 29 <p><small>Note: Other users may mention you when they give you a high-five.</small></p> 30 31 <button type="submit">Enter High-Five Room</button> 32 </form> 33</article> 34{{end}} 35 36{{define "scripts"}}{{end}}