]> git.wh0rd.org - tt-rss.git/blobdiff - include/login_form.php
get_theme_path: fallback to css/default.css if default theme is selected
[tt-rss.git] / include / login_form.php
index 0d956d20799c8a02595d212fc0deb84a5837e345..3cc89f41f5ac71fc275b3782f215139a9957331c 100644 (file)
@@ -3,8 +3,7 @@
 <head>
        <title>Tiny Tiny RSS : Login</title>
        <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css") ?>
-       <?php echo stylesheet_tag("css/tt-rss.css") ?>
-       <?php echo stylesheet_tag("css/dijit.css") ?>
+       <?php echo stylesheet_tag("css/default.css") ?>
        <link rel="shortcut icon" type="image/png" href="images/favicon.png">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <?php
@@ -25,7 +24,7 @@
                });
        </script>
        <style type="text/css">
-       body#ttrssLogin {
+       body.ttrss_login {
                padding : 2em;
                font-size : 14px;
        }
                border-width : 0px;
        }
 
-       /*input.input {
-               font-family : sans-serif;
-               font-size : medium;
-               border-spacing : 2px;
-               border : 1px solid #b5bcc7;
-               padding : 2px;
-       }*/
-
        label {
                width : 120px;
                margin-right : 20px;
        }
 
        div.header {
-               border-width : 0px 0px 1px 0px;
-               border-style : solid;
-               border-color : #0088cc;
-               margin-bottom : 1em;
+        border: 0px solid #0088cc;
+        border-bottom-width: 1px;
+        margin-bottom : 1em;
                padding-bottom : 5px;
        }
 
        div.footer {
                margin-top : 1em;
                padding-top : 5px;
-               border-width : 1px 0px 0px 0px;
-               border-style : solid;
-               border-color : #0088cc;
-               text-align : center;
+        border: 0px solid #0088cc;
+        border-top-width: 1px;
+        text-align : center;
                color : gray;
                font-size : 12px;
        }
                display : inline-block;
        }
 
-       a {
-               color : #0088cc;
-       }
-
        a {
                color: #0088cc;
                text-decoration: none;
        </style>
 </head>
 
-<body id="ttrssLogin" class="claro">
+<body class="claro ttrss_main ttrss_login">
 
 <script type="text/javascript">
 function init() {
@@ -144,7 +129,7 @@ function fetchProfiles() {
                                onComplete: function(transport) {
                                        if (transport.responseText.match("select")) {
                                                $('profile_box').innerHTML = transport.responseText;
-                                               dojo.parser.parse('profile_box');
+                                               //dojo.parser.parse('profile_box');
                                        }
                        } });
                }