-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrt_preview_frame.html
216 lines (208 loc) · 7.52 KB
/
wrt_preview_frame.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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!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>Nokia WRT Preview</title>
<!-- jQuery-ui Begins -->
<link type="text/css" rel="stylesheet" href="preview/script/jquery-ui/css/ui-darkness/ui.all.css"/>
<script type="text/javascript" src="preview/script/jquery-ui/js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="preview/script/jquery-ui/js/jquery-ui-1.6.custom.min.js"></script>
<!-- jQuery-ui Ends -->
<script type="text/javascript" language="JavaScript" src="preview/script/xml2json.js"></script>
<script type="text/javascript" language="JavaScript" src="preview/script/nokia.js"></script>
<script type="text/javascript" language="JavaScript" src="preview/script/resolution.js"></script>
<link type="text/css" rel="stylesheet" href="preview/css/style.css"/>
</head>
<body>
<div id="preview-ui-top">
<div id="DeviceDisplayLayout" class="hide">
<div id="DisplaySFKWrapper">
<div id="DisplayArea">
<div id="IconArea"></div>
<div id="WidgetArea">
<div id="iframeMask" class="hide"></div>
<iframe src=""></iframe>
</div>
<div id="MenuItemsArea" class="scroll-pane">
<ul>
<li><a href="javascript:void(0);">Exit</a></li>
</ul>
</div>
<div id="SoftKeysArea">
<ul>
<li id="LskLabel"><a href="javascript:void(0);">Options</a></li>
<li id="RskLabel"><a href="javascript:void(0);">Exit</a></li>
</ul>
</div>
</div>
<div id="SoftKeys">
<a href="javascript:void(0);"><img src="preview/images/TransperantImage.png" name="LskArea" border="0" id="LskArea"/></a><a href="javascript:void(0);"><img src="preview/images/TransperantImage.png" name="RskArea" border="0" id="RskArea"/></a> </div>
</div>
</div>
<div id="Dialog" title="Notification window"></div>
<div id="PreferencesTab" class="hide">
<div id="tabs">
<ul>
<li><a href="#tabs-1">Preferences</a></li>
<li><a href="#tabs-2">Event Triggers</a></li>
</ul>
<div id="tabs-1">
<div id="settings-view">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<th>
Resolution
</th>
<td>
<select id="resOptions">
<option selected="true" value="http://www.forum.nokia.com/devices/matrix_240x320_1.html">240x320</option>
<option value="http://www.forum.nokia.com/devices/matrix_320x240_1.html">320x240</option>
<option value="http://www.forum.nokia.com/devices/matrix_360x640_1.html">360x640</option>
<option value="http://www.forum.nokia.com/devices/E90_Communicator">800x352</option>
</select> <a class="link" target="_blank" href="http://www.forum.nokia.com/devices/matrix_240x320_1.html" id="resSupportLink">Device matrix featuring this resolution</a>
</td>
</tr>
<tr>
<th>
Orientation
</th>
<td>
<div id="Orientation_Controls" class="hide">
<label><input type="radio" name="input_orientation" id="input_portrait" value="portrait"/> Portrait</label>
<label><input type="radio" name="input_orientation" id="input_landscape" value="landscape"/> Landscape</label>
</div>
<div id="Orientation_Info" class="hide">
</div>
</td>
</tr>
<tr>
<th>
WRT Version
</th>
<td>
<label><input type="radio" name="wrt_version" id="wrt_version_1_0" value="WRT 1.0"/> WRT 1.0</label>
<label><input type="radio" name="wrt_version" id="wrt_version_1_1" value="WRT 1.1"/> WRT 1.1</label>
</td>
</tr>
<tr>
<th>
Home Screen view
</th>
<td>
<div id="HS_Control_Info">
Hello
</div>
</td>
</tr>
</table>
</div>
<div id="mini-view-info" class="hide">
<div class="ui-panel">
<a class="ui-button" id="mini-view-back">Back</a>
</div>
<table cellpadding='0' cellspacing='0' width="100%">
<tr>
<th>To enable Mini view support for HomeScreen widget </th>
</tr>
<tr>
<td>
Add this line in Info.plist file
<code><key>MiniViewEnabled</key><br/><true/></code>
and optionally add the following to the MainHTML file
<code><div id="miniView"> <-- Define your Home Screen view here --> </div></code><br/>
See Web Developer's Library for <a class="link" href="http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-63F4E17E-8895-4054-82AD-762B90610B30.html" target="_blank">more details</a>
</td>
</tr>
</table>
</div>
</div>
<div id="tabs-2">
<div id="event-icons">
<div id="event-battery"></div>
<div id="event-messaging"></div>
<div id="event-memory"></div>
</div>
<div id="event-battery-info" class="hide">
<div class="ui-panel">
<a class="ui-button" id="event-battery-back">Back</a>
</div>
<table cellpadding='0' cellspacing='0' width="100%">
<tr>
<th colspan="2">Battery Triggers</th>
</tr>
<tr>
<td>Charging status</td>
<td>
<a class="ui-button-fixed" id="connect-charger">Connect charger</a>
<a class="ui-button-fixed" id="disconnect-charger">Disconnect charger</a>
</td>
</tr>
<tr>
<td>Battery Strength</td>
<td>
<div id="slider"></div>
<div id="slider-value-panel"><span>0</span></div>
<div><a class="ui-button-fixed" id="update-batter-strength">Update</a></div>
</td>
</tr>
</table>
</div>
<div id="event-messaging-info" class="hide">
<div class="ui-panel">
<a class="ui-button" id="event-messaging-back">Back</a>
</div>
<table cellpadding='0' cellspacing='0' width="100%">
<tr>
<th colspan="2">Message Triggers</th>
</tr>
<tr>
<td>New message</td>
<td>
<a class="ui-button-fixed" id="send-sms">Trigger new SMS</a>
<a class="ui-button-fixed" id="send-mms">Trigger new MMS</a>
</td>
</tr>
</table>
</div>
<div id="event-memory-info" class="hide">
<div class="ui-panel">
<a class="ui-button" id="event-memory-back">Back</a>
</div>
<table cellpadding='0' cellspacing='0' width="100%">
<tr>
<th colspan="2">Memory Triggers</th>
</tr>
<tr>
<td>Memory Card</td>
<td>
<a class="ui-button-fixed" id="connect-memory-card">Connect</a>
<a class="ui-button-fixed" id="disconnect-memory-card">Disconnect</a>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="preview-ui-bottom">
<div id="preview-ui-bottom-header">
<div>Console window</div>
<span class="open" id="Console-Toggle-Button"></span>
<span id="Console-Clear-Button"></span>
</div>
<div style="clear:left;"></div>
<div id="preview-ui-bottom-body">
</div>
</div>
<div id="PreferencesBtn" class="hide"></div>
<div id="orientationIcon"></div>
<div id="loaderDiv"></div>
<div id="NotificationDiv" class="hide">
<p>NOKIA WRT Simulation may not work properly on this browser, <br/>Firefox is recommended for widget preview and debugging. <br/><br/><strong>Continue?</strong></p>
</div>
<div id="BrowserNotificationBar" class="hide">
<p><a></a>NOKIA WRT Simulation may not work properly on this browser, Firefox is recommended for widget preview and debugging</p>
</div>
</body>
</html>