Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
356 lines (337 loc) · 13.3 KB
/
Copy pathindex.html
File metadata and controls
356 lines (337 loc) · 13.3 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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="pragma" content="no-cache">
<title>Messages</title>
<!-- Stable Building blocks -->
<link rel="stylesheet" type="text/css" href="shared/style/headers.css">
<link rel="stylesheet" type="text/css" href="shared/style/edit_mode.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/lists.css">
<!--
<link rel="stylesheet" type="text/css" href="shared/style/input_areas.css">
<link rel="stylesheet" type="text/css" href="shared/style/switches.css">
<link rel="stylesheet" type="text/css" href="shared/style/confirm.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/progress_activity.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/lists.css">
<link rel="stylesheet" type="text/css" href="shared/style/switches.css">
<link rel="stylesheet" type="text/css" href="shared/style/confirm.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/progress_activity.css">
<link rel="stylesheet" type="text/css" href="/shared/style/action_menu.css">
-->
<!-- App styles -->
<link rel="stylesheet" type="text/css" href="style/root.css">
<link rel="stylesheet" type="text/css" href="style/common.css">
<link rel="stylesheet" type="text/css" href="style/sms.css">
<link rel="stylesheet" type="text/css" href="style/attachment.css">
<!-- Localization -->
<link rel="resource" type="application/l10n" href="locales/locales.ini">
<link rel="resource" type="application/l10n" href="shared/locales/date.ini">
<!-- Shared code -->
<script defer src="shared/js/l10n.js"></script>
<!--
<script defer src="shared/js/l10n_date.js"></script>
<script defer src="shared/js/async_storage.js"></script>
<script defer src="shared/js/notification_helper.js"></script>
<script defer src="shared/js/gesture_detector.js"></script>
<script defer src="shared/js/settings_url.js"></script>
<script defer src="shared/js/template.js"></script>
<script defer src="shared/js/mime_mapper.js"></script>
-->
<script defer src="shared/js/lazy_loader.js"></script>
<script defer src="js/startup.js"></script>
</head>
<body role="application">
<article id="main-wrapper" class="wrapper">
<header class="view-header regular-header">
<menu type="toolbar">
<a href="#new" id="icon-add">
<span class="icon icon-compose"></span>
</a>
<a id="threads-edit-icon">
<span class="icon icon-edit"></span>
</a>
</menu>
<h1 data-l10n-id="messages">Messages</h1>
</header>
<article id="threads-container" class="view-body" data-type="list">
</article>
<div id="threads-header-container" class="fixed-title no-fixed-header"></div>
<div id="threads-no-messages" class="hide">
<div id="no-result-message">
<p data-l10n-id="noMessages-title">No messages</p>
<p data-l10n-id="noMessages-text">Start communicating now</p>
</div>
</div>
<form id="threads-edit-form" role="dialog" data-type="edit">
<section>
<header>
<button id="threads-cancel-button">
<span data-l10n-id="cancel" class="icon icon-close">close</span>
</button>
<menu type="toolbar">
<button id="threads-delete-button" data-l10n-id="delete">delete</button>
</menu>
<h1 id="threads-edit-mode" data-l10n-id="editMode">Edit mode</h1>
</header>
</section>
<menu>
<button id="threads-uncheck-all-button" disabled class="edit-button" data-l10n-id="deselect-all">
None
</button>
<button id="threads-check-all-button" class="edit-button" data-l10n-id="select-all">
All
</button>
</menu>
</form>
</section>
<section id="thread-messages" class="panel" role="region">
<header class="view-header regular-header">
<a role="link" id="messages-back-button">
<span class="icon icon-back"></span>
</a>
<menu type="toolbar">
<a id="messages-edit-icon">
<span class="icon icon-edit"></span>
</a>
</menu>
<h1 id="messages-header-text" aria-hidden="true"></h1>
</header>
<div id="messages-subheader" class="subheader">
<section id="messages-to-field">
<section data-l10n-id="to" id="to-label">
To:
</section>
<menu type="toolbar">
<a id="messages-contact-pick-button">
<span class="icon icon-user"></span>
</a>
</menu>
<!-- When overflow occurs in the recipients list, scrolling is
commonly triggered automatically through focus and keyboard events.
In these cases, white space described by CSS `padding-bottom` will
not be automatically scrolled into view (because the element will
only scroll far enough to bring the cursor into view). A container
element is necessary to consistently render this vertical space
(instead realized with CSS `margin-bottom`). -->
<div id="messages-recipients-list-container">
<section id="messages-recipients-list" class="singleline">
</section>
</div>
</section>
<div id="contact-carrier" data-l10n-id="carrier-unknown" class="carrier-wrapper">
Carrier unknown
</div>
<!-- Notifications in this container will be rendered on top of the
Compose field. These notifications should be hidden automatically so
they do not prevent the user from inputting text. -->
<div class="overlay">
<section id="messages-max-length-notice"
role="notification"
class="hide">
<p></p>
</section>
<section id="messages-convert-notice"
role="notification"
class="hide">
<p></p>
</section>
<section id="messages-resize-notice"
role="notification"
class="hide">
<p data-l10n-id="resize-image">Resizing the attached image</p>
</section>
</div>
</div>
<article id="messages-container" class="view-body article-list" data-type="list">
</article>
<article id="messages-participants" class="view-body article-list hide" data-type="list">
<ul id="messages-participants-list" class="contact-list"></ul>
</article>
<form role="search" id="messages-compose-form" class="bottom messages-compose-form" data-message-type="sms">
<button id="messages-attach-button" class="icon icon-attachment">Attachment</button>
<button id="messages-send-button" disabled data-l10n-id="send" type="submit">Send</button>
<!-- The <br> is needed because of 414223, which is a WONTFIX. It's just because of how contentEditable works. https://bugzilla.mozilla.org/show_bug.cgi?id=414223 -->
<div id="messages-input" contentEditable="true" name="message"
data-l10n-id="composeMessage" x-inputmode="-moz-sms"><br></div>
</form>
<form role="d
8000
ialog" id="messages-edit-form" role="dialog" data-type="edit" >
<section>
<header>
<button id="messages-cancel-button">
<span data-l10n-id="cancel" class="icon icon-close">close</span>
</button>
<menu type="toolbar">
<button id="messages-delete-button" data-l10n-id="delete">delete</button>
</menu>
<h1 id="messages-edit-mode" data-l10n-id="editMode">Edit mode</h1>
</header>
</section>
<menu>
<button id="messages-uncheck-all-button" disabled class="edit-button" data-l10n-id="deselect-all">
None
</button>
<button id="messages-check-all-button" class="edit-button" data-l10n-id="select-all">
All
</button>
</menu>
</form>
</section>
</article>
<article id="loading">
<form role="dialog" data-type="confirm" class="loading-container">
<section>
<p class="loading-header" data-l10n-id="deleting-messages">Deleting messages...</p>
<div role="status">
<progress class="small"></progress>
</div>
</section>
</form>
</article>
<menu id="attachment-options-menu" class="hide" tabindex="-1">
<div>
<form id="attachment-options" role="dialog" data-type="action">
<header></header>
<menu>
<button id="attachment-options-view"></button>
<button id="attachment-options-remove"></button>
<button id="attachment-options-replace"></button>
<button id="attachment-options-cancel" data-l10n-id="cancel"></button>
</menu>
</form>
</div>
</menu>
<!--
- Templates
-->
<div id="messages-contact-tmpl" class="hide">
<!--
<a class="suggestion"
data-number="${number}" data-source="contacts" data-name="${name}"
data-type="${type}" data-separator="${separator}" data-carrier="${carrier}">
${photoHTML}
<p class="name">${nameHTML}</p>
<p class="number">
<span data-l10n-id="${type}">${type}</span>${separator}${carrier}${numberHTML}
</p>
</a>
-->
</div>
<div id="messages-contact-photo-tmpl" class="hide">
<!--
<aside class="pack-end">
<img src="${photoURL}">
</aside>
-->
</div>
<div id="messages-number-tmpl" class="hide">
<!--
<a class="suggestion" data-number="${number}" data-source="manual" data-name="${number}">
<p class="name">${number}</p>
</a>
-->
</div>
<div id="messages-not-downloaded-tmpl" class="hide">
<!--
<span class="not-downloaded-message"
data-l10n-id="${messageL10nId}"
data-l10n-args="${messageL10nArgs}"
data-l10n-date="${messageL10nDate}"
data-l10n-date-format="${messageL10nDateFormat}"></span>
<form><button class="download" data-l10n-id="${downloadL10nId}"></button></form>
-->
</div>
<div id="messages-highlight-tmpl" class="hide">
<!--
<span class="highlight">${str}</span>
-->
</div>
<div id="messages-message-tmpl" class="hide">
<!--
<label class="pack-checkbox danger">
<input type="checkbox" value="${id}">
<span></span>
</label>
<section class="bubble">
<aside class="pack-end">
<progress></progress>
</aside>
<p>${bodyHTML}</p>
</section>
-->
</div>
<div id="messages-thread-tmpl" class="hide">
<!--
<label class="pack-checkbox danger">
<input type="checkbox" value="${id}">
<span></span>
</label>
<a href="#thread=${id}">
<aside class="icon icon-unread">unread</aside>
75D4
<aside class="pack-end">
<img src="">
</aside>
<p class="name">${number}</p>
<p>
<time>${formattedDate}</time>
<span class="mms-icon">MMS</span>
<span class="body-text">${bodyHTML}</span>
</p>
</a>
-->
</div>
<div id="messages-recipient-tmpl" class="hide">
<!--
<span class="${className}" x-inputmode="verbatim"
contenteditable="${editable}"
data-number="${number}" data-source="${source}" data-name="${name}"
data-carrier="${carrier}" data-separator="${separator}" data-type="${type}">
${name}
</span>
-->
</div>
<div id="attachment-nopreview-tmpl" class="hide">
<!--
<div class="attachment">
<div class="thumbnail-placeholder ${type}-placeholder">
<div class="${errorClass}"></div>
</div>
<div class="size-indicator" data-l10n-id="${sizeL10nId}" data-l10n-args="${sizeL10nArgs}"></div>
</div>
<div class="file-name">${fileName}</div>
-->
</div>
<div id="attachment-preview-tmpl" class="hide">
<!--
<div class="attachment">
<div class="thumbnail" style="background-image: url(${imgData})"></div>
<div class="size-indicator" data-l10n-id="${sizeL10nId}" data-l10n-args="${sizeL10nArgs}"></div>
</div>
<div class="file-name">${fileName}</div>
-->
</div>
<div id="attachment-draft-tmpl" class="hide">
<!--
<head>
<meta charset="utf-8">
<base href="${baseURL}">
<style type="text/css">
html, body { font-size: 10px; }
</style>
<link rel="stylesheet" type="text/css" href="style/attachment.css">
</head>
<body class="attachment-draft ${previewClass}">
${attachmentHTML}
</body>
-->
</div>
<div id="height-rule-tmpl" class="hide">
<!--
#messages-recipients-list.multiline {
max-height: ${height}px;
}
-->
</div>
</body>
</html>