mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 01:05:56 +00:00
interface tweaks
This commit is contained in:
@@ -1797,7 +1797,7 @@
|
||||
// onclick=\"javascript:hideParentElement(this);\" src=\"images/close.png\">";
|
||||
|
||||
print "<a href=\"javascript:showBlockElement('feedUpdateErrors')\">
|
||||
<b>Feeds with update errors</b> (click to expand)</a>";
|
||||
<b>Some feeds have update errors (click for details)</b></a>";
|
||||
|
||||
print "<ul id=\"feedUpdateErrors\" class=\"nomarks\">";
|
||||
|
||||
|
||||
16
functions.js
16
functions.js
@@ -81,12 +81,12 @@ function p_notify(msg) {
|
||||
if (!n || !nb) return;
|
||||
|
||||
if (msg == "") {
|
||||
nb.innerHTML = " ";
|
||||
// n.style.background = "#ffffff";
|
||||
n.style.display = "none";
|
||||
} else {
|
||||
nb.innerHTML = msg;
|
||||
// n.style.background = "#fffff0";
|
||||
n.style.display = "block";
|
||||
}
|
||||
|
||||
nb.innerHTML = msg;
|
||||
}
|
||||
|
||||
function notify(msg) {
|
||||
@@ -97,13 +97,13 @@ function notify(msg) {
|
||||
if (!n || !nb) return;
|
||||
|
||||
if (msg == "") {
|
||||
nb.innerHTML = " ";
|
||||
// n.style.background = "#ffffff";
|
||||
n.style.display = "none";
|
||||
} else {
|
||||
nb.innerHTML = msg;
|
||||
// n.style.background = "#fffff0";
|
||||
n.style.display = "block";
|
||||
}
|
||||
|
||||
nb.innerHTML = msg;
|
||||
|
||||
}
|
||||
|
||||
function printLockingError() {
|
||||
|
||||
12
prefs.js
12
prefs.js
@@ -281,7 +281,7 @@ function addFeed() {
|
||||
var link = document.getElementById("fadd_link");
|
||||
|
||||
if (link.value.length == 0) {
|
||||
alert("Can't add feed: missing feed URL.");
|
||||
alert("Error: No feed URL given.");
|
||||
} else {
|
||||
notify("Adding feed...");
|
||||
|
||||
@@ -643,7 +643,7 @@ function feedEditCancel() {
|
||||
|
||||
active_feed = false;
|
||||
|
||||
notify("Operation cancelled.");
|
||||
// notify("Operation cancelled.");
|
||||
|
||||
/* xmlhttp.open("GET", "backend.php?op=pref-feeds", true);
|
||||
xmlhttp.onreadystatechange=feedlist_callback;
|
||||
@@ -660,7 +660,7 @@ function feedCatEditCancel() {
|
||||
|
||||
active_feed_cat = false;
|
||||
|
||||
notify("Operation cancelled.");
|
||||
// notify("Operation cancelled.");
|
||||
|
||||
xmlhttp.open("GET", "backend.php?op=pref-feeds", true);
|
||||
xmlhttp.onreadystatechange=feedlist_callback;
|
||||
@@ -799,7 +799,7 @@ function labelEditCancel() {
|
||||
|
||||
active_label = false;
|
||||
|
||||
notify("Operation cancelled.");
|
||||
// notify("Operation cancelled.");
|
||||
|
||||
xmlhttp.open("GET", "backend.php?op=pref-labels", true);
|
||||
xmlhttp.onreadystatechange=labellist_callback;
|
||||
@@ -816,7 +816,7 @@ function userEditCancel() {
|
||||
|
||||
active_user = false;
|
||||
|
||||
notify("Operation cancelled.");
|
||||
// notify("Operation cancelled.");
|
||||
|
||||
xmlhttp.open("GET", "backend.php?op=pref-users", true);
|
||||
xmlhttp.onreadystatechange=userlist_callback;
|
||||
@@ -833,7 +833,7 @@ function filterEditCancel() {
|
||||
|
||||
active_filter = false;
|
||||
|
||||
notify("Operation cancelled.");
|
||||
// notify("Operation cancelled.");
|
||||
|
||||
xmlhttp.open("GET", "backend.php?op=pref-filters", true);
|
||||
xmlhttp.onreadystatechange=filterlist_callback;
|
||||
|
||||
11
tt-rss.css
11
tt-rss.css
@@ -296,9 +296,16 @@ td.notifyBox {
|
||||
}
|
||||
|
||||
#notify {
|
||||
color : black;
|
||||
font-weight : bold;
|
||||
background : #fff7d5;
|
||||
border : 1px solid #d7c47a;
|
||||
padding : 3px;
|
||||
top : 2px;
|
||||
right : 2px;
|
||||
float : right;
|
||||
position : absolute;
|
||||
-moz-border-radius : 3px;
|
||||
font-size : x-small;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
#dispSwitch {
|
||||
|
||||
Reference in New Issue
Block a user