]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
big interface overhaul, new logo
[tt-rss.git] / prefs.php
index 8e63f99be6a9774250e9dda3c7cb1246bfb3f927..5f0adf7d1682266fef17f0b78af7bf4efe855984 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -1,6 +1,6 @@
 <html>
 <head>
-       <title>Tiny Tiny RSS</title>
+       <title>Tiny Tiny RSS : Preferences</title>
        <link rel="stylesheet" href="tt-rss.css" type="text/css">
        <script type="text/javascript" src="functions.js"></script>
        <script type="text/javascript" src="prefs.js"></script>
 <? require_once "version.php" ?>
 <? require_once "config.php" ?>
 
-<table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
+<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
 <tr>
-       <td class="header" valign="middle" colspan="2"> 
-                       Preferences
+       <td class="header" valign="middle">     
+               <img src="images/ttrss_logo.png" alt="logo">    
        </td>
 </tr>
 <tr>
-       <td class="toolbar" valign="middle">
-                <div id="notify">&nbsp;</div>
-       </td>
-       <td class="toolbar" valign="middle" colspan="2" align="right">  
-               <a href="tt-rss.php" class="button">Return to main</a>
-       </td>
+       <td class="mainToolbar" valign="middle">
+
+               <table width='100%' cellspacing='0' cellpadding='0'>    
+                       <td><span id="notify"><span id="notify_body"></span></td>
+                       <td align='right'>
+                               <input type="submit" onclick="gotoMain()" 
+                                       class="button" value="Return to main"></td>
+               </table>
 </tr>
 </tr>
-       <td id="prefContent" class="prefContent" valign="top" colspan="2">
-               <h2>Feed Configuration</h2>
+       <td id="prefContent" class="prefContent" valign="top">
+               <h2>Feed Configuration</h2><div id="piggie">&nbsp;</div>
 
-               <div id="piggie">&nbsp;</div>
+               <div class="expPane" id="feedConfPane">
+                       <a class="button" 
+                               href="javascript:expandPane('feedConfPane')">Expand section &gt;</a>
+               </div>
 
-               <table class="prefAddFeed">
-                       <td><input id="fadd_link"></td>
-                       <td colspan="4" align="right">
-                               <a class="button" href="javascript:addFeed()">Add feed</a></td></tr>
-               </table> 
-               
-               <div id="feeds">&nbsp;</div>
+               <h2>OPML Import</h2>
 
-<!--           <p>Selection:&nbsp;
-                       <a class="button" 
-                               href="javascript:editSelectedFeed()">Edit</a>&nbsp;
-                       <a class="buttonWarn" 
-                               href="javascript:removeSelectedFeeds()">Remove</a>&nbsp;
-                       <a class="button" 
-                               href="javascript:readSelectedFeeds()">Mark as read</a>&nbsp;
-                       <a class="button" 
-                               href="javascript:unreadSelectedFeeds()">Mark as unread</a>&nbsp;
+               <div class="expPane">
+       
+               <form   enctype="multipart/form-data" method="POST" action="opml.php">
+                       File: <input id="opml_file" name="opml_file" type="file">&nbsp;
+                       <input class="button" name="op" onclick="return validateOpmlImport();"
+                               type="submit" value="Import">
+                       </form>
+
+               </div>
+
+               <h2>Content Filtering</h2>
+
+               <div class="expPane" id="filterConfPane">
                        <a class="button" 
-                               href="javascript:updateFeedList()">Refresh</a>&nbsp; -->
+                               href="javascript:expandPane('filterConfPane')">Expand section &gt;</a>
 
-               <hr>
+               </div>
 
        </td>
 </tr>
 <tr>
-       <td colspan="2" class="notify">
+       <td class="footer">
                <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
                <? if (WEB_DEMO_MODE) { ?>
                <br>Running in demo mode, some functionality is disabled.