forked from developmentseed/slingshotSMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (102 loc) · 3.78 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
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
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title>SlingshotSMS</title>
<link rel='stylesheet' type='text/css' href='web/style.css' />
<link rel='stylesheet' type='text/css'
href='web/jquery-autocomplete/jquery.autocomplete.css' />
<script type='text/javascript' src='web/jquery.min.js'></script>
<script type='text/javascript'
src='web/jquery-autocomplete/jquery.autocomplete.pack.js'></script>
<script type='text/javascript' src='web/slingshot.js'></script>
<script type='text/javascript' src='web/message.js'></script>
<script type='text/javascript' src='web/page.js'></script>
</head>
<body>
<div id='wrapper'>
<div id='content'>
<div class='region'>
<div class='block'>
<h2 class='block-title'>
Compose
</h2>
<div class='block-content'>
<form id='compose_form' method='POST'>
<!-- TODO: 160 char countdown indicator -->
<label for='message_to'>To:</label>
<textarea name='message_to' id='message_to'></textarea>
<label for='message_text'>Text:</label>
<textarea name='message_text' id='message_text'></textarea>
<br />
<span id='message_chars'>
<span id='message_chars_remaining'></span> characters remaining
</span>
<br />
<input type='submit' value='Send' />
</form>
</div>
</div>
<div class='block'>
<h2 class='block-title'>
Messages <span class='block-title-sidenote' id='message_count'></span>
</h2>
<div class='block-content'>
<div id='message-list'>
</div>
<dl id='message-template' class='message' style='display: none;'>
<dt class='message-text'></dt>
<dd class='message-number'></dd>
</dl>
</div>
</div>
</div>
</div>
<div id='right'>
<div class='region'>
<div class='block'>
<h2 class='block-title'>
SlingshotSMS
</h2>
<div class='block-content'>
<p>Version 2,000 Goliath</p>
<span id='status'></span>
</div>
</div>
<div class='block'>
<h2 class='block-title'>
Contacts
</h2>
<div class='block-content'>
<form id='vcard_form' method='POST'
enctype='multipart/form-data' action='/import_vcard'>
<input type='file' name='vcard_file' value='vCard file' />
<input type='submit' value='Upload' />
</form>
<dl id='contact-template' class='contact' style='display: none;'>
<img src='null.png' class='contact-photo' />
<dt class='contact-name'></dt>
<dd class='contact-number'></dd>
</dl>
<div id='contact-list'>
</div>
<a href='/export_vcard'>vCard Export</a>
</div>
</div>
<div class='block'>
<h2 class='block-title'>
Actions
</h2>
<div class='block-content'>
<textarea name='action_text' id='action_text'></textarea>
<button id='add_action'>Add Action</button>
<ul id='action-list'>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
</html>