diff --git a/dashboard-ui/addplugin.html b/dashboard-ui/addplugin.html index 90f3d681a4..dc584e2f92 100644 --- a/dashboard-ui/addplugin.html +++ b/dashboard-ui/addplugin.html @@ -19,9 +19,10 @@ ${TabSettings}
diff --git a/dashboard-ui/bower_components/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json index cb6e0e6c44..031b285464 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -23,14 +23,14 @@ "web-component-tester": "*" }, "private": true, - "homepage": "https://github.com/polymer/polymer", + "homepage": "https://github.com/Polymer/polymer", "_release": "1.0.7", "_resolution": { "type": "version", "tag": "v1.0.7", "commit": "b39d0015ce5428232409eb3aca7ddefea899f894" }, - "_source": "git://github.com/polymer/polymer.git", + "_source": "git://github.com/Polymer/polymer.git", "_target": "^1.0.0", - "_originalSource": "polymer/polymer" + "_originalSource": "Polymer/polymer" } \ No newline at end of file diff --git a/dashboard-ui/cordova/actionsheet.js b/dashboard-ui/cordova/actionsheet.js index 720c933581..981f9ca2b3 100644 --- a/dashboard-ui/cordova/actionsheet.js +++ b/dashboard-ui/cordova/actionsheet.js @@ -7,6 +7,33 @@ // showCancel // title + // If any items have an icon, give them all an icon just to make sure they're all lined up evenly + var renderIcon = options.items.filter(function (o) { + return o.ironIcon; + }).length; + + if (renderIcon) { + + // iOS supports unicode icons + if ($.browser.safari) { + + for (var i = 0, length = options.items.length; i < length; i++) { + + var option = options.items[i]; + + switch (option.ironIcon) { + + case 'check': + option.name = '\\u2713 ' + option.name; + break; + default: + option.name = '\\u2001 ' + option.name; + break; + } + } + } + } + var innerOptions = { 'title': options.title, 'buttonLabels': options.items.map(function (i) { @@ -27,7 +54,7 @@ // Results are 1-based if (index >= 1 && options.items.length >= index) { - + options.callback(options.items[index - 1].id); } } diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 75df02a5b8..56c67900f8 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -153,7 +153,7 @@ @media all and (min-width: 1920px) { .ehsContent { - width: 97%; + width: 96%; } } diff --git a/dashboard-ui/livetvsettings.html b/dashboard-ui/livetvsettings.html index f02d9eb674..332c0fd01a 100644 --- a/dashboard-ui/livetvsettings.html +++ b/dashboard-ui/livetvsettings.html @@ -10,9 +10,10 @@ "; + if (getTextLinesCallback) { + html += getTextLinesCallback(plugin); + } + // cardFooter html += ""; @@ -108,16 +112,16 @@ return html; } - function renderPlugins(page, plugins) { + function renderPlugins(page, plugins, getTextLinesCallback) { ApiClient.getJSON(ApiClient.getUrl("dashboard/configurationpages") + "?pageType=PluginConfiguration").done(function (configPages) { - populateList(page, plugins, configPages); + populateList(page, plugins, getTextLinesCallback, configPages); }); } - function populateList(page, plugins, pluginConfigurationPages) { + function populateList(page, plugins, getTextLinesCallback, pluginConfigurationPages) { plugins = plugins.sort(function (plugin1, plugin2) { @@ -126,7 +130,7 @@ }); var html = plugins.map(function (p) { - return getPluginCardHtml(p, pluginConfigurationPages); + return getPluginCardHtml(p, getTextLinesCallback, pluginConfigurationPages); }).join(''); @@ -187,7 +191,7 @@ ActionSheetElement.show({ items: menuItems, - positionTo: card, + positionTo: elem, callback: function (resultId) { switch (resultId) { diff --git a/dashboard-ui/themes/ios.css b/dashboard-ui/themes/ios.css index e546c476dd..cf853caf6f 100644 --- a/dashboard-ui/themes/ios.css +++ b/dashboard-ui/themes/ios.css @@ -66,6 +66,15 @@ html, body, .ui-btn, .pageTitle { color: #FF2D55 !important; } +.channelTimeslotHeader { + border-right-color: #FF2D55 !important; +} + +.channelTimeslotHeader, .timeslotHeader { + background: #FF2D55 !important; +} + + .libraryViewNav { border-top: 1px solid #333 !important; } diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css index f581af89dc..d95fc6070c 100644 --- a/dashboard-ui/thirdparty/paper-button-style.css +++ b/dashboard-ui/thirdparty/paper-button-style.css @@ -149,6 +149,8 @@ paper-button .fa { color: inherit; width: 100%; vertical-align: middle; + font-family: inherit; + font-weight: inherit; } .clearLink {