-
Notifications
You must be signed in to change notification settings - Fork 830
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (79 loc) · 4.04 KB
/
index.html
File metadata and controls
90 lines (79 loc) · 4.04 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WhatsApp Web</title>
<!-- stylesheets -->
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="lib/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="lib/jsonTree/jsonTree.css">
<link rel="stylesheet" href="css/main.css">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans:100,300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
<!-- scripts -->
<script type="text/javascript" src="lib/lodash/js/lodash.min.js"></script>
<script type="text/javascript" src="lib/jquery/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="lib/jquery-colResizable/js/jquery-colResizable-1.6.min.js"></script>
<script type="text/javascript" src="lib/bootstrap/js/bootstrap-3.3.7.min.js"></script>
<script type="text/javascript" src="lib/bootstrap/js/bootbox-4.4.0.min.js"></script>
<script type="text/javascript" src="lib/jsonTree/jsonTree.js"></script>
<script type="text/javascript" src="lib/moment/js/moment-2.20.1.min.js"></script>
<script type="text/javascript" src="js/UpdaterPromise.js"></script>
<script type="text/javascript" src="js/WebSocketClient.js"></script>
<script type="text/javascript" src="js/BootstrapStep.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
<script src="https://cdn.jsdelivr.net/npm/axios@0.22.0/dist/axios.min.js"></script>
</head>
<body>
<div id="bootstrap-container">
<h1>WhatsApp Web</h1>
<div id="bootstrap-container-content">
<button id="bootstrap-button" class="btn">Click to connect to API.</button>
<button id="restore-session" class="btn">Restore Session</button>
</div>
</div>
<div id="main-container" class="hidden">
<div id="main-container-heading">
<h1>WhatsApp Web</h1>
<button id="button-disconnect" class="btn">Disconnect</button>
</div>
<div id="main-container-content">
<table id="messages-list-table" class="table table-hover">
<thead class="thead">
<tr>
<th scope="col">#</th>
<th scope="col">Timestamp</th>
<th scope="col">Type</th>
<th scope="col" class="fill">JSON data</th>
</tr>
</thead>
<tbody id="messages-list-table-body"></tbody>
</table>
</div>
</div>
<div id="console-arrow">
<button id="console-arrow-button" class="btn">Statuses <i class="fa fa-angle-left" aria-hidden="true"></i></button>
</div>
<div id="console">
<div id="app">
<div class="statuses">
<h4>RECENT STATUSES</h4>
<div class="users-list" v-if="Object.keys(users).length > 0" >
<users-list
v-for="(value, key) in users"
v-bind:key="key"
v-bind:num="key"
v-bind:user="value"
v-bind:name="getNameByJid(key)"
></users-list>
</div>
<div v-else >{{statusInfo}}</div>
<full-view v-if="is_full_view" :user="getUserDataByJid(selected_user)" :num="selected_user" :media="getFirstMedia()" ></full-view>
</div>
</div>
</div>
</body>
</html>