';
- html += '';
-
- if (options.title) {
- html += '
';
- html += options.title;
- html += '
';
+ html += '
';
+ if (backButton) {
+ html += '';
}
html += '';
// TODO: An actual form element should probably be added
html += ' ';
- html += '' + Globalize.translate('core#ButtonOk') + '';
+ if (raisedButtons) {
+ html += '' + Globalize.translate('core#ButtonOk') + '';
+ } else {
+ html += '' + Globalize.translate('core#ButtonOk') + '';
+ html += '' + Globalize.translate('core#ButtonCancel') + '';
+ }
html += '
';
@@ -40,9 +46,13 @@ define(['paperdialoghelper', 'layoutManager', 'html!./icons.html', 'css!./style.
dlg.querySelector('.txtPromptValue').value = options.text;
}
+ if (options.title) {
+ dlg.querySelector('.txtPromptValue').label = options.title;
+ }
+
document.body.appendChild(dlg);
- dlg.querySelector('.paperSubmit').addEventListener('click', function (e) {
+ dlg.querySelector('.btnSubmit').addEventListener('click', function (e) {
submitValue = dlg.querySelector('.txtPromptValue').value;
paperdialoghelper.close(dlg);
diff --git a/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css b/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css
index 18eae4741..0bb8d7c56 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css
+++ b/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css
@@ -6,7 +6,26 @@
text-align: center;
}
-.btnPromptExit {
+.txtPromptValue label {
+ font-size: 200%;
+}
+
+.promptDialogContent {
+ text-align: left;
+ padding: 2em;
+ margin: 0;
+}
+
+.promptDialog.fullscreen .promptDialogContent {
+ padding: 0;
+ width: 50%;
+}
+
+.promptDialog.fullscreen .btnSubmit {
+ display: block;
+}
+
+.promptDialog.fullscreen .btnPromptExit {
z-index: 1002;
position: absolute;
top: .5em;
@@ -14,7 +33,3 @@
width: 5.2vh;
height: 5.2vh;
}
-
-.txtPromptValue label {
- font-size: 200%;
-}
diff --git a/dashboard-ui/bower_components/iron-behaviors/.bower.json b/dashboard-ui/bower_components/iron-behaviors/.bower.json
index 17f68b335..db08f2170 100644
--- a/dashboard-ui/bower_components/iron-behaviors/.bower.json
+++ b/dashboard-ui/bower_components/iron-behaviors/.bower.json
@@ -29,14 +29,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"ignore": [],
- "homepage": "https://github.com/polymerelements/iron-behaviors",
+ "homepage": "https://github.com/PolymerElements/iron-behaviors",
"_release": "1.0.12",
"_resolution": {
"type": "version",
"tag": "v1.0.12",
"commit": "657f526a2382a659cdf4e13be87ecc89261588a3"
},
- "_source": "git://github.com/polymerelements/iron-behaviors.git",
+ "_source": "git://github.com/PolymerElements/iron-behaviors.git",
"_target": "^1.0.0",
- "_originalSource": "polymerelements/iron-behaviors"
+ "_originalSource": "PolymerElements/iron-behaviors"
}
\ No newline at end of file
diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json
index d875e3cb0..2b3357dcb 100644
--- a/dashboard-ui/bower_components/iron-selector/.bower.json
+++ b/dashboard-ui/bower_components/iron-selector/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-selector",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "Manages a set of elements that can be selected",
"private": true,
"license": "http://polymer.github.io/LICENSE.txt",
@@ -30,13 +30,13 @@
"web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "_release": "1.2.0",
+ "_release": "1.2.1",
"_resolution": {
"type": "version",
- "tag": "v1.2.0",
- "commit": "17a94bd1555d3321f4ecefd472f0c470d48e9e94"
+ "tag": "v1.2.1",
+ "commit": "1e6a7ee05e5ff350472ffc1ee780f145a7606b7b"
},
- "_source": "git://github.com/polymerelements/iron-selector.git",
+ "_source": "git://github.com/PolymerElements/iron-selector.git",
"_target": "^1.0.0",
- "_originalSource": "polymerelements/iron-selector"
+ "_originalSource": "PolymerElements/iron-selector"
}
\ No newline at end of file
diff --git a/dashboard-ui/bower_components/iron-selector/CONTRIBUTING.md b/dashboard-ui/bower_components/iron-selector/CONTRIBUTING.md
index 7b1014156..f147978a3 100644
--- a/dashboard-ui/bower_components/iron-selector/CONTRIBUTING.md
+++ b/dashboard-ui/bower_components/iron-selector/CONTRIBUTING.md
@@ -5,6 +5,11 @@ https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
If you edit that file, it will get updated everywhere else.
If you edit this file, your changes will get overridden :)
+
+You can however override the jsbin link with one that's customized to this
+specific element:
+
+jsbin=https://jsbin.com/cagaye/edit?html,output
-->
# Polymer Elements
## Guide for Contributors
@@ -41,7 +46,7 @@ Polymer Elements are built in the open, and the Polymer authors eagerly encourag
3. Click the `paper-foo` element.
```
- 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output).
+ 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [https://jsbin.com/cagaye/edit?html,output](https://jsbin.com/cagaye/edit?html,output).
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
@@ -51,14 +56,14 @@ Polymer Elements are built in the open, and the Polymer authors eagerly encourag
When submitting pull requests, please provide:
- 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax:
+ 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues in the pull request description using the following syntax:
```markdown
(For a single issue)
Fixes #20
(For multiple issues)
- Fixes #32, #40
+ Fixes #32, fixes #40
```
2. **A succinct description of the design** used to fix any related issues. For example:
diff --git a/dashboard-ui/bower_components/iron-selector/bower.json b/dashboard-ui/bower_components/iron-selector/bower.json
index 4259043eb..0b82c5b19 100644
--- a/dashboard-ui/bower_components/iron-selector/bower.json
+++ b/dashboard-ui/bower_components/iron-selector/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-selector",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "Manages a set of elements that can be selected",
"private": true,
"license": "http://polymer.github.io/LICENSE.txt",
diff --git a/dashboard-ui/bower_components/iron-selector/iron-selectable.html b/dashboard-ui/bower_components/iron-selector/iron-selectable.html
index 0f8ae62c1..3cd73bad8 100644
--- a/dashboard-ui/bower_components/iron-selector/iron-selectable.html
+++ b/dashboard-ui/bower_components/iron-selector/iron-selectable.html
@@ -281,7 +281,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
_valueForItem: function(item) {
- return item[this.attrForSelected] || item.getAttribute(this.attrForSelected);
+ var propValue = item[this.attrForSelected];
+ return propValue != undefined ? propValue : item.getAttribute(this.attrForSelected);
},
_applySelection: function(item, isSelected) {
diff --git a/dashboard-ui/bower_components/iron-selector/test/index.html b/dashboard-ui/bower_components/iron-selector/test/index.html
index da4fabe7c..bd8309104 100644
--- a/dashboard-ui/bower_components/iron-selector/test/index.html
+++ b/dashboard-ui/bower_components/iron-selector/test/index.html
@@ -25,6 +25,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
'basic.html',
'multi.html',
'next-previous.html',
+ 'numeric-ids.html',
'selected-attribute.html',
'template-repeat.html',
'content.html',
diff --git a/dashboard-ui/bower_components/iron-selector/test/numeric-ids.html b/dashboard-ui/bower_components/iron-selector/test/numeric-ids.html
new file mode 100644
index 000000000..3ce6c4516
--- /dev/null
+++ b/dashboard-ui/bower_components/iron-selector/test/numeric-ids.html
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+ iron-selector-numeric-ids
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+