-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
executable file
·76 lines (74 loc) · 1.38 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Save Telegram Chat History Options</title>
<style type="text/css">
td.visible{
border: 1px solid;
padding: 5px;
cursor: pointer;
}
.selected{
background-color: brown;
color: white;
}
code {
font-family: monospace;
}
#sampleOutput{
overflow-y: scroll;
min-width: 450px;
max-width: 450px;
min-height: 100px;
max-height: 100px;
background-color: lightgrey;
}
</style>
<script src="jquery-1.12.0.min.js"></script>
<script src="generic_tools.js"></script>
<script src="options.js"></script>
</head>
<body>
<h2>Save Telegram Chat History Options</h2>
<table>
<tr>
<td>
<table id="table"></table>
</td>
</tr>
<tr>
<td>
<button id="tryFormat">Try format</button>
</td>
</tr>
<tr>
<td colspan="2">
<textarea id="sampleOutput"> </textarea>
</td>
</tr>
<tr>
<td>
<button id="save">Save Preferences</button>
</td>
<td><div id="status"></div></td>
</tr>
<tr>
<td colspan="2">
<div><br/>
Hint:<br/>
<br/>
You can create your own formats. Check out the following special symbols:<br/>
<br/>
dt = Date-time of the message.<br/>
d = Date of the message.<br/>
t = Time of the message.<br/>
u = Sender's name.<br/>
m = Message body.<br/>
\n = New line.<br/>
\t = Tab character.<br/>
</div>
</td>
</tr>
</table>
</body>
</html>