]> git.wh0rd.org Git - tt-rss.git/commitdiff
make xml import/export tools look cuter
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 2 Dec 2005 08:19:14 +0000 (09:19 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 2 Dec 2005 08:19:14 +0000 (09:19 +0100)
opml.css
xml-export.php
xml-import.php

index 89f08d0ff80fa11accbd143872fb2402c1f074cf..a061a73af621ab25611f64a725b6277091ab08a4 100644 (file)
--- a/opml.css
+++ b/opml.css
@@ -19,6 +19,14 @@ h1 {
        background-repeat : repeat-x;
 }
 
+h2 {
+       font-size : 14pt;
+       font-weight : bold;
+       border-width : 0px 0px 1px 0px;
+       border-style : solid;
+       border-color : #e0e0e0;
+}
+
 div.opmlBody {
        margin : 30px;  
 }
index f1100d39ba01f70e37994b052c53e84e7d5ae024..446d315a0e4749cd7d75037de2f29bf551cad33e 100644 (file)
 <? if (!$_GET["export"]) { ?>
 
 <html>
+<head>
+       <title>XML Export</title>
+       <link rel="stylesheet" href="opml.css" type="text/css">
+</head>
 <body>
-<h1>XML Export</h1>
-<form method="GET">
-<input type="checkbox" checked name="marked"> Export only starred<br>
-<input type="checkbox" name="unread"> Export only unread<br>
-<p><input type="submit" name="export" value="Export"></p>
-</form>
+<h1><img src="images/ttrss_logo.png"></h1>
+
+<div class="opmlBody">
+       <h2>XML Export</h2>
+       <form method="GET">
+               Limit to: <input type="checkbox" checked name="marked"> starred,
+               <input type="checkbox" name="unread"> unread.<br>
+               <p><input type="submit" class="button" name="export" value="Export"></p>
+       </form>
+</div>
+
 </body>
 </html>
 
index 04f3ee39ebffca34201e4793b60bcde79639411b..4b1cd1bc1490abdba8a61635efa904d15dd3404e 100644 (file)
 
 ?>
 <html>
+<head>
+       <title>XML Import</title>
+       <link rel="stylesheet" href="opml.css" type="text/css">
+</head>
 <body>
 
+       <h1><img src="images/ttrss_logo.png"></h1>
+
        <? if ($_REQUEST["op"] != "Import") { ?>
 
-       <h1>Import XMLDB (your login is <?= $_SESSION["name"] ?>)</h1>
+       <div class="opmlBody">
+       
+       <h2>Import XMLDB</h2>
 
        <form   enctype="multipart/form-data" method="POST" action="xml-import.php">
        File: <input name="xmldb" type="file">&nbsp;
 
        <? } else {
 
-               print "<h1>Importing data (your login is ".$_SESSION["name"].")</h1>";
+               print "<h2>Importing data</h2>";
 
                if (is_file($_FILES['xmldb']['tmp_name'])) {
                        $dom = domxml_open_file($_FILES['xmldb']['tmp_name']);
                }
 
        } ?>
+</div>
 </body>
 </html>