]> git.wh0rd.org Git - tt-rss.git/blob - tt-rss.php
scrollable feedlist (iframe)
[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                 <iframe id="feeds-frame" name="feeds-frame" class="feedsFrame"> </iframe>
40         
41                 <p align="center">All feeds:
42                 
43                 <input class="button" type="submit"     
44                         onclick="javascript:scheduleFeedUpdate(true)" value="Update">
45                                 
46                 <input class="button" type="submit"     
47                         onclick="javascript:catchupAllFeeds()" value="Mark as read">
48
49                 </p>
50
51         </td>
52         <td valign="top" class="headlinesToolbarBox">
53                 <table width="100%">
54                 
55                 <!-- <tr><td id="headlinesTitle" class="headlinesTitle">
56                         &nbsp;
57                 </td></tr> -->
58                 <tr><td class="headlinesToolbar" id="headlinesToolbar">
59                         Search: <input id="searchbox"
60                         onblur="javascript:enableHotkeys()" onfocus="javascript:disableHotkeys()"
61                         onchange="javascript:search()">
62                 <input type="submit" 
63                         class="button" onclick="javascript:resetSearch()" value="Reset">
64
65                 &nbsp;View: 
66                 
67                 <select id="viewbox" onchange="javascript:viewCurrentFeed(0, '')">
68                         <option>All Posts</option>
69                         <option>Starred</option>
70                         <option selected>Unread</option>
71                 </select>
72
73                 &nbsp;Limit:
74
75                 <select id="limitbox" onchange="javascript:viewCurrentFeed(0, '')">
76                         <option>15</option>
77                         <option selected>30</option>
78                         <option>60</option>
79                         <option>All</option>
80                 </select>
81
82                 &nbsp;Feed: <input class="button" type="submit"
83                         onclick="javascript:viewCurrentFeed(0, 'ForceUpdate')" value="Update">
84
85                 <input class="button" type="submit"
86                         onclick="javascript:viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
87
88                 </td></tr>
89                 </table>
90         </td> 
91 </tr><tr>
92         <td id="headlines" class="headlines" valign="top">
93                 <iframe name="headlines-frame" 
94                         id="headlines-frame" class="headlinesFrame"> </iframe>
95         </td>
96 </tr><tr>
97         <td class="content" id="content" valign="top">
98                 <iframe name="content-frame" id="content-frame" class="contentFrame"> </iframe>
99         </td>
100 </tr>
101 <tr>
102         <td colspan="2" class="notify">
103                 <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
104                 <? if (WEB_DEMO_MODE) { ?>
105                 <br>Running in demo mode, some functionality is disabled.
106                 <? } ?>
107         </td>
108 </td>
109 </table>
110
111
112 </body>
113 </html>