]> git.wh0rd.org - tt-rss.git/blob - tt-rss.php
inputify buttons, store view modes in session cookies, disable headline toolbar initially
[tt-rss.git] / tt-rss.php
1 <html>
2 <head>
3 <title>Tiny Tiny RSS</title>
4 <link rel="stylesheet" href="tt-rss.css" type="text/css">
5 <script type="text/javascript" src="functions.js"></script>
6 <script type="text/javascript" src="tt-rss.js"></script>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8 </head>
9
10 <? require_once "version.php" ?>
11 <? require_once "config.php" ?>
12
13 <body onload="init()">
14
15 <table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
16 <tr>
17 <td class="header" valign="middle" colspan="2">
18 Tiny Tiny RSS
19 </td>
20 </tr>
21 <tr>
22 <td class="toolbar" colspan="2">
23 <table width="100%" cellspacing="0" cellpadding="0">
24 <td valign="middle">
25 <table id="notify"><tr><td width="100%" id="notify_body">&nbsp;</td>
26 <td><img onclick="javascript:notify('')" alt="Close"
27 src="images/close.png"></td></table>
28 </td>
29 <td class="toolbar" valign="middle" align="right">
30 <a href="prefs.php" class="button">Preferences</a></td>
31 </tr></table>
32 </td>
33 </tr>
34 <tr>
35 <td valign="top" rowspan="3" class="feeds">
36
37 <div id="feeds">&nbsp;</div>
38
39 <p align="center">All feeds:
40
41 <input class="button" type="submit"
42 onclick="javascript:scheduleFeedUpdate(true)" value="Update">
43
44 <input class="button" type="submit"
45 onclick="javascript:catchupAllFeeds()" value="Mark as read">
46
47 </td>
48 <td valign="top" class="headlinesToolbarBox">
49 <table width="100%">
50
51 <!-- <tr><td id="headlinesTitle" class="headlinesTitle">
52 &nbsp;
53 </td></tr> -->
54 <tr><td class="headlinesToolbar" id="headlinesToolbar">
55 Search: <input id="searchbox"
56 onblur="javascript:enableHotkeys()" onfocus="javascript:disableHotkeys()"
57 onchange="javascript:search()">
58 <input type="submit"
59 class="button" onclick="javascript:resetSearch()" value="Reset">
60
61 &nbsp;View:
62
63 <select id="viewbox" onchange="javascript:viewCurrentFeed(0, '')">
64 <option>All Posts</option>
65 <option>Starred</option>
66 <option selected>Unread</option>
67 </select>
68
69 &nbsp;Limit:
70
71 <select id="limitbox" onchange="javascript:viewCurrentFeed(0, '')">
72 <option>15</option>
73 <option selected>30</option>
74 <option>60</option>
75 <option>All</option>
76 </select>
77
78 &nbsp;Feed: <input class="button" type="submit"
79 onclick="javascript:viewCurrentFeed(0, 'ForceUpdate')" value="Update">
80
81 <input class="button" type="submit"
82 onclick="javascript:viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
83
84 </td></tr>
85 </table>
86 </td>
87 </tr><tr>
88 <td id="headlines" class="headlines" valign="top">
89 <iframe name="headlines-frame"
90 id="headlines-frame" class="headlinesFrame"> </iframe>
91 </td>
92 </tr><tr>
93 <td class="content" id="content" valign="top">
94 <iframe name="content-frame" id="content-frame" class="contentFrame"> </iframe>
95 </td>
96 </tr>
97 <tr>
98 <td colspan="2" class="notify">
99 <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
100 <? if (WEB_DEMO_MODE) { ?>
101 <br>Running in demo mode, some functionality is disabled.
102 <? } ?>
103 </td>
104 </td>
105 </table>
106
107
108 </body>
109 </html>