diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css index b8b7f64..9d51f45 100644 --- a/themes/alps/assets/style.css +++ b/themes/alps/assets/style.css @@ -85,6 +85,9 @@ input[type="text"], input[type="email"], input[type="password"], input[type="file"], +input[type="number"], +input[type="date"], +input[type="time"], textarea { margin: 0; border: none; @@ -188,13 +191,17 @@ main table td a { text-decoration: none; } main table td a:hover { text-decoration: underline; } -main.message table { background-color: white; } -main.message th { width: 5%;} -main.message h1 { font-size: 1.2rem; padding: 0.5rem;} +main.message table, +main.event table { background-color: white; } +main.message th, +main.event th { width: 5%;} +main.message h1, +main.event h1 { font-size: 1.2rem; padding: 0.5rem;} main.message pre, main.message iframe, -main.contact .details { +main.contact .details, +main.event pre { flex: 1 auto; padding: 1rem; margin: 0.3rem 0 0 0; @@ -203,7 +210,8 @@ main.contact .details { max-width: 100%; } -main.message pre { +main.message pre, +main.event pre { white-space: pre-wrap; word-break: break-all; } @@ -250,6 +258,18 @@ main.create-update .actions > *:not(:last-child) { margin-right: 1rem; } +main.create-update .event-date { + display: flex; + flex-direction: row; + align-items: center; +} + +main.create-update .event-date input { + width: inherit; + flex-grow: 1; + margin-left: 0.3rem; +} + .actions h3 { align-self: center; margin: 0 1.3rem 0 1rem; diff --git a/themes/alps/event.html b/themes/alps/event.html new file mode 100644 index 0000000..52b7fa4 --- /dev/null +++ b/themes/alps/event.html @@ -0,0 +1,59 @@ +{{template "head.html" .}} +{{template "nav.html" .}} + +
+ + +
+
+
+
+
+
+ « Back +
+
+ Edit +
+
+ +
+ +
+
+
+ +
+ {{$event := index .Event.Data.Events 0}} + + + + + + + + + + + + + +
+

{{$event.Props.Text "SUMMARY"}}

+
Start date:{{$event.DateTimeStart nil | formatdate}}
End date:{{$event.DateTimeEnd nil | formatdate}}
+
{{$event.Props.Text "DESCRIPTION"}}
+
+
+
+
+ +{{template "foot.html"}} diff --git a/themes/alps/update-event.html b/themes/alps/update-event.html index 7e7c1eb..17c6e16 100644 --- a/themes/alps/update-event.html +++ b/themes/alps/update-event.html @@ -21,15 +21,16 @@ -