summaryrefslogtreecommitdiff
path: root/templates/event.html
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:08:50 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:08:50 -0400
commit4f884c9abc32990b4061a1bb6997b4b37e58ea0b (patch)
treef902c2a6faa99b426e6615e04625bda333c9ef04 /templates/event.html
parent37293f964a217944afe0c5386f7de624d41b8abb (diff)
dbg
Diffstat (limited to 'templates/event.html')
-rw-r--r--templates/event.html148
1 files changed, 74 insertions, 74 deletions
diff --git a/templates/event.html b/templates/event.html
index 207ac87..5385308 100644
--- a/templates/event.html
+++ b/templates/event.html
@@ -17,84 +17,84 @@
<a class="source" href="/git/symposium">[src]</a>
</div>
</div>
- <br>
- {% if manage %}
- <span class="manage">Admin Management Interface</span>
- <br>
- <br>
- Save your admin management link. Without it, you will not be able to edit your event.
- <br>
- <br>
- <button onclick="navigator.clipboard.writeText(document.location.host + '/symposium/event/{{event.iden}}?password={{event.password}}')">Copy admin management link (keep safe)</button>
- <br>
- <br>
- <button onclick="navigator.clipboard.writeText(document.location.host + '/symposium/event/{{event.iden}}')">Copy invite link</button>
- <button onclick="window.open('/symposium/event/{{event.iden}}', '_blank')">Visit public invite page</button>
- <br>
- <hr>
- {% endif %}
- <form method="POST" action="/symposium/event/{{ event.iden }}/edit?password={{event.password}}">
- {% if manage %}
- <span class="q">Title:</span>
- <input name="title" type="text" value="{{ event.title }}"></input>
- {% else %}
- <h3>{{ event.title }}</h3>
- {% endif %}
- <br>
- {% if not manage %}
- <button>Copy invite link</button>
- <br>
- {% endif %}
- <br>
- <span class="q">When?</span>
- {% if manage %}
- <input name="when" class="when" type="datetime-local" value="{{ event.time }}" >
- {% else %}
- <input name="when" class="when" type="datetime-local" value="{{ event.time }}" disabled>
- {% endif %}
- <br>
- <br>
+ <br>
+ {% if manage %}
+ <span class="manage">Admin Management Interface</span>
+ <br>
+ <br>
+ Save your admin management link. Without it, you will not be able to edit your event.
+ <br>
+ <br>
+ <button onclick="navigator.clipboard.writeText(document.location.host + '/symposium/event/{{event.iden}}?password={{event.password}}')">Copy admin management link (keep safe)</button>
+ <br>
+ <br>
+ <button onclick="navigator.clipboard.writeText(document.location.host + '/symposium/event/{{event.iden}}')">Copy invite link</button>
+ <button onclick="window.open('/symposium/event/{{event.iden}}', '_blank')">Visit public invite page</button>
+ <br>
+ <hr>
+ {% endif %}
+ <form method="POST" action="/symposium/event/{{ event.iden }}/edit?password={{event.password}}">
+ {% if manage %}
+ <span class="q">Title:</span>
+ <input name="title" type="text" value="{{ event.title }}"></input>
+ {% else %}
+ <h3>{{ event.title }}</h3>
+ {% endif %}
+ <br>
+ {% if not manage %}
+ <button>Copy invite link</button>
+ <br>
+ {% endif %}
+ <br>
+ <span class="q">When?</span>
+ {% if manage %}
+ <input name="when" class="when" type="datetime-local" value="{{ event.time }}" >
+ {% else %}
+ <input name="when" class="when" type="datetime-local" value="{{ event.time }}" disabled>
+ {% endif %}
+ <br>
+ <br>
- <span class="q">Where?</span>
- {% if manage %}
- <input name="where" type="text" value="{{ event.location }}"></input>
- {% else %}
- <a target="_blank" href="http://maps.google.com/?q={{ event.location }}">{{ event.location }}</a>
- {% endif %}
+ <span class="q">Where?</span>
+ {% if manage %}
+ <input name="where" type="text" value="{{ event.location }}"></input>
+ {% else %}
+ <a target="_blank" href="http://maps.google.com/?q={{ event.location }}">{{ event.location }}</a>
+ {% endif %}
- <br><br>
+ <br><br>
- <span class="q">What?</span>
- <br>
- {% if manage %}
- <textarea name="what" class="desc">{{event.description}}</textarea>
- <br>
- {% else %}
- {{ event.description }}
- <br>
- {% endif %}
+ <span class="q">What?</span>
+ <br>
+ {% if manage %}
+ <textarea name="what" class="desc">{{event.description}}</textarea>
+ <br>
+ {% else %}
+ {{ event.description }}
+ <br>
+ {% endif %}
- <br>
- {% if manage %}
- <button>Save changes</button>
- <br>
- <br>
- {% endif %}
- </form>
- <span class="q">Who?</span>
- <br>
- {% for name in event.get_invites() %}
- &mdash; {{ name }}
- <br>
- {% endfor %}
- {% if manage %}
- <form method="POST" action="/symposium/event/{{ event.iden }}/join?password={{ event.password }}" class="join-form">
- {% else %}
- <form method="POST" action="/symposium/event/{{ event.iden }}/join" class="join-form">
- {% endif %}
- <input type="text" name="name">
- <button type="submit">Add attendee</button>
- </form>
+ <br>
+ {% if manage %}
+ <button>Save changes</button>
+ <br>
+ <br>
+ {% endif %}
+ </form>
+ <span class="q">Who?</span>
+ <br>
+ {% for name in event.get_invites() %}
+ &mdash; {{ name }}
+ <br>
+ {% endfor %}
+ {% if manage %}
+ <form method="POST" action="/symposium/event/{{ event.iden }}/join?password={{ event.password }}" class="join-form">
+ {% else %}
+ <form method="POST" action="/symposium/event/{{ event.iden }}/join" class="join-form">
+ {% endif %}
+ <input type="text" name="name">
+ <button type="submit">Add attendee</button>
+ </form>
</div>
</body>
</html>