Auto-refresh chat-page
This commit is contained in:
parent
79e8b61ac3
commit
2029df1cfc
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue