Archived
1
0
Disbranĉigi 0

Auto-refresh chat-page

This commit is contained in:
Jaidyn Ann 2023-05-31 01:03:45 -05:00
parent 79e8b61ac3
commit 2029df1cfc
2 changed files with 3 additions and 2 deletions

View File

@ -5,12 +5,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/style.css" type="text/css">
<meta http-equiv="refresh" content="20">
</head>
<body>
<table>
{{LIST_ITEMS}}
</table>
<form method="post">
<form id="send" method="post">
<input name="message" />
<button>Send</button>
</form>

View File

@ -1,4 +1,4 @@
<a href="/room/{{ROOM_ID}}/">
<a href="/room/{{ROOM_ID}}/#send">
<div class="room-list-item" id="{{ROOM_ID}}">
<b>{{ROOM_TITLE}}</b>
<p>{{LAST_MESSAGE}}</p>