From cd9de001f74a1d3fcfd6b7b073ad0ab7060d9f52 Mon Sep 17 00:00:00 2001 From: Pierre Gordon Date: Tue, 9 Jan 2018 08:21:27 -0500 Subject: Centralize icons Signed off by: Pierre Gordon --- settings/js/authtoken_view.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'settings/js') diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index 1e2a6643d59..4229929b4fb 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -28,7 +28,7 @@ var TEMPLATE_TOKEN = '' + '' - + '' + + '
' + '' + '' + '{{name}}' @@ -150,19 +150,19 @@ }; var iconMap = { - ie: 'ie.svg', - edge: 'edge.svg', - firefox: 'firefox.svg', - chrome: 'chrome.svg', - safari: 'apple.svg', - androidChrome: 'chrome.svg', - iphone: 'iphone.svg', - ipad: 'ipad.svg', - iosClient: 'apple.svg', - androidClient: 'android.svg', - davDroid: 'android.svg', - webPirate: 'globe.svg', - sailfishBrowser: 'globe.svg' + ie: 'icon-client-ie', + edge: 'icon-client-edge', + firefox: 'icon-client-firefox', + chrome: 'icon-client-chrome', + safari: 'icon-client-safari', + androidChrome: 'icon-client-chrome', + iphone: 'icon-client-iphone', + ipad: 'icon-client-ipad', + iosClient: 'icon-client-apple', + androidClient: 'icon-client-android', + davDroid: 'icon-client-android', + webPirate: 'icon-link', + sailfishBrowser: 'icon-link' }; if (matches) { @@ -184,7 +184,7 @@ // update title - for easier view viewData.title = viewData.name; - viewData.icon = '/settings/img/clients/' + iconMap[client]; + viewData.icon = iconMap[client]; } } if (viewData.current) { -- cgit v1.2.3