diff --git a/dashboard-ui/bower_components/iron-meta/.bower.json b/dashboard-ui/bower_components/iron-meta/.bower.json index 8119ebcf41..9e650790be 100644 --- a/dashboard-ui/bower_components/iron-meta/.bower.json +++ b/dashboard-ui/bower_components/iron-meta/.bower.json @@ -25,14 +25,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-meta", + "homepage": "https://github.com/PolymerElements/iron-meta", "_release": "1.0.3", "_resolution": { "type": "version", "tag": "v1.0.3", "commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04" }, - "_source": "git://github.com/polymerelements/iron-meta.git", + "_source": "git://github.com/PolymerElements/iron-meta.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-meta" + "_originalSource": "PolymerElements/iron-meta" } \ No newline at end of file diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index ed011743a7..79211de96d 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -439,9 +439,8 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { } .detailNameContainer { - position: absolute; - bottom: 15px; - margin-bottom: 0; + margin-top: -120px; + height: 110px; } .desktopMiscInfoContainer { @@ -595,7 +594,8 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { } .detailNameContainer { - position: static; + margin-top: auto; + height: auto; } .itemBackdropContent { diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 967ca3b7fb..0ed7a00b84 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2167,26 +2167,36 @@ var AppInfo = {}; var mainDrawerPanelContent = document.querySelector('.mainDrawerPanelContent'); if (mainDrawerPanelContent) { + var newHtml = mainDrawerPanelContent.innerHTML.substring(4); newHtml = newHtml.substring(0, newHtml.length - 3); var srch = 'data-require='; var index = newHtml.indexOf(srch); + var depends; if (index != -1) { var requireAttribute = newHtml.substring(index + srch.length + 1); requireAttribute = requireAttribute.substring(0, requireAttribute.indexOf('"')); - var depends = requireAttribute.split(','); - - require(depends, function () { - mainDrawerPanelContent.innerHTML = Globalize.translateDocument(newHtml, 'html'); - onAppReady(deferred); - }); - return; - + depends = requireAttribute.split(','); } + + depends = depends || []; + + if (newHtml.indexOf('type-interior') != -1) { + depends.push('jqmicons'); + depends.push('jqmpopup'); + } + + require(depends, function () { + + // Don't like having to use jQuery here, but it takes care of making sure that embedded script executes + $(mainDrawerPanelContent).html(Globalize.translateDocument(newHtml, 'html')); + onAppReady(deferred); + }); + return; } onAppReady(deferred);