forked from mboinet/ttrss-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
179 lines (166 loc) · 6.87 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
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
<!DOCTYPE html>
<html>
<head>
<title>Reader</title>
<meta name="viewport" content="initial-scale=1">
<meta charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="style/main.css">
<script data-main="scripts/main" src="scripts/lib/require.js"></script>
<!-- iPhone -->
<link rel="apple-touch-icon"
href="touch-icon-iphone.png" />
<link rel="apple-touch-startup-image"
href="touch-startup-image-320x460.png"
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)">
<!-- iPhone retina -->
<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone-retina.png" />
<!-- iPhone 4/4S -->
<link rel="apple-touch-startup-image"
href="touch-startup-image-640x920.png"
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)">
<!-- iPhone 5 -->
<link rel="apple-touch-startup-image"
href="touch-startup-image-640x1096.png"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)">
</head>
<body>
<div data-role="page" id="categories" data-title="Reader - Categories">
<div data-role="header" data-position="fixed">
<a href="#settings" data-role="button" data-mini="true"
class="ui-btn-left" data-icon="gear"
data-theme="b">Settings</a>
<h1>Categories</h1>
<a href="#catPopupMenu" data-role="button" data-mini="true"
class="ui-btn-right" data-icon="bars"
data-theme="b" data-rel="popup">Menu</a>
</div>
<div data-role="content">
<ul data-role="listview">
</ul>
</div>
<div id="catPopupMenu" data-role="popup"
data-transition="pop" data-tolerance="34,5,0,0">
<ul data-role="listview" data-inset="true" data-theme="b">
<li data-icon="refresh"><a href="#" class="refreshButton">Refresh</a></li>
<li data-icon="delete"><a href="#" class="logoutButton">Logout</a></li>
</ul>
</div>
</div>
<div data-role="page" id="login" data-title="Reader - Login">
<div data-role="header">
<h1>Reader - Login</h1>
</div>
<div data-role="content">
<form action="#" method="POST" data-ajax="false">
<div data-role="fieldcontain">
<label for="loginInput">Login:</label>
<input type="text" name="login" id="loginInput" value=""
autocapitalize="none" autocorrect="off" />
</div>
<div data-role="fieldcontain">
<label for="passwordInput">Password:</label>
<input type="password" name="password" id="passwordInput" value="" />
</div>
<button type="submit" data-theme="b">Login</button>
</form>
</div>
</div>
<div data-role="page" id="feeds" data-title="Reader - Feeds">
<div data-role="header" data-position="fixed">
<a href="#" data-role="button"
data-icon="back"
data-mini="true" class="ui-btn-left backButton">Back</a>
<h1>Category</h1>
<a data-rel="popup" href="#feedsMenuPopup" data-role="button"
data-mini="true" class="ui-btn-right"
data-icon="bars" data-theme="b">Menu</a>
</div>
<div data-role="content">
<ul data-role="listview">
</ul>
</div>
<div id="feedsMenuPopup" data-role="popup" data-history="false"
data-transition="pop" data-tolerance="34,5,0,0">
<ul data-role="listview" data-inset="true" data-theme="b">
<li data-icon="refresh"><a href="#" class="refreshButton">Refresh</a></li>
<li data-icon="delete"><a href="#" class="logoutButton">Logout</a></li>
</ul>
</div>
</div><!-- Page #feeds -->
<div data-role="page" id="articles" data-title="Reader - Articles">
<div data-role="header" data-position="fixed">
<a href="#categories" data-role="button"
data-icon="back"
data-mini="true" class="ui-btn-left backButton">Back</a>
<h1>Feed</h1>
<a href="#artMenuPopup" data-role="button" data-mini="true"
class="ui-btn-right" data-icon="bars"
data-theme="b" data-rel="popup">Menu</a>
</div>
<div data-role="content">
<ul data-role="listview">
</ul>
</div>
<div id="artMenuPopup" data-role="popup" data-history="false"
data-transition="pop" data-tolerance="34,5,0,0">
<ul data-role="listview" data-inset="true" data-theme="b">
<li data-icon="refresh"><a href="#" class="refreshButton">Refresh</a></li>
<li data-icon="check"><a href="#" class="toggleUnreadButton">Mark all as read</a></li>
<li data-icon="delete"><a href="#" class="logoutButton">Logout</a></li>
</ul>
</div>
</div>
<div data-role="page" id="read" data-add-back-btn="true" data-title="Reader - Article">
<div data-role="header">
<a href="#categories" data-role="button"
data-icon="back"
data-mini="true" class="ui-btn-left backButton">Back</a>
<h1></h1>
<a href="#readPopupMenu" data-role="button" data-mini="true"
class="ui-btn-right" data-icon="bars"
data-theme="b" data-rel="popup">Menu</a>
</div><!-- header -->
<div data-role="content">
<div class="header">
<h3><a href="" target="_blank"></a></h3>
<p class="feed">Feed: <span></span></p>
<p class="updateTime">Updated: <span></span></p>
</div>
<div class="main">
</div>
</div>
<div id="readPopupMenu" data-role="popup" data-history="false"
data-transition="pop" data-tolerance="34,5,0,0">
<ul data-role="listview" data-inset="true" data-theme="b">
<li data-icon="check"><a href="#" class="toggleUnreadButton">Mark as unread</a></li>
<li data-icon="star"><a href="#" class="toggleStarredButton">Mark as starred</a></li>
<li data-icon="plus"><a href="#" class="togglePublishButton">Publish</a></li>
<li data-icon="delete"><a href="#" class="logoutButton">Logout</a></li>
</ul>
</div>
</div>
<div data-role="page" id="settings" data-add-back-btn="true" data-title="Settings">
<div data-role="header">
<a href="#" data-role="button"
data-icon="delete"
data-mini="true" class="ui-btn-left">Close</a>
<h1>Settings</h1>
</div>
<div data-role="content">
<form action="#" method="POST" data-ajax="false">
<label for="articles-number">Number of articles to load:</label>
<input name="artNumber" pattern="[0-9]*"
id="articles-number" value="10" type="number">
<input name="artOldestFirst" id="articles-oldest-first" type="checkbox">
<label for="articles-oldest-first">Show oldest articles first</label>
<input name="onlyUnread" id="only-unread" type="checkbox">
<label for="only-unread">Only show unread</label>
</form>
</div>
<div class="version">
<p>Version : 1.0</p>
</div>
</div>
</body>
</html>