SHAGRAM 1.0

This commit is contained in:
emil28092005
2026-01-13 01:07:56 +03:00
parent 04646192bc
commit 975aea12c9
8 changed files with 301 additions and 23 deletions
+8 -2
View File
@@ -21,13 +21,19 @@
}
input { padding: 8px; width: 300px; }
button { padding: 8px 15px; cursor: pointer; }
select { padding: 8px; width: 320px; } /* ← для комнат */
#roomsList { margin: 10px 0; }
</style>
</head>
<body>
<h1>📱 Shagram Chat</h1>
<div>
<input type="text" id="roomInput" placeholder="Room name" value="general">
<!-- ← НОВЫЙ БЛОК С КОМНАТАМИ -->
<div id="roomsList">
<select id="roomSelect">
<option value="general">general</option>
</select>
<button onclick="loadRooms()">🔄 Refresh</button>
<button onclick="connectRoom()">Connect</button>
</div>