2021-09-08 21:41:34 -04:00
|
|
|
{{! vim: set ft=html: }}
|
2021-08-29 14:59:11 -04:00
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
|
|
</head>
|
2021-09-10 18:17:44 -04:00
|
|
|
<body style = 'padding-right: 2%; padding-left: 2%'>
|
2021-09-08 23:50:20 -04:00
|
|
|
<h1 style='text-align: center; color: red'>Calendar Events</h1>
|
2021-09-08 21:41:34 -04:00
|
|
|
{{#each ctx}}
|
2021-09-10 18:17:44 -04:00
|
|
|
<div style='display: flex; border: 5px solid black'>
|
|
|
|
<p>ID: {{id}}   LANG: {{lang}}   EVENT TITLE: {{title}}   EVENT LOCATION: {{location}}   EVNET INFO: {{text}}   EVENT DATE: {{event_date}}   TEACHER/ORGANIZER {{name}}   EMAIL {{emails}}</p>
|
2021-09-08 23:50:20 -04:00
|
|
|
</div>
|
2021-09-08 21:41:34 -04:00
|
|
|
{{/each}}
|
2021-08-29 14:59:11 -04:00
|
|
|
<br>
|
2021-09-10 18:17:44 -04:00
|
|
|
<div style="display: flex; flex-direction: row; width: 100%; justify-content:space-between;">
|
2021-09-08 23:50:20 -04:00
|
|
|
<div>
|
|
|
|
<h1>Add Calendar Event</h1>
|
|
|
|
<form action="events/add" method="post">
|
|
|
|
<p>Lang (enter 'en' (for english) or 'es' (for spanish))</p>
|
|
|
|
<input type="text", id="lang", name="lang">
|
|
|
|
<p>Title</p>
|
|
|
|
<input type="text", id="title", name="title">
|
|
|
|
<p>Location</p>
|
|
|
|
<input type="text", id="location", name="location">
|
|
|
|
<p>Information</p>
|
|
|
|
<input type="text", id="text", name="text">
|
|
|
|
<p>Date</p>
|
|
|
|
<input type="text", id="event_date", name="event_date">
|
|
|
|
<p>Teacher/Organizer </p>
|
|
|
|
<input type="text", id="name", name="name">
|
|
|
|
<p>Teacher/Organizer Email</p>
|
|
|
|
<input type="text", id="emails", name="emails">
|
|
|
|
<input type="submit", value="Submit">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<h1>Delete Calendar Event</h1>
|
|
|
|
<form action="events/del" method="post">
|
|
|
|
<p>Enter the ID of event to delete: </p>
|
|
|
|
<input type="number", id="id", name="id">
|
|
|
|
<input type="submit", value="Submit">
|
|
|
|
</form>
|
|
|
|
</div>
|
2021-09-08 21:41:34 -04:00
|
|
|
|
2021-09-08 23:50:20 -04:00
|
|
|
<div>
|
|
|
|
<h1>Update Calendar Event</h1>
|
|
|
|
<form action="events/upd" method="post">
|
|
|
|
<p>ID of Event to be Updated</p>
|
|
|
|
<input type="number", id="id", name="id">
|
2021-09-10 18:17:44 -04:00
|
|
|
<p>Lang (enter 'en' (for english) or 'es' (for spanish))</p>
|
2021-09-08 23:50:20 -04:00
|
|
|
<input type="text", id="lang", name="lang">
|
|
|
|
<p>Title</p>
|
|
|
|
<input type="text", id="title", name="title">
|
|
|
|
<p>Location</p>
|
|
|
|
<input type="text", id="location", name="location">
|
|
|
|
<p>Information</p>
|
|
|
|
<input type="text", id="text", name="text">
|
|
|
|
<p>Date</p>
|
|
|
|
<input type="text", id="event_date", name="event_date">
|
|
|
|
<p>Teacher/Organizer </p>
|
|
|
|
<input type="text", id="name", name="name">
|
|
|
|
<p>Teacher/Organizer Email</p>
|
|
|
|
<input type="text", id="emails", name="emails">
|
|
|
|
<p></p>
|
|
|
|
<input type="submit", value="Submit">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-09-08 21:41:34 -04:00
|
|
|
|
2021-08-29 14:59:11 -04:00
|
|
|
</body>
|
|
|
|
</head>
|
|
|
|
</html>
|
2021-09-10 18:17:44 -04:00
|
|
|
|
|
|
|
<!--<p>Teacher/Organizer </p>
|
|
|
|
<input type="text", id="name", name="name">
|
|
|
|
<p>Teacher/Organizer Email</p>
|
|
|
|
<input type="text", id="emails", name="emails">
|
|
|
|
<p></p>-_!>
|