misc css/linking updates

This commit is contained in:
Andrew Dolgov 2010-11-25 14:39:06 +03:00
parent 126cb7657f
commit 29a5b4aae0
5 changed files with 9 additions and 13 deletions

View file

@ -308,3 +308,6 @@ div.fatalError textarea {
height : 100px; height : 100px;
} }
div.insensitive {
color : gray;
}

View file

@ -486,7 +486,9 @@ function redraw_feedlist(feeds) {
} }
if (feeds.length == 0) { if (feeds.length == 0) {
$('feeds-content').innerHTML = __("No unread feeds."); $('feeds-content').innerHTML =
"<div class='insensitive' style='text-align : center'>" +
__("No unread feeds.") + "</div>";
} }
} catch (e) { } catch (e) {

View file

@ -29,10 +29,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<?php $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?> <?php print_user_stylesheet($link) ?>
<?php if ($user_css_url) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $user_css_url ?>"/>
<?php } ?>
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/> <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>

View file

@ -24,8 +24,8 @@
<html> <html>
<head> <head>
<title>Tiny Tiny RSS : Preferences</title> <title>Tiny Tiny RSS : Preferences</title>
<link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/>
<link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/> <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
<link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/>
<?php print_theme_includes($link) ?> <?php print_theme_includes($link) ?>
<?php print_user_stylesheet($link) ?> <?php print_user_stylesheet($link) ?>

View file

@ -24,21 +24,15 @@
<html> <html>
<head> <head>
<title>Tiny Tiny RSS</title> <title>Tiny Tiny RSS</title>
<link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
<link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/> <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/>
<link rel="stylesheet" type="text/css" href="cdm.css?<?php echo $dt_add ?>"/> <link rel="stylesheet" type="text/css" href="cdm.css?<?php echo $dt_add ?>"/>
<link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
<?php print_theme_includes($link) ?> <?php print_theme_includes($link) ?>
<?php print_user_stylesheet($link) ?> <?php print_user_stylesheet($link) ?>
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/> <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<?php if (ENABLE_TWEET_BUTTON) { ?>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<?php } ?>
<script type="text/javascript" src="lib/prototype.js"></script> <script type="text/javascript" src="lib/prototype.js"></script>
<script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script> <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
<script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script> <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>