This repository has been archived by the owner on May 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
195 lines (189 loc) · 5.66 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Tiny Tiny Portal</title>
<link href="jquery-ui.min.css" rel="stylesheet" type="text/css" />
<link href="basic.css" rel="stylesheet" type="text/css" />
<link href="portal.css" rel="stylesheet" type="text/css" />
<link href="img/favicon.png" rel="shortcut icon" type="image/x-icon" />
</head>
<body>
<div id="header">
<ul class="left">
<li>
<a href="#" id="new-widget">Add widget</a>
</li>
</ul>
<ul class="right">
<li><a href="#" id="export">Export</a></li>
<li><a href="#" id="logout">Logout</a></li>
</ul>
</div>
<div id="head">
<h1>Tiny Tiny RSS Portal</h1>
</div>
<div id="body">
<div id="login" class="widget color-blue">
<div class="widget-head">
<span class="title">Login</span>
</div>
<div class="widget-content">
<form id="login-form" action="#" method="post">
<div class="row">
<label for="login-username">Username:</label>
<input name="login" id="login-username" class="input" required="1" type="text"/>
</div>
<div class="row">
<label for="login-password">Password:</label>
<input name="password" id="login-password" class="input" required="1" type="password"/>
</div>
<div class="row adv">
<label for="login-host">tt-Rss path:</label>
<input name="host" id="login-host" class="input"/>
</div>
<div class="row noadv" style="text-align : right">
<span>
<a id="login-adv" href="#">More settings</a>
</span>
</div>
<div class="row" style="text-align : right">
<span>
<button id="login-button">Log in</button>
</span>
</div>
</form>
</div>
</div>
<div id="columns">
<div id="column1" class="column">
</div>
<div id="column2" class="column">
</div>
<div id="column3" class="column">
</div>
</div>
<div id="template">
<div class="widget">
<div class="widget-head">
<a href="#collapse" class="collapse">COLLAPSE</a>
<a href="#expand" class="expand">EXPAND</a>
<a href="#count" class="count">(<span class="counter"></span>)</a>
<span class="title">Title</span>
<a href="#remove" class="remove">CLOSE</a>
<a href="#config" class="config">CONFIGURE</a>
<a href="#refresh" class="refresh">REFRESH</a>
</div>
<div class="widget-config">
<p class="row">
<label>Color:</label>
<span class="color color-yellow"> </span>
<span class="color color-red"> </span>
<span class="color color-blue"> </span>
<span class="color color-white"> </span>
<span class="color color-orange"> </span>
<span class="color color-green"> </span>
<p>
<p class="row">
<label>Items to display:</label>
<input type="text" name="number"/>
<p>
<p class="row">
<label>Type:</label>
<select name="type">
<option value="small">Normal</option>
<option value="excerpt">With excerpt</option>
</select>
<p>
<p class="row">
<button class="save">Save</button>
<p>
</div>
<div class="widget-content">
<ul class="news">
</ul>
</div>
<div class="widget-footer">
<a class="prev disabled" href="#prev"><span>newer</span></a>
<a class="next" href="#next"><span>older</span></a>
</div>
</div>
<ul class="news t-small">
{{#news}}
<li class="{{read}}"><a target="_blank" href="{{{link}}}" id="article-{{id}}" title="{{excerpt}}">{{title}}</a></li>
{{/news}}
</ul>
<ul class="news t-excerpt">
{{#news}}
<li class="{{read}}">
<a target="_blank" href="{{{link}}}" id="article-{{id}}" title="{{title}}">{{title}}</a></br>
<div class="excerpt">{{excerpt}}</div>
</li>
{{/news}}
</ul>
<canvas id="faviconc" width="32" height="32"></canvas>
</div>
<div id="addwidget" class="modal">
<div class="widget color-yellow" id="add_widget">
<div class="widget-head">
<span class="title">Add a widget</span>
</div>
<div class="widget-content">
<p class="step a">
<label for="add-feed">Feed:</label>
<select name="add-feed" id="add-feed">
<option>Loading...</option>
</select>
</p>
<p class="step e">
No new feed found.
</p>
<div style="text-align : right">
<p class="step e">
<span>
<button class="add-cancel">Cancel</button>
</span>
</p>
<p class="step z">
<span>
<button class="add-cancel">Cancel</button>
</span>
<span>
<button id="add-submit">Add</button>
</span>
</p>
</div>
</div>
</div>
</div>
<div id="textsettings" class="modal">
<div class="widget color-blue" id="text_settings">
<div class="widget-head">
<span class="title">Export/import settings</span>
</div>
<div class="widget-content">
<textarea name="textarea" rows="10" cols="50"></textarea>
<div>
<p class="step">
<span>
<button id="ts-export">Export</button>
</span>
<span>
<button id="ts-import">Import</button>
</span>
<span style="text-align : right">
<button id="ts-close">Close</button>
</span>
</p>
</div>
</div>
</div>
</div>
</div>
<script src="jquery.min.js"></script>
<script src="jquery-ui.min.js" crossorigin="anonymous"></script>
<script src="mustache.min.js"></script>
<script src="rss.js"></script>
<script src="portal.js"></script>
</body>
</html>