mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-25 06:01:17 -05:00
updated events
This commit is contained in:
parent
613429707b
commit
bf122af51f
|
@ -150,7 +150,7 @@ api_route! {
|
||||||
text: (Text, String, String),
|
text: (Text, String, String),
|
||||||
event_date: (Date, NaiveDate, DateForm),
|
event_date: (Date, NaiveDate, DateForm),
|
||||||
name: (Text, String, String),
|
name: (Text, String, String),
|
||||||
emails: (Text, String, String)
|
emails: (Text, String, String),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,15 @@
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="/static/style.css">
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body style = 'padding-right: 2%; padding-left: 2%'>
|
||||||
<h1 style='text-align: center; color: red'>Calendar Events</h1>
|
<h1 style='text-align: center; color: red'>Calendar Events</h1>
|
||||||
{{#each ctx}}
|
{{#each ctx}}
|
||||||
<div style='display: flex; border-width:3'>
|
<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}}</p>
|
<p>ID: {{id}}   LANG: {{lang}}   EVENT TITLE: {{title}}   EVENT LOCATION: {{location}}   EVNET INFO: {{text}}   EVENT DATE: {{event_date}}   TEACHER/ORGANIZER {{name}}   EMAIL {{emails}}</p>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<br>
|
<br>
|
||||||
<div style="display: flex; flex-direction: row; width: 100%; justify-content:space-between; padding-horizontal: 5%">
|
<div style="display: flex; flex-direction: row; width: 100%; justify-content:space-between;">
|
||||||
<div>
|
<div>
|
||||||
<h1>Add Calendar Event</h1>
|
<h1>Add Calendar Event</h1>
|
||||||
<form action="events/add" method="post">
|
<form action="events/add" method="post">
|
||||||
|
@ -30,7 +30,6 @@
|
||||||
<input type="text", id="name", name="name">
|
<input type="text", id="name", name="name">
|
||||||
<p>Teacher/Organizer Email</p>
|
<p>Teacher/Organizer Email</p>
|
||||||
<input type="text", id="emails", name="emails">
|
<input type="text", id="emails", name="emails">
|
||||||
<p></p>
|
|
||||||
<input type="submit", value="Submit">
|
<input type="submit", value="Submit">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,7 +48,7 @@
|
||||||
<form action="events/upd" method="post">
|
<form action="events/upd" method="post">
|
||||||
<p>ID of Event to be Updated</p>
|
<p>ID of Event to be Updated</p>
|
||||||
<input type="number", id="id", name="id">
|
<input type="number", id="id", name="id">
|
||||||
<p>Lang (enter 'en' (for english) or 'es' (for spanish)</p>
|
<p>Lang (enter 'en' (for english) or 'es' (for spanish))</p>
|
||||||
<input type="text", id="lang", name="lang">
|
<input type="text", id="lang", name="lang">
|
||||||
<p>Title</p>
|
<p>Title</p>
|
||||||
<input type="text", id="title", name="title">
|
<input type="text", id="title", name="title">
|
||||||
|
@ -73,3 +72,9 @@
|
||||||
</body>
|
</body>
|
||||||
</head>
|
</head>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
<!--<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>-_!>
|
Loading…
Reference in New Issue
Block a user