main.py
CHANGED
|
@@ -100,12 +100,12 @@ def index():
|
|
| 100 |
Script(src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"),
|
| 101 |
#Body(onload='load()'),
|
| 102 |
Form(hx_post=send, hx_target="#chatlist", hx_swap="beforeend")(
|
| 103 |
-
Div(id="chatlist", cls="chat-box h-[73vh] overflow-y-auto"),
|
| 104 |
Div(id='mapid'),
|
| 105 |
Div(cls="flex space-x-2 mt-2")(
|
| 106 |
Group(ChatInput(), Button("Send", cls="btn btn-primary"))
|
| 107 |
)
|
| 108 |
),
|
|
|
|
| 109 |
Script(js)
|
| 110 |
)
|
| 111 |
|
|
|
|
| 100 |
Script(src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"),
|
| 101 |
#Body(onload='load()'),
|
| 102 |
Form(hx_post=send, hx_target="#chatlist", hx_swap="beforeend")(
|
|
|
|
| 103 |
Div(id='mapid'),
|
| 104 |
Div(cls="flex space-x-2 mt-2")(
|
| 105 |
Group(ChatInput(), Button("Send", cls="btn btn-primary"))
|
| 106 |
)
|
| 107 |
),
|
| 108 |
+
Div(id="chatlist", cls="chat-box h-[73vh] overflow-y-auto"),
|
| 109 |
Script(js)
|
| 110 |
)
|
| 111 |
|