mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
add svg loading indicators
This commit is contained in:
@@ -138,12 +138,12 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co
|
||||
tnode.rowNode.setAttribute('data-feed-id', bare_id);
|
||||
tnode.rowNode.setAttribute('data-is-cat', "true");
|
||||
|
||||
tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: 'images/indicator_tiny.gif'});
|
||||
tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: App.getInitParam('icon_three_dots')});
|
||||
domConstruct.place(tnode.loadingNode, tnode.labelNode, 'after');
|
||||
}
|
||||
|
||||
if (id.match("FEED:")) {
|
||||
tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: 'images/indicator_white.gif'});
|
||||
tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: App.getInitParam('icon_oval')});
|
||||
domConstruct.place(tnode.loadingNode, tnode.expandoNode, 'only');
|
||||
}
|
||||
|
||||
|
||||
@@ -432,7 +432,7 @@ const Notify = {
|
||||
break;
|
||||
case this.KIND_PROGRESS:
|
||||
notify.addClassName("notify_progress");
|
||||
icon = App.getInitParam("icon_indicator_white")
|
||||
icon = App.getInitParam("icon_oval")
|
||||
break;
|
||||
default:
|
||||
icon = "notifications";
|
||||
|
||||
Reference in New Issue
Block a user