more notice css tweaks
This commit is contained in:
parent
6a1f424924
commit
3c200461f8
|
@ -929,7 +929,7 @@ class Handler_Public extends Handler {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
print "<h2>" . "Tiny Tiny RSS database is up to date." . "</h2>";
|
print_notice("Tiny Tiny RSS database is up to date.");
|
||||||
|
|
||||||
print "<p><form method=\"GET\" action=\"index.php\">
|
print "<p><form method=\"GET\" action=\"index.php\">
|
||||||
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
|
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
|
||||||
|
|
|
@ -2925,19 +2925,19 @@
|
||||||
function format_warning($msg, $id = "") {
|
function format_warning($msg, $id = "") {
|
||||||
global $link;
|
global $link;
|
||||||
return "<div class=\"warning\" id=\"$id\">
|
return "<div class=\"warning\" id=\"$id\">
|
||||||
<img src=\"images/sign_excl.svg\">$msg</div>";
|
<span><img src=\"images/sign_excl.svg\"></span><span>$msg</span></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function format_notice($msg, $id = "") {
|
function format_notice($msg, $id = "") {
|
||||||
global $link;
|
global $link;
|
||||||
return "<div class=\"notice\" id=\"$id\">
|
return "<div class=\"notice\" id=\"$id\">
|
||||||
<img src=\"images/sign_info.svg\">$msg</div>";
|
<span><img src=\"images/sign_info.svg\"></span><span>$msg</span></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function format_error($msg, $id = "") {
|
function format_error($msg, $id = "") {
|
||||||
global $link;
|
global $link;
|
||||||
return "<div class=\"error\" id=\"$id\">
|
return "<div class=\"error\" id=\"$id\">
|
||||||
<img src=\"images/sign_excl.svg\">$msg</div>";
|
<span><img src=\"images/sign_excl.svg\"></span><span>$msg</span></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function print_notice($msg) {
|
function print_notice($msg) {
|
||||||
|
|
|
@ -80,12 +80,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function print_error($msg) {
|
function print_error($msg) {
|
||||||
print "<div class='error'><img src='../images/sign_excl.svg'> $msg</div>";
|
print "<div class='error'><span><img src='../images/sign_excl.svg'></span>
|
||||||
|
<span>$msg</span></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function print_notice($msg) {
|
function print_notice($msg) {
|
||||||
print "<div class=\"notice\">
|
print "<div class=\"notice\">
|
||||||
<img src=\"../images/sign_info.svg\">$msg</div>";
|
<span><img src=\"../images/sign_info.svg\"></span><span>$msg</span></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function db_connect($host, $user, $pass, $db, $type, $port) {
|
function db_connect($host, $user, $pass, $db, $type, $port) {
|
||||||
|
|
|
@ -288,7 +288,12 @@ div.error {
|
||||||
div.warning img, div.notice img, div.error img {
|
div.warning img, div.notice img, div.error img {
|
||||||
margin-right : 4px;
|
margin-right : 4px;
|
||||||
vertical-align : middle;
|
vertical-align : middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.warning span, div.notice span, div.error span {
|
||||||
display : table-cell;
|
display : table-cell;
|
||||||
|
vertical-align : middle;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.nomarks {
|
ul.nomarks {
|
||||||
|
|
|
@ -73,6 +73,10 @@ div.error {
|
||||||
|
|
||||||
div.warning img, div.notice img, div.error img {
|
div.warning img, div.notice img, div.error img {
|
||||||
margin-right : 4px;
|
margin-right : 4px;
|
||||||
|
vertical-align : middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.warning span, div.notice span, div.error span {
|
||||||
display : table-cell;
|
display : table-cell;
|
||||||
vertical-align : middle;
|
vertical-align : middle;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue