Start on layout
This commit is contained in:
parent
049a8d0d70
commit
d4b551dc1a
|
@ -11,3 +11,14 @@ body {
|
||||||
border: #CCC 1px solid;
|
border: #CCC 1px solid;
|
||||||
border-radius: 0.2em;
|
border-radius: 0.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
|
||||||
|
#hello {
|
||||||
|
grid-column: 1 / 3;
|
||||||
|
}
|
||||||
|
#h-day, #h-time, #h-place {
|
||||||
|
grid-column: 1 / 3;
|
||||||
|
}
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
<link rel="stylesheet" href="/static/style.css">
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>Hallo, {{ session.user.email }}!</p>
|
<p id="hello">Hallo, {{ session.user.email }}!</p>
|
||||||
<p>
|
<h1>
|
||||||
{{ meet.title }}
|
{{ meet.title }}
|
||||||
</p>
|
</h1>
|
||||||
<p>
|
<h2 id="h-day">
|
||||||
An welchem Tag?
|
An welchem Tag?
|
||||||
</p>
|
</h2>
|
||||||
<form class="sortable" hx-post="/vote/date" hx-trigger="end">
|
<form id="v-day" class="sortable" hx-post="/vote/date" hx-trigger="end">
|
||||||
{% for d in dates %}
|
{% for d in dates %}
|
||||||
<div class="sort-item">
|
<div class="sort-item">
|
||||||
{{ d.display or d.date }}
|
{{ d.display or d.date }}
|
||||||
|
@ -23,10 +23,12 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</form>
|
</form>
|
||||||
<p>
|
<div id="r-day">
|
||||||
|
</div>
|
||||||
|
<h2 id="h-time">
|
||||||
Zu welcher Zeit?
|
Zu welcher Zeit?
|
||||||
</p>
|
</h2>
|
||||||
<form class="sortable" hx-post="/vote/time" hx-trigger="end">
|
<form id="v-time" class="sortable" hx-post="/vote/time" hx-trigger="end">
|
||||||
{% for d in times %}
|
{% for d in times %}
|
||||||
<div class="sort-item">
|
<div class="sort-item">
|
||||||
{{ d.display or d.time }}
|
{{ d.display or d.time }}
|
||||||
|
@ -34,10 +36,12 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</form>
|
</form>
|
||||||
<p>
|
<div id="r-time">
|
||||||
|
</div>
|
||||||
|
<h2 id="h-place">
|
||||||
An welchem Ort?
|
An welchem Ort?
|
||||||
</p>
|
</h2>
|
||||||
<form class="sortable" hx-post="/vote/place" hx-trigger="end">
|
<form id="v-place" class="sortable" hx-post="/vote/place" hx-trigger="end">
|
||||||
{% for d in places %}
|
{% for d in places %}
|
||||||
<div class="sort-item">
|
<div class="sort-item">
|
||||||
{{ d.name }}
|
{{ d.name }}
|
||||||
|
@ -45,6 +49,8 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</form>
|
</form>
|
||||||
|
<div id="r-place">
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
htmx.onLoad(function(content) {
|
htmx.onLoad(function(content) {
|
||||||
|
|
Loading…
Reference in New Issue