tweak how utility.css-based stuff looks
This commit is contained in:
parent
88a41b64a2
commit
884d16505e
|
@ -537,9 +537,9 @@ class Handler_Public extends Handler {
|
||||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img class=\"floatingLogo\" src=\"images/logo_wide.png\"
|
<img class=\"floatingLogo\" src=\"images/logo_small.png\"
|
||||||
alt=\"Tiny Tiny RSS\"/>
|
alt=\"Tiny Tiny RSS\"/>
|
||||||
<h1>".__("Subscribe to feed...")."</h1>";
|
<h1>".__("Subscribe to feed...")."</h1><div class='content'>";
|
||||||
|
|
||||||
$rc = subscribe_to_feed($this->link, $feed_url);
|
$rc = subscribe_to_feed($this->link, $feed_url);
|
||||||
|
|
||||||
|
@ -612,7 +612,7 @@ class Handler_Public extends Handler {
|
||||||
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
|
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
|
||||||
</form></p>";
|
</form></p>";
|
||||||
|
|
||||||
print "</body></html>";
|
print "</div></body></html>";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
render_login_form($this->link);
|
render_login_form($this->link);
|
||||||
|
@ -720,8 +720,9 @@ class Handler_Public extends Handler {
|
||||||
</head>
|
</head>
|
||||||
<body id='forgotpass'>";
|
<body id='forgotpass'>";
|
||||||
|
|
||||||
print '<div class="floatingLogo"><img src="images/logo_wide.png"></div>';
|
print '<div class="floatingLogo"><img src="images/logo_small.png"></div>';
|
||||||
print "<h1>".__("Reset password")."</h1>";
|
print "<h1>".__("Reset password")."</h1>";
|
||||||
|
print "<div class='content'>";
|
||||||
|
|
||||||
@$method = $_POST['method'];
|
@$method = $_POST['method'];
|
||||||
|
|
||||||
|
@ -790,6 +791,7 @@ class Handler_Public extends Handler {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print "</div>";
|
||||||
print "</body>";
|
print "</body>";
|
||||||
print "</html>";
|
print "</html>";
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,8 @@ class Opml extends Handler_Protected {
|
||||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class=\"floatingLogo\"><img src=\"images/logo_wide.png\"></div>
|
<div class=\"floatingLogo\"><img src=\"images/logo_small.png\"></div>
|
||||||
<h1>".__('OPML Utility')."</h1>";
|
<h1>".__('OPML Utility')."</h1><div class='content'>";
|
||||||
|
|
||||||
add_feed_category($this->link, "Imported feeds");
|
add_feed_category($this->link, "Imported feeds");
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ class Opml extends Handler_Protected {
|
||||||
<input type=\"submit\" value=\"".__("Return to preferences")."\">
|
<input type=\"submit\" value=\"".__("Return to preferences")."\">
|
||||||
</form>";
|
</form>";
|
||||||
|
|
||||||
print "</body></html>";
|
print "</div></body></html>";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,10 +39,12 @@ function confirmOP() {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="floatingLogo"><img src="images/logo_wide.png"></div>
|
<div class="floatingLogo"><img src="images/logo_small.png"></div>
|
||||||
|
|
||||||
<h1><?php echo __("Database Updater") ?></h1>
|
<h1><?php echo __("Database Updater") ?></h1>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
function getline($fp, $delim) {
|
function getline($fp, $delim) {
|
||||||
$result = "";
|
$result = "";
|
||||||
|
@ -181,6 +183,8 @@ function confirmOP() {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
|
@ -150,7 +150,8 @@
|
||||||
<link rel="stylesheet" type="text/css" href="utility.css">
|
<link rel="stylesheet" type="text/css" href="utility.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="floatingLogo"><img src="images/logo_wide.png"></div>
|
<div class="floatingLogo"><img src="images/logo_small.png"></div>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<h1>Startup failed</h1>
|
<h1>Startup failed</h1>
|
||||||
|
|
||||||
|
@ -162,6 +163,8 @@
|
||||||
<p>You might want to check tt-rss <a href="http://tt-rss.org/wiki">wiki</a> or the
|
<p>You might want to check tt-rss <a href="http://tt-rss.org/wiki">wiki</a> or the
|
||||||
<a href="http://tt-rss.org/forum">forums</a> for more information. Please search the forums before creating new topic
|
<a href="http://tt-rss.org/forum">forums</a> for more information. Please search the forums before creating new topic
|
||||||
for your question.</p>
|
for your question.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
$link = mysql_connect($host, $user, $pass);
|
$link = mysql_connect($host, $user, $pass);
|
||||||
if ($link) {
|
if ($link) {
|
||||||
$result = mysql_select_db($db, $link);
|
$result = mysql_select_db($db, $link);
|
||||||
return $link;
|
if ($result) return $link;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,10 +131,12 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="floatingLogo"><img src="../images/logo_wide.png"></div>
|
<div class="floatingLogo"><img src="../images/logo_small.png"></div>
|
||||||
|
|
||||||
<h1>Tiny Tiny RSS Installer</h1>
|
<h1>Tiny Tiny RSS Installer</h1>
|
||||||
|
|
||||||
|
<div class='content'>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (file_exists("../config.php")) {
|
if (file_exists("../config.php")) {
|
||||||
require "../config.php";
|
require "../config.php";
|
||||||
|
@ -226,6 +228,8 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php print_notice("Configuration check succeeded."); ?>
|
||||||
|
|
||||||
<h2>Checking database</h2>
|
<h2>Checking database</h2>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -347,6 +351,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -181,10 +181,12 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="floatingLogo"><img src="images/logo_wide.png"></div>
|
<div class="floatingLogo"><img src="images/logo_small.png"></div>
|
||||||
|
|
||||||
<h1><?php echo __("Create new account") ?></h1>
|
<h1><?php echo __("Create new account") ?></h1>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (!ENABLE_REGISTRATION) {
|
if (!ENABLE_REGISTRATION) {
|
||||||
print_error(__("New user registrations are administratively disabled."));
|
print_error(__("New user registrations are administratively disabled."));
|
||||||
|
@ -358,6 +360,8 @@
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="floatingLogo"><img src="images/logo_wide.png"></div>
|
<div class="floatingLogo"><img src="images/logo_small.png"></div>
|
||||||
<h1><?php echo __("Tiny Tiny RSS data update script.") ?></h1>
|
<h1><?php echo __("Tiny Tiny RSS data update script.") ?></h1>
|
||||||
|
|
||||||
<?php print_error("Please run this script from the command line. Use option \"-help\" to display command help if this error is displayed erroneously."); ?>
|
<?php print_error("Please run this script from the command line. Use option \"-help\" to display command help if this error is displayed erroneously."); ?>
|
||||||
|
|
11
utility.css
11
utility.css
|
@ -1,8 +1,9 @@
|
||||||
body {
|
body {
|
||||||
margin : 2em;
|
margin : 20px;
|
||||||
padding : 0em;
|
padding : 0px;
|
||||||
font-family : sans-serif;
|
font-family : sans-serif;
|
||||||
font-size : 12px;
|
font-size : 12px;
|
||||||
|
background : white;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.warning {
|
p.warning {
|
||||||
|
@ -68,8 +69,10 @@ div.error {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color : #88b0f0;
|
color : black;
|
||||||
font-size : 16pt;
|
font-size : 32px;
|
||||||
|
font-family : serif;
|
||||||
|
/* text-shadow : 2px 2px 2px #f0f0f0; */
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
|
Loading…
Reference in New Issue