-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdevices.html
192 lines (188 loc) · 10.5 KB
/
devices.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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Join</title>
<script src="./foreground_page_setup.js"></script>
<script src="./cross_context.js"></script>
<script src="./background_page_emulation.js"></script>
<script src="js/base/constants.js"></script>
<script src="js/base/dialog/dialog.js"></script>
<script src="js/base/extensions.js"></script>
<script src="js/base/utilsobject.js"></script>
<script src="js/base/utilsdom.js"></script>
<script src="js/base/utilsbadge.js"></script>
<script src="js/base/utilsdevices.js"></script>
<script src="js/base/web.js"></script>
<!--<script src="js/base/eventBus.js"></script>-->
<script src="js/base/googleDriveManager.js"></script>
<script src="js/base/fileUploadProviderFactory.js"></script>
<script src="utils.js"></script>
<script src="js/base/eventBusCrossContext.js"></script>
<script src="js/base/utilsvoice.js"></script>
<script src="js/utilssms.js"></script>
<script src="js/devicecommands.js"></script>
<script src="js/taskercommands.js"></script>
<script src="js/deviceImages.js"></script>
<link type="text/css" rel="stylesheet" href="materialize/css/materialize.min.css" media="screen,projection" />
<link type="text/css" themesheet rel="stylesheet" href="base_styles.css" />
<link type="text/css" themesheet rel="stylesheet" href="global_styles.css" />
<!--<link rel="stylesheet" href="js/emoji/emojionearea.min.css">
<script type="text/javascript" src="js/emoji/jquery.min.js"></script>
<script type="text/javascript" src="js/emoji/jquery.textcomplete.min.js"></script>
<script type="text/javascript" src="js/emoji/emojione.min.js"></script>
<script type="text/javascript" src="js/emoji/emojionearea.min.js"></script>-->
<script src="/js/base/dexie.js"></script>
<script type="module" src="/appv2.js"></script>
</head>
<body>
<div id="topbar">
<img id="usericon" />
<div id="topBarText"><b>Check the <a id="optionslink" href="#">options</a> for keyboard shortcuts and more</b></div>
</div>
<div id="tabscontainer" class="tabselement">
<div id="tabs" class="tabselement">
<div id="tab-devices" class="tab waves-effect waves-light">
<div class="tabIcon">
<p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z" />
</svg></p>
</div>
</div>
<div id="tab-notifications" class="tab waves-effect waves-light">
<div class="tabIcon">
<p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z" />
</svg></p>
</div>
</div>
<div id="tab-sms" class="tab waves-effect waves-light">
<div class="tabIcon">
<p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7zm8 0h2v2h-2zm-4 0h2v2h-2z" />
</svg></p>
</div>
</div>
<div id="tab-media" class="hidden tab waves-effect waves-light">
<div class="tabIcon">
<p>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24">
<path d="M12 3V13.55C11.41 13.21 10.73 13 10 13C7.79 13 6 14.79 6 17S7.79 21 10 21 14 19.21 14 17V7H18V3H12Z"></path>
</svg>
</p>
</div>
</div>
<div id="tab-filebrowser" class="hidden tab waves-effect waves-light">
<div class="tabIcon">
<p>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24">
<path d="M16 0H8C6.9 0 6 .9 6 2V18C6 19.1 6.9 20 8 20H20C21.1 20 22 19.1 22 18V6L16 0M20 18H8V2H15V7H20V18M4 4V22H20V24H4C2.9 24 2 23.1 2 22V4H4Z"></path>
</svg>
</p>
</div>
</div>
</div>
<div id="tools tab" class="tabselement">
<div id="refresh" class="tab waves-effect waves-light"><svg class="tabIcon" id="topBarRefresh" title="Refresh" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path id="topBarRefresh" fill="none" d="M0 0h24v24H0V0z" />
<path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" />
</div>
<div id="popout" class="tab"><svg class="tabIcon" id="topBarPopout" title="Popout" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" />
</div>
<div id="settings" class="tab"><svg class="tabIcon" id="settings" title="Settings" xmlns="https://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="w2DTdc">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
</div>
</div>
</div>
<div id="currenttabtitle" class="tabselement"></div>
<div id="notifications"></div>
<div id="sms">
<div id="smstitlecontainer" class="card">
<div id="smsback"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg></div><img id="contactpictureconversation" src="icons/contact_white.png" />
<div id="smstitle"></div>
</div>
<div class="fixed-action-btn" id="newsmsbutton">
<a class="btn-floating btn-large">
<div id="newsmscall">+</div>
</a>
<ul>
<li><a class="btn-floating">
<div id="newcallbuttonicon"></div>
</a></li>
<li><a class="btn-floating">
<div id="newsmsbuttonicon"></div>
</a></li>
</ul>
</div>
<div id="contactfindcontainer" class="input-field col s6">
<input placeholder="Search for contact" type="text" class="validate" id="contactfindinput" />
</div>
<div id="smscontainer"></div>
<div id="smssendcontainer" class="input-field col s6">
<div id="dropzonemms" class="dropzone hidden">
<div class="small">Drop files here</div>
</div>
<div id="mmsextras" class="hidden">
<textarea placeholder="Subject" type="text" class="validate materialize-textarea" id="smssubject"></textarea>
<input type="checkbox" id="smsurgent" />
<div id="smsurgenttext">Urgent</div>
</div>
<div id="smsattachment">
<svg id="smsattachmentimage" class="waves-effect" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24">
<path d="M18 20H4V6h9V4H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2v9zm-7.79-3.17l-1.96-2.36L5.5 18h11l-3.54-4.71zM20 4V1h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V6h3V4h-3z" />
</svg>
<div id="smsattachmentimagepreview" class="hidden">
<img id="smsattachmentimagepreviewimage" />
<svg id="smsattachmentimagepreviewdelete" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
<g>
<path style="fill:#F78F8F;" d="M20,38.5C9.799,38.5,1.5,30.201,1.5,20S9.799,1.5,20,1.5S38.5,9.799,38.5,20S30.201,38.5,20,38.5z"></path>
<path style="fill:#C74343;" d="M20,2c9.925,0,18,8.075,18,18s-8.075,18-18,18S2,29.925,2,20S10.075,2,20,2 M20,1
C9.507,1,1,9.507,1,20s8.507,19,19,19s19-8.507,19-19S30.493,1,20,1L20,1z"></path>
</g>
<rect x="18.5" y="10" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 20 48.2843)" style="fill:#FFFFFF;" width="3" height="20"></rect>
<rect x="18.5" y="10" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.2843 20)" style="fill:#FFFFFF;" width="3" height="20"></rect>
</svg>
</div>
<img id="smsattachmentimageloading" src="/icons/loading.gif" class="hidden" />
<div id="smsemoji" class="waves-effect"><svg xmlns="https://www.w3.org/2000/svg" width="24" height="24">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path>
</svg></div>
</div>
<textarea placeholder="Send message" type="text" class="validate materialize-textarea" id="smsinput"></textarea>
<div id="smssend" class="waves-effect" title="Long-click for Subject">
<svg width="24" height="24" xmlns="https://www.w3.org/2000/svg" class="IncFS qCxpV">
<path d="M5.374 19.893l14.538-6.19C20.604 13.392 21 12.67 21 12.05c0-.722-.396-1.341-1.088-1.65L5.374 4.208C4.286 3.59 3 4.416 3 5.757V8.44c0 .928.593 1.65 1.484 1.754.989.103 9.79 1.754 9.79 1.754s-8.801 1.651-9.79 1.754c-.89.103-1.484.929-1.484 1.754v2.683c0 1.341 1.286 2.167 2.374 1.754z"></path>
</svg>
</div>
</div>
</div>
<div id="devices"></div>
<div id="media"></div>
<div id="filebrowser"></div>
<div id="dropzonedevices" class="dropzone hidden">
<div>Drop files here</div>
</div>
<input type="file" id="uploadfile" style="display:none;" multiple />
<script type="text/javascript" src="materialize/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="materialize/js/materialize.min.js"></script>
<script src="js/deviceui.js"></script>
<script defer src="devices.js"></script>
<script src="js/gcm.js"></script>
<script src="js/gcmmulti.js"></script>
<script src="js/base/deviceIdsAndDirectDevices.js"></script>
<script src="v2/api/fcmLegacyToV1Converter.js"></script>
<script defer src="js/base/semaphore.js"></script>
<script defer src="js/base/utilsdb.js"></script>
<script defer src="notifications.js"></script>
<script defer src="js/sms.js"></script>
</html>