forked from zhuowei/hipster.house
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (44 loc) · 2.67 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap.min.css">
</head>
<body>
<div>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container">
<span class="navbar-text">Home</span>
</div>
</nav>
<div class="container">
<div style="display: none" id="maybe-banned" class="alert alert-secondary">Your phone number may be banned by Clubhouse. :(</div>
<div style="display: none" id="waitlist" class="alert alert-secondary">You're on Clubhouse's waitlist. You can still <span id="waitlist-username">set your username</span> and see the description of current rooms.</div>
<div>Welcome to hipster.house, a third party client for Clubhouse.</div>
<div id="you-can-join" style="display: none;">Currently, you can browse content, follow users and clubs, and join rooms as a listener.</div>
<div style="display: none" id="not-logged-in" class="alert alert-secondary">You're not logged in. You can still browse for rooms, topics, and users.<br>
Log in with your phone number to reserve your username, and if you have an invite, join rooms as a listener.</div>
<div id="login-button" style="display: none"><a href="/login.html" class="btn btn-secondary">Log in</a></div>
<div><a href="/update_username.html" class="btn btn-primary" id="set-username">Set username</a></div>
<div id="alltopics"><a href="/get_all_topics.html" class="btn btn-primary">All topics</a></div>
<div><a href="/get_channels.html" class="btn btn-primary">Current rooms</a></div>
<div id="searchbutton"><a href="/h2/search/user" class="btn btn-primary">Search</a></div>
<div><a href="#" id="yourprofile" class="btn btn-primary">Your profile</a></div>
<div id="invite-user" style="display: none"><a href="/h2/invite" class="btn btn-primary">Invite a user</a></div>
<div id="log-out"><a href="#" onclick="logOut()" class="btn btn-secondary">Log out</a></div>
<div id="join-channel" style="display: none">
<div>Join room with invite link:</div>
<div class="form-group">
<input id="channel-url" class="form-control" placeholder="https://www.joinclubhouse.com/room/example">
</div>
<button onclick="joinChannel()" class="btn btn-primary">Join</button>
</div>
<footer>
hipster.house: a terrible Clubhouse client by <a href="https://twitter.com/zhuowei">@zhuowei.</a> <a href="https://github.com/zhuowei/hipster.house">Fork on Github</a>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js"></script>
<script src="common.js"></script>
<script src="index.js"></script>
</body>
</html>