diff --git a/dashboard-ui/apiclient/connectionmanager.js b/dashboard-ui/apiclient/connectionmanager.js index 6d9162ec12..6dc7235d44 100644 --- a/dashboard-ui/apiclient/connectionmanager.js +++ b/dashboard-ui/apiclient/connectionmanager.js @@ -558,7 +558,7 @@ self.logout = function () { - console.log('begin connectionManager loguot'); + Logger.log('begin connectionManager loguot'); var promises = []; for (var i = 0, length = apiClients.length; i < length; i++) { diff --git a/dashboard-ui/apiclient/credentials.js b/dashboard-ui/apiclient/credentials.js index 82a6688b81..b913efc6e7 100644 --- a/dashboard-ui/apiclient/credentials.js +++ b/dashboard-ui/apiclient/credentials.js @@ -16,7 +16,7 @@ var json = appStorage.getItem(key) || '{}'; - console.log('credentials initialized with: ' + json); + Logger.log('credentials initialized with: ' + json); credentials = JSON.parse(json); credentials.Servers = credentials.Servers || credentials.servers || []; diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/.bower.json b/dashboard-ui/bower_components/iron-autogrow-textarea/.bower.json new file mode 100644 index 0000000000..3ecd6f0c5d --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/.bower.json @@ -0,0 +1,48 @@ +{ + "name": "iron-autogrow-textarea", + "version": "1.0.2", + "description": "A textarea element that automatically grows with input", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "input", + "textarea" + ], + "main": [ + "iron-autogrow-textarea.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-autogrow-textarea.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-autogrow-textarea", + "ignore": [], + "dependencies": { + "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "iron-validatable-behavior": "PolymerElements/iron-validatable-behavior#^1.0.0", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "_release": "1.0.2", + "_resolution": { + "type": "version", + "tag": "v1.0.2", + "commit": "1697690de3010aa7b4d3557e7f3fa582e82dee6a" + }, + "_source": "git://github.com/PolymerElements/iron-autogrow-textarea.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/iron-autogrow-textarea" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/.gitignore b/dashboard-ui/bower_components/iron-autogrow-textarea/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/bower.json b/dashboard-ui/bower_components/iron-autogrow-textarea/bower.json new file mode 100644 index 0000000000..0ff6079644 --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/bower.json @@ -0,0 +1,39 @@ +{ + "name": "iron-autogrow-textarea", + "version": "1.0.2", + "description": "A textarea element that automatically grows with input", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "input", + "textarea" + ], + "main": [ + "iron-autogrow-textarea.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-autogrow-textarea.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-autogrow-textarea", + "ignore": [], + "dependencies": { + "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "iron-validatable-behavior": "PolymerElements/iron-validatable-behavior#^1.0.0", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/demo/index.html b/dashboard-ui/bower_components/iron-autogrow-textarea/demo/index.html new file mode 100644 index 0000000000..25a1c25a15 --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/demo/index.html @@ -0,0 +1,81 @@ + + + + + + + + + + iron-autogrow-textarea demo + + + + + + + + + +
+

Updating the value imperatively

+ + +

Custom

+
+

Scrolls after 4 rows:

+ +

Initial height of 4 rows

+ +
+
+ + + + + diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/hero.svg b/dashboard-ui/bower_components/iron-autogrow-textarea/hero.svg new file mode 100644 index 0000000000..19ec70a054 --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/hero.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/index.html b/dashboard-ui/bower_components/iron-autogrow-textarea/index.html new file mode 100644 index 0000000000..3be2964faf --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/index.html @@ -0,0 +1,30 @@ + + + + + + + + + iron-autogrow-textarea + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html b/dashboard-ui/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html new file mode 100644 index 0000000000..54decc8d94 --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/test/basic.html b/dashboard-ui/bower_components/iron-autogrow-textarea/test/basic.html new file mode 100644 index 0000000000..af736a0a1f --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/test/basic.html @@ -0,0 +1,126 @@ + + + + + + iron-autogrow-textarea tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-autogrow-textarea/test/index.html b/dashboard-ui/bower_components/iron-autogrow-textarea/test/index.html new file mode 100644 index 0000000000..8790abe4e9 --- /dev/null +++ b/dashboard-ui/bower_components/iron-autogrow-textarea/test/index.html @@ -0,0 +1,25 @@ + + + + + + + iron-autogrow-textarea tests + + + + + + diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/.bower.json b/dashboard-ui/bower_components/iron-form-element-behavior/.bower.json new file mode 100644 index 0000000000..f1369b1635 --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/.bower.json @@ -0,0 +1,37 @@ +{ + "name": "iron-form-element-behavior", + "version": "1.0.1", + "license": "http://polymer.github.io/LICENSE.txt", + "private": true, + "main": "iron-form-element-behavior", + "authors": "The Polymer Authors", + "description": "Enables a custom element to be included in an iron-form", + "keywords": [ + "web-components", + "polymer", + "form" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-form-element-behavior.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "homepage": "https://github.com/PolymerElements/iron-form-element-behavior", + "_release": "1.0.1", + "_resolution": { + "type": "version", + "tag": "v1.0.1", + "commit": "f386143e866c320025589f3d79798c12103377a4" + }, + "_source": "git://github.com/PolymerElements/iron-form-element-behavior.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/iron-form-element-behavior" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/.gitignore b/dashboard-ui/bower_components/iron-form-element-behavior/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/bower.json b/dashboard-ui/bower_components/iron-form-element-behavior/bower.json new file mode 100644 index 0000000000..1e141f2c61 --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/bower.json @@ -0,0 +1,27 @@ +{ + "name": "iron-form-element-behavior", + "version": "1.0.1", + "license": "http://polymer.github.io/LICENSE.txt", + "private": true, + "main": "iron-form-element-behavior", + "authors": "The Polymer Authors", + "description": "Enables a custom element to be included in an iron-form", + "keywords": [ + "web-components", + "polymer", + "form" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-form-element-behavior.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/demo/index.html b/dashboard-ui/bower_components/iron-form-element-behavior/demo/index.html new file mode 100644 index 0000000000..b40998de4d --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/demo/index.html @@ -0,0 +1,53 @@ + + + + + + iron-form-element-behavior demo + + + + + + + + + + + + + +
+ Element the form is tracking: +
+ Element the form isn't tracking: +
+ Another one the form is tracking: + +
+ +

Elements tracked by the form:

+ + + + + diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/demo/simple-element.html b/dashboard-ui/bower_components/iron-form-element-behavior/demo/simple-element.html new file mode 100644 index 0000000000..450276923b --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/demo/simple-element.html @@ -0,0 +1,27 @@ + + + + + diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/demo/simple-form.html b/dashboard-ui/bower_components/iron-form-element-behavior/demo/simple-form.html new file mode 100644 index 0000000000..82acbe5f36 --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/demo/simple-form.html @@ -0,0 +1,42 @@ + + + + diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/index.html b/dashboard-ui/bower_components/iron-form-element-behavior/index.html new file mode 100644 index 0000000000..8d748c0509 --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/index.html @@ -0,0 +1,30 @@ + + + + + + + + + iron-form-element-behavior + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-form-element-behavior/iron-form-element-behavior.html b/dashboard-ui/bower_components/iron-form-element-behavior/iron-form-element-behavior.html new file mode 100644 index 0000000000..d7678a78df --- /dev/null +++ b/dashboard-ui/bower_components/iron-form-element-behavior/iron-form-element-behavior.html @@ -0,0 +1,50 @@ + + + + + + diff --git a/dashboard-ui/bower_components/iron-input/.bower.json b/dashboard-ui/bower_components/iron-input/.bower.json new file mode 100644 index 0000000000..1383a44cb5 --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/.bower.json @@ -0,0 +1,45 @@ +{ + "name": "iron-input", + "version": "1.0.3", + "description": "An input element with data binding", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "input" + ], + "main": [ + "iron-input.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-input.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-input", + "ignore": [], + "dependencies": { + "iron-validatable-behavior": "PolymerElements/iron-validatable-behavior#^1.0.0", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "paper-styles": "polymerelements/paper-styles#^1.0.2", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "_release": "1.0.3", + "_resolution": { + "type": "version", + "tag": "v1.0.3", + "commit": "edb505f41d67120cb505deedb92aa69e90078d2f" + }, + "_source": "git://github.com/PolymerElements/iron-input.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/iron-input" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-input/.gitignore b/dashboard-ui/bower_components/iron-input/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/iron-input/bower.json b/dashboard-ui/bower_components/iron-input/bower.json new file mode 100644 index 0000000000..c4c8951c66 --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/bower.json @@ -0,0 +1,36 @@ +{ + "name": "iron-input", + "version": "1.0.3", + "description": "An input element with data binding", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "input" + ], + "main": [ + "iron-input.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-input.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-input", + "ignore": [], + "dependencies": { + "iron-validatable-behavior": "PolymerElements/iron-validatable-behavior#^1.0.0", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "paper-styles": "polymerelements/paper-styles#^1.0.2", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/iron-input/demo/index.html b/dashboard-ui/bower_components/iron-input/demo/index.html new file mode 100644 index 0000000000..8d4d87915c --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/demo/index.html @@ -0,0 +1,87 @@ + + + + + + + + + + iron-input demo + + + + + + + + + + + + +
+ +

only allows these characters: + !@#0123456789

+ + +
+ + + + + diff --git a/dashboard-ui/bower_components/iron-input/hero.svg b/dashboard-ui/bower_components/iron-input/hero.svg new file mode 100644 index 0000000000..146ffeac67 --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/hero.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-input/index.html b/dashboard-ui/bower_components/iron-input/index.html new file mode 100644 index 0000000000..ca0dac066a --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/index.html @@ -0,0 +1,30 @@ + + + + + + + + + iron-input + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-input/iron-input.html b/dashboard-ui/bower_components/iron-input/iron-input.html new file mode 100644 index 0000000000..3d8cccbf70 --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/iron-input.html @@ -0,0 +1,237 @@ + + + + + + diff --git a/dashboard-ui/bower_components/iron-input/test/index.html b/dashboard-ui/bower_components/iron-input/test/index.html new file mode 100644 index 0000000000..839cc3f111 --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/test/index.html @@ -0,0 +1,24 @@ + + + + + + + iron-input ests + + + + + + diff --git a/dashboard-ui/bower_components/iron-input/test/iron-input.html b/dashboard-ui/bower_components/iron-input/test/iron-input.html new file mode 100644 index 0000000000..b0ccb8f4df --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/test/iron-input.html @@ -0,0 +1,139 @@ + + + + + + iron-input tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-input/test/letters-only.html b/dashboard-ui/bower_components/iron-input/test/letters-only.html new file mode 100644 index 0000000000..bfc301c3e4 --- /dev/null +++ b/dashboard-ui/bower_components/iron-input/test/letters-only.html @@ -0,0 +1,30 @@ + + + + + + diff --git a/dashboard-ui/bower_components/iron-range-behavior/.bower.json b/dashboard-ui/bower_components/iron-range-behavior/.bower.json new file mode 100644 index 0000000000..05c3dafcbb --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/.bower.json @@ -0,0 +1,40 @@ +{ + "name": "iron-range-behavior", + "version": "1.0.2", + "license": "http://polymer.github.io/LICENSE.txt", + "description": "Provides a behavior for something with a minimum and maximum value", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "behavior" + ], + "main": [ + "iron-range-behavior.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-range-behavior.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-input": "PolymerElements/iron-input#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "homepage": "https://github.com/PolymerElements/iron-range-behavior", + "_release": "1.0.2", + "_resolution": { + "type": "version", + "tag": "v1.0.2", + "commit": "a743ac0b204a8e76466c2dba349ab2180c9f15f5" + }, + "_source": "git://github.com/PolymerElements/iron-range-behavior.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/iron-range-behavior" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-range-behavior/.gitignore b/dashboard-ui/bower_components/iron-range-behavior/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/iron-range-behavior/bower.json b/dashboard-ui/bower_components/iron-range-behavior/bower.json new file mode 100644 index 0000000000..6abc83999e --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/bower.json @@ -0,0 +1,30 @@ +{ + "name": "iron-range-behavior", + "version": "1.0.2", + "license": "http://polymer.github.io/LICENSE.txt", + "description": "Provides a behavior for something with a minimum and maximum value", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "behavior" + ], + "main": [ + "iron-range-behavior.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-range-behavior.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-input": "PolymerElements/iron-input#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/iron-range-behavior/demo/index.html b/dashboard-ui/bower_components/iron-range-behavior/demo/index.html new file mode 100644 index 0000000000..ce397365e0 --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/demo/index.html @@ -0,0 +1,79 @@ + + + + + iron-range-behavior demo + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-range-behavior/index.html b/dashboard-ui/bower_components/iron-range-behavior/index.html new file mode 100644 index 0000000000..cc77788735 --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/index.html @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-range-behavior/iron-range-behavior.html b/dashboard-ui/bower_components/iron-range-behavior/iron-range-behavior.html new file mode 100644 index 0000000000..4306e6924e --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/iron-range-behavior.html @@ -0,0 +1,109 @@ + + + + + diff --git a/dashboard-ui/bower_components/iron-range-behavior/test/basic.html b/dashboard-ui/bower_components/iron-range-behavior/test/basic.html new file mode 100644 index 0000000000..43f93f8975 --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/test/basic.html @@ -0,0 +1,111 @@ + + + + + + iron-range-behavior + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-range-behavior/test/index.html b/dashboard-ui/bower_components/iron-range-behavior/test/index.html new file mode 100644 index 0000000000..155baeabed --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/test/index.html @@ -0,0 +1,25 @@ + + + + + + + Tests + + + + + + diff --git a/dashboard-ui/bower_components/iron-range-behavior/test/x-progressbar.html b/dashboard-ui/bower_components/iron-range-behavior/test/x-progressbar.html new file mode 100644 index 0000000000..f99b0d9d56 --- /dev/null +++ b/dashboard-ui/bower_components/iron-range-behavior/test/x-progressbar.html @@ -0,0 +1,18 @@ + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/.bower.json b/dashboard-ui/bower_components/iron-validatable-behavior/.bower.json new file mode 100644 index 0000000000..b1acc42ea1 --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/.bower.json @@ -0,0 +1,44 @@ +{ + "name": "iron-validatable-behavior", + "version": "1.0.2", + "description": "Provides a behavior for an element that validates user input", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "iron", + "behavior" + ], + "main": [ + "iron-validatable-behavior.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-validatable-behavior.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-validatable-behavior", + "ignore": [], + "dependencies": { + "iron-meta": "PolymerElements/iron-meta#^1.0.0", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "paper-styles": "PolymerElements/paper-styles#^1.0.4", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "_release": "1.0.2", + "_resolution": { + "type": "version", + "tag": "1.0.2", + "commit": "a4fc340fdb268e274f312dadedd0633b025ac3a4" + }, + "_source": "git://github.com/PolymerElements/iron-validatable-behavior.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/iron-validatable-behavior" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/.gitignore b/dashboard-ui/bower_components/iron-validatable-behavior/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/bower.json b/dashboard-ui/bower_components/iron-validatable-behavior/bower.json new file mode 100644 index 0000000000..eaab38760b --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/bower.json @@ -0,0 +1,35 @@ +{ + "name": "iron-validatable-behavior", + "version": "1.0.2", + "description": "Provides a behavior for an element that validates user input", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "iron", + "behavior" + ], + "main": [ + "iron-validatable-behavior.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-validatable-behavior.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-validatable-behavior", + "ignore": [], + "dependencies": { + "iron-meta": "PolymerElements/iron-meta#^1.0.0", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "paper-styles": "PolymerElements/paper-styles#^1.0.4", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/demo/cats-only.html b/dashboard-ui/bower_components/iron-validatable-behavior/demo/cats-only.html new file mode 100644 index 0000000000..83ef9ba617 --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/demo/cats-only.html @@ -0,0 +1,46 @@ + + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/demo/index.html b/dashboard-ui/bower_components/iron-validatable-behavior/demo/index.html new file mode 100644 index 0000000000..84b96a8dc2 --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/demo/index.html @@ -0,0 +1,71 @@ + + + + + + + + + + iron-validatable-behavior demo + + + + + + + + + + + +
+

<iron-validatable-behavior>

+ + + +
+ + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/demo/validatable-input.html b/dashboard-ui/bower_components/iron-validatable-behavior/demo/validatable-input.html new file mode 100644 index 0000000000..19cf477598 --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/demo/validatable-input.html @@ -0,0 +1,46 @@ + + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/index.html b/dashboard-ui/bower_components/iron-validatable-behavior/index.html new file mode 100644 index 0000000000..cfaa5b1759 --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/index.html @@ -0,0 +1,30 @@ + + + + + + + + + iron-validatable-behavior + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/iron-validatable-behavior.html b/dashboard-ui/bower_components/iron-validatable-behavior/iron-validatable-behavior.html new file mode 100644 index 0000000000..c59c47e27d --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/iron-validatable-behavior.html @@ -0,0 +1,101 @@ + + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/test/index.html b/dashboard-ui/bower_components/iron-validatable-behavior/test/index.html new file mode 100644 index 0000000000..05194fdd8f --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/test/index.html @@ -0,0 +1,35 @@ + + + + + + paper-validatable-behavior tests + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/test/iron-validatable-behavior.html b/dashboard-ui/bower_components/iron-validatable-behavior/test/iron-validatable-behavior.html new file mode 100644 index 0000000000..435c034c7c --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/test/iron-validatable-behavior.html @@ -0,0 +1,52 @@ + + + + + + iron-validatable-behavior tests + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-validatable-behavior/test/test-validatable.html b/dashboard-ui/bower_components/iron-validatable-behavior/test/test-validatable.html new file mode 100644 index 0000000000..51513bff01 --- /dev/null +++ b/dashboard-ui/bower_components/iron-validatable-behavior/test/test-validatable.html @@ -0,0 +1,28 @@ + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/.bower.json b/dashboard-ui/bower_components/paper-input/.bower.json new file mode 100644 index 0000000000..ad35939b91 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/.bower.json @@ -0,0 +1,54 @@ +{ + "name": "paper-input", + "version": "1.0.5", + "description": "Material design text fields", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "input" + ], + "main": [ + "paper-input.html", + "paper-textarea.html", + "paper-input-behavior.html", + "paper-input-container.html", + "paper-input-error.html", + "paper-input-char-counter.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/paper-input.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/paper-input", + "ignore": [], + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0", + "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", + "iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0", + "iron-input": "PolymerElements/iron-input#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0", + "iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "_release": "1.0.5", + "_resolution": { + "type": "version", + "tag": "v1.0.5", + "commit": "72821a081710d9d5443e7b2311ff561def260807" + }, + "_source": "git://github.com/PolymerElements/paper-input.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/paper-input" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-input/.gitignore b/dashboard-ui/bower_components/paper-input/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/paper-input/all-imports.html b/dashboard-ui/bower_components/paper-input/all-imports.html new file mode 100644 index 0000000000..0f45771864 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/all-imports.html @@ -0,0 +1,12 @@ + + + + diff --git a/dashboard-ui/bower_components/paper-input/bower.json b/dashboard-ui/bower_components/paper-input/bower.json new file mode 100644 index 0000000000..a306a1087a --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/bower.json @@ -0,0 +1,45 @@ +{ + "name": "paper-input", + "version": "1.0.5", + "description": "Material design text fields", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "input" + ], + "main": [ + "paper-input.html", + "paper-textarea.html", + "paper-input-behavior.html", + "paper-input-container.html", + "paper-input-error.html", + "paper-input-char-counter.html" + ], + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/paper-input.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/paper-input", + "ignore": [], + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0", + "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", + "iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0", + "iron-input": "PolymerElements/iron-input#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0", + "iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/paper-input/demo/index.html b/dashboard-ui/bower_components/paper-input/demo/index.html new file mode 100644 index 0000000000..57150bd5f9 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/demo/index.html @@ -0,0 +1,96 @@ + + + + + + + + + + paper-input demo + + + + + + + + + + + + + + + + + + + +
+

Text input

+
+ + + + + + + +
+ +

Text area

+
+ +
+ +

Validation

+
+ + + +
+ +
+ +

Character counter

+
+ + + + + + + +
+ +

Complex inputs

+
+ +
+
+ + + diff --git a/dashboard-ui/bower_components/paper-input/demo/ssn-input.html b/dashboard-ui/bower_components/paper-input/demo/ssn-input.html new file mode 100644 index 0000000000..6037909214 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/demo/ssn-input.html @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/demo/ssn-validator.html b/dashboard-ui/bower_components/paper-input/demo/ssn-validator.html new file mode 100644 index 0000000000..4ab92f77ab --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/demo/ssn-validator.html @@ -0,0 +1,31 @@ + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/hero.svg b/dashboard-ui/bower_components/paper-input/hero.svg new file mode 100644 index 0000000000..146ffeac67 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/hero.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/index.html b/dashboard-ui/bower_components/paper-input/index.html new file mode 100644 index 0000000000..e6c9fadcee --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/index.html @@ -0,0 +1,28 @@ + + + + + + + + + paper-input + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-input-addon-behavior.html b/dashboard-ui/bower_components/paper-input/paper-input-addon-behavior.html new file mode 100644 index 0000000000..0b021a5dd4 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-input-addon-behavior.html @@ -0,0 +1,47 @@ + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-input-behavior.html b/dashboard-ui/bower_components/paper-input/paper-input-behavior.html new file mode 100644 index 0000000000..0afbc832c4 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-input-behavior.html @@ -0,0 +1,328 @@ + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-input-char-counter.html b/dashboard-ui/bower_components/paper-input/paper-input-char-counter.html new file mode 100644 index 0000000000..566f8c63ff --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-input-char-counter.html @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-input-container.html b/dashboard-ui/bower_components/paper-input/paper-input-container.html new file mode 100644 index 0000000000..e9088c26df --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-input-container.html @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-input-error.html b/dashboard-ui/bower_components/paper-input/paper-input-error.html new file mode 100644 index 0000000000..c034e9624c --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-input-error.html @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-input.html b/dashboard-ui/bower_components/paper-input/paper-input.html new file mode 100644 index 0000000000..5aa4a6eec3 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-input.html @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/paper-textarea.html b/dashboard-ui/bower_components/paper-input/paper-textarea.html new file mode 100644 index 0000000000..d47a5b5071 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/paper-textarea.html @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/index.html b/dashboard-ui/bower_components/paper-input/test/index.html new file mode 100644 index 0000000000..cfed0b120d --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/index.html @@ -0,0 +1,28 @@ + + + + + + + paper-input tests + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/letters-only.html b/dashboard-ui/bower_components/paper-input/test/letters-only.html new file mode 100644 index 0000000000..bfc301c3e4 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/letters-only.html @@ -0,0 +1,30 @@ + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/paper-input-char-counter.html b/dashboard-ui/bower_components/paper-input/test/paper-input-char-counter.html new file mode 100644 index 0000000000..6986aa7ff5 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/paper-input-char-counter.html @@ -0,0 +1,112 @@ + + + + + + paper-input-counter tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/paper-input-container.html b/dashboard-ui/bower_components/paper-input/test/paper-input-container.html new file mode 100644 index 0000000000..0b7acf87c8 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/paper-input-container.html @@ -0,0 +1,237 @@ + + + + + + paper-input-container tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/paper-input-error.html b/dashboard-ui/bower_components/paper-input/test/paper-input-error.html new file mode 100644 index 0000000000..2753b857cc --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/paper-input-error.html @@ -0,0 +1,70 @@ + + + + + + paper-input-error tests + + + + + + + + + + + + + + + + + + + + + error + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/paper-input.html b/dashboard-ui/bower_components/paper-input/test/paper-input.html new file mode 100644 index 0000000000..1c4dc25a3a --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/paper-input.html @@ -0,0 +1,244 @@ + + + + + + paper-input tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/test/paper-textarea.html b/dashboard-ui/bower_components/paper-input/test/paper-textarea.html new file mode 100644 index 0000000000..7371a778d5 --- /dev/null +++ b/dashboard-ui/bower_components/paper-input/test/paper-textarea.html @@ -0,0 +1,200 @@ + + + + + + paper-textarea tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-progress/.bower.json b/dashboard-ui/bower_components/paper-progress/.bower.json new file mode 100644 index 0000000000..100fe00c40 --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/.bower.json @@ -0,0 +1,41 @@ +{ + "name": "paper-progress", + "version": "1.0.0", + "license": "http://polymer.github.io/LICENSE.txt", + "description": "A material design progress bar", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "progress" + ], + "main": [ + "paper-progress.html" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/paper-progress.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "iron-range-behavior": "PolymerElements/iron-range-behavior#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "paper-button": "PolymerElements/paper-button#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "homepage": "https://github.com/PolymerElements/paper-progress", + "_release": "1.0.0", + "_resolution": { + "type": "version", + "tag": "v1.0.0", + "commit": "1bef80a0d4110654b85746e70c006796ce8cdc2c" + }, + "_source": "git://github.com/PolymerElements/paper-progress.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/paper-progress" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-progress/.gitignore b/dashboard-ui/bower_components/paper-progress/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/paper-progress/bower.json b/dashboard-ui/bower_components/paper-progress/bower.json new file mode 100644 index 0000000000..8c17acbbf0 --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/bower.json @@ -0,0 +1,31 @@ +{ + "name": "paper-progress", + "version": "1.0.0", + "license": "http://polymer.github.io/LICENSE.txt", + "description": "A material design progress bar", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "progress" + ], + "main": [ + "paper-progress.html" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/paper-progress.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "iron-range-behavior": "PolymerElements/iron-range-behavior#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "paper-button": "PolymerElements/paper-button#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/paper-progress/demo/index.html b/dashboard-ui/bower_components/paper-progress/demo/index.html new file mode 100644 index 0000000000..97f8c1b40c --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/demo/index.html @@ -0,0 +1,122 @@ + + + + + paper-progress demo + + + + + + + + + + + + + + + +
+

Progress bar

+
+ + Start +
+ +

Indeterminate

+
+
+
+
+ +

Color

+
+
+
+
+
+
+
+
+ + + + + diff --git a/dashboard-ui/bower_components/paper-progress/hero.svg b/dashboard-ui/bower_components/paper-progress/hero.svg new file mode 100644 index 0000000000..dc422a4912 --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/hero.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-progress/index.html b/dashboard-ui/bower_components/paper-progress/index.html new file mode 100644 index 0000000000..225e3dd93d --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/index.html @@ -0,0 +1,28 @@ + + + + + + + + + paper-progress + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-progress/paper-progress.html b/dashboard-ui/bower_components/paper-progress/paper-progress.html new file mode 100644 index 0000000000..949e1bc510 --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/paper-progress.html @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-progress/test/basic.html b/dashboard-ui/bower_components/paper-progress/test/basic.html new file mode 100644 index 0000000000..dddb6efff6 --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/test/basic.html @@ -0,0 +1,121 @@ + + + + + + paper-progress test + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-progress/test/index.html b/dashboard-ui/bower_components/paper-progress/test/index.html new file mode 100644 index 0000000000..f07aca92de --- /dev/null +++ b/dashboard-ui/bower_components/paper-progress/test/index.html @@ -0,0 +1,25 @@ + + + + + + + Tests + + + + + + diff --git a/dashboard-ui/bower_components/paper-slider/.bower.json b/dashboard-ui/bower_components/paper-slider/.bower.json new file mode 100644 index 0000000000..85a0eee31f --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/.bower.json @@ -0,0 +1,50 @@ +{ + "name": "paper-slider", + "version": "1.0.3", + "description": "A material design-style slider", + "license": "http://polymer.github.io/LICENSE.txt", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "slider", + "control" + ], + "main": [ + "paper-slider.html" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/paper-slider.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "paper-input": "PolymerElements/paper-input#^1.0.0", + "paper-progress": "PolymerElements/paper-progress#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "paper-ripple": "PolymerElements/paper-ripple#^1.0.0", + "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", + "paper-behaviors": "PolymerElements/paper-behaviors#^1.0.0", + "iron-a11y-keys-behavior": "PolymerElements/iron-a11y-keys-behavior#^1.0.0", + "iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "homepage": "https://github.com/PolymerElements/paper-slider", + "_release": "1.0.3", + "_resolution": { + "type": "version", + "tag": "v1.0.3", + "commit": "d2b1542b6f02595fa124359945a4cc00cb0fca44" + }, + "_source": "git://github.com/PolymerElements/paper-slider.git", + "_target": "~1.0.3", + "_originalSource": "PolymerElements/paper-slider", + "_direct": true +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-slider/.gitignore b/dashboard-ui/bower_components/paper-slider/.gitignore new file mode 100644 index 0000000000..8d4ae2536a --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/dashboard-ui/bower_components/paper-slider/bower.json b/dashboard-ui/bower_components/paper-slider/bower.json new file mode 100644 index 0000000000..ac199154ec --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/bower.json @@ -0,0 +1,39 @@ +{ + "name": "paper-slider", + "version": "1.0.3", + "description": "A material design-style slider", + "license": "http://polymer.github.io/LICENSE.txt", + "authors": "The Polymer Authors", + "keywords": [ + "web-components", + "polymer", + "slider", + "control" + ], + "main": [ + "paper-slider.html" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/paper-slider.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "paper-input": "PolymerElements/paper-input#^1.0.0", + "paper-progress": "PolymerElements/paper-progress#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "paper-ripple": "PolymerElements/paper-ripple#^1.0.0", + "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", + "paper-behaviors": "PolymerElements/paper-behaviors#^1.0.0", + "iron-a11y-keys-behavior": "PolymerElements/iron-a11y-keys-behavior#^1.0.0", + "iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0", + "web-component-tester": "*", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + } +} diff --git a/dashboard-ui/bower_components/paper-slider/demo/index.html b/dashboard-ui/bower_components/paper-slider/demo/index.html new file mode 100644 index 0000000000..ccc06f279b --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/demo/index.html @@ -0,0 +1,117 @@ + + + + + paper-slider demo + + + + + + + + + + + + + + +
+

Default

+
+
Oxygen
+

+
Argon
+

+
Hydrogen
+

+
Nitrogen
+

+
Sprinkles
+ +
+ +

Editable

+
+
+
R
+ +
+
+
G
+ +
+
+
B
+ +
+
+
α
+ +
+
+ +

Labelled pins

+
+
Brightness

+ +
Ratings:

+ +
+
+ + + + + diff --git a/dashboard-ui/bower_components/paper-slider/hero.svg b/dashboard-ui/bower_components/paper-slider/hero.svg new file mode 100644 index 0000000000..8a518e1ee0 --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/hero.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-slider/index.html b/dashboard-ui/bower_components/paper-slider/index.html new file mode 100644 index 0000000000..6add0749d3 --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/index.html @@ -0,0 +1,29 @@ + + + + + + + + + paper-slider + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-slider/paper-slider.css b/dashboard-ui/bower_components/paper-slider/paper-slider.css new file mode 100644 index 0000000000..af769f4aee --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/paper-slider.css @@ -0,0 +1,257 @@ +/** +@license +Copyright (c) 2015 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +Code distributed by Google as part of the polymer project is also +subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt +*/ + +:host { + display: inline-block; + width: 200px; + cursor: default; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +:host(:not([disabled])) #sliderBar::shadow #activeProgress { + background-color: var(--paper-slider-active-color, --google-blue-700); +} + +:host(:not([disabled])) #sliderBar::shadow #secondaryProgress { + background-color: var(--paper-slider-secondary-color, --google-blue-300); +} + +:host([disabled]) #sliderBar::shadow #activeProgress { + background-color: var(--paper-slider-disabled-active-color, --google-grey-500); +} + +:host([disabled]) #sliderBar::shadow #secondaryProgress { + background-color: var(--paper-slider-disabled-secondary-color, --google-grey-300); +} + +:host(:focus) { + outline: none; +} + +#sliderContainer { + position: relative; + width: calc(100% - 32px); + height: 32px; +} + +#sliderContainer.editable { + float: left; + width: calc(100% - 72px); + margin: 12px 0; +} + +.bar-container { + position: absolute; + top: 0; + left: 16px; + height: 100%; + width: 100%; + overflow: hidden; +} + +.ring > .bar-container { + left: 20px; + width: calc(100% - 4px); + transition: left 0.18s ease, width 0.18s ease; +} + +.ring.expand:not(.pin) > .bar-container { + left: 30px; + width: calc(100% - 14px); +} + +.ring.expand.dragging > .bar-container { + transition: none; +} + +#sliderBar { + position: absolute; + top: 15px; + left: 0; + height: 2px; + width: 100%; + padding: 8px 0; + margin: -8px 0; + background-color: var(--paper-slider-bar-color, transparent); +} + +.ring #sliderBar { + left: -4px; + width: calc(100% + 4px); +} + +.ring.expand:not(.pin) #sliderBar { + left: -14px; + width: calc(100% + 14px); +} + +.slider-markers { + position: absolute; + top: 15px; + left: 15px; + height: 2px; + width: calc(100% + 2px); + box-sizing: border-box; + pointer-events: none; +} + +.slider-markers::after, +.slider-marker::after { + content: ""; + display: block; + width: 2px; + height: 2px; + border-radius: 50%; + background-color: black; +} + +.transiting #sliderBar::shadow #activeProgress { + -webkit-transition: -webkit-transform 0.08s ease; + transition: transform 0.08s ease; +} + +#sliderKnob { + @apply(--layout-center-justified); + @apply(--layout-center); + @apply(--layout-horizontal); + + position: absolute; + left: 0; + top: 0; + width: 32px; + height: 32px; +} + +.transiting > #sliderKnob { + transition: left 0.08s ease; +} + +#sliderKnob:focus { + outline: none; +} + +#sliderKnob.dragging { + transition: none; +} + +.snaps > #sliderKnob.dragging { + transition: -webkit-transform 0.08s ease; + transition: transform 0.08s ease; +} + +#sliderKnobInner { + width: 12px; + height: 12px; + box-sizing: border-box; + -moz-box-sizing: border-box; + border-radius: 50%; + background-color: var(--paper-slider-knob-color, --google-blue-700); + transition-property: height, width, background-color, border; + transition-duration: 0.1s; + transition-timing-function: ease; +} + +.expand:not(.pin) > #sliderKnob > #sliderKnobInner { + width: 100%; + height: 100%; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.ring > #sliderKnob > #sliderKnobInner { + background-color: transparent; + border: 2px solid #c8c8c8; +} + +#sliderKnobInner::before { + background-color: var(--paper-slider-pin-color, --google-blue-700); +} + +.pin > #sliderKnob > #sliderKnobInner::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 26px; + height: 26px; + margin-left: 3px; + border-radius: 50% 50% 50% 0; + -webkit-transform: rotate(-45deg) scale(0) translate(0); + transform: rotate(-45deg) scale(0) translate(0); +} + +#sliderKnobInner::before, +#sliderKnobInner::after { + transition: -webkit-transform .2s ease, background-color .18s ease; + transition: transform .2s ease, background-color .18s ease; +} + +.pin.ring > #sliderKnob > #sliderKnobInner::before { + background-color: #c8c8c8; +} + +.pin.expand > #sliderKnob > #sliderKnobInner::before { + -webkit-transform: rotate(-45deg) scale(1) translate(17px, -17px); + transform: rotate(-45deg) scale(1) translate(17px, -17px); +} + +.pin > #sliderKnob > #sliderKnobInner::after { + content: attr(value); + position: absolute; + top: 0; + left: 0; + width: 32px; + height: 26px; + text-align: center; + color: var(--paper-slider-font-color, #fff); + font-size: 10px; + -webkit-transform: scale(0) translate(0); + transform: scale(0) translate(0); +} + +.pin.expand > #sliderKnob > #sliderKnobInner::after { + -webkit-transform: scale(1) translate(0, -17px); + transform: scale(1) translate(0, -17px); +} + +/* editable: paper-input */ +.slider-input { + width: 40px; + float: right; + overflow: hidden; +} + +.slider-input::shadow input { + /* FIXME(ffu): should one be able set text-align directly on paper-input? */ + text-align: center; +} + +/* disabled state */ +#sliderContainer.disabled { + pointer-events: none; +} + +.disabled > #sliderKnob > #sliderKnobInner { + width: 8px; + height: 8px; + background-color: var(--paper-slider-disabled-knob-color, --google-grey-500); +} + +.disabled.ring > #sliderKnob > #sliderKnobInner { + background-color: transparent; +} + +paper-ripple { + color: var(--paper-slider-knob-color, --google-blue-700); +} diff --git a/dashboard-ui/bower_components/paper-slider/paper-slider.html b/dashboard-ui/bower_components/paper-slider/paper-slider.html new file mode 100644 index 0000000000..beaed90c5d --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/paper-slider.html @@ -0,0 +1,485 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-slider/test/basic.html b/dashboard-ui/bower_components/paper-slider/test/basic.html new file mode 100644 index 0000000000..bf421e91a6 --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/test/basic.html @@ -0,0 +1,186 @@ + + + + + + paper-slider test + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-slider/test/index.html b/dashboard-ui/bower_components/paper-slider/test/index.html new file mode 100644 index 0000000000..155baeabed --- /dev/null +++ b/dashboard-ui/bower_components/paper-slider/test/index.html @@ -0,0 +1,25 @@ + + + + + + + Tests + + + + + + diff --git a/dashboard-ui/cordova/android/androidcredentials.js b/dashboard-ui/cordova/android/androidcredentials.js index b462329c37..364c02f32b 100644 --- a/dashboard-ui/cordova/android/androidcredentials.js +++ b/dashboard-ui/cordova/android/androidcredentials.js @@ -2,7 +2,7 @@ function updateCredentials() { - console.log('sending updated credentials to ApiClientBridge'); + Logger.log('sending updated credentials to ApiClientBridge'); var json = JSON.stringify(ConnectionManager.credentialProvider().credentials()); var credentials = JSON.parse(json); @@ -21,7 +21,7 @@ function initNativeConnectionManager() { - console.log('initNativeConnectionManager'); + Logger.log('initNativeConnectionManager'); var capabilities = ConnectionManager.capabilities(); diff --git a/dashboard-ui/cordova/android/immersive.js b/dashboard-ui/cordova/android/immersive.js index 619cf3f166..689eefebde 100644 --- a/dashboard-ui/cordova/android/immersive.js +++ b/dashboard-ui/cordova/android/immersive.js @@ -1,11 +1,11 @@ (function () { function onSuccess() { - console.log('Immersive mode succeeded'); + Logger.log('Immersive mode succeeded'); } function onError() { - console.log('Immersive mode failed'); + Logger.log('Immersive mode failed'); } //// Is this plugin supported? @@ -89,7 +89,7 @@ Dashboard.ready(function () { - console.log('binding fullscreen to MediaController'); + Logger.log('binding fullscreen to MediaController'); $(MediaController).on('playerchange', function () { diff --git a/dashboard-ui/cordova/android/mediasession.js b/dashboard-ui/cordova/android/mediasession.js index 4f79e3996d..b58f9c56b3 100644 --- a/dashboard-ui/cordova/android/mediasession.js +++ b/dashboard-ui/cordova/android/mediasession.js @@ -96,7 +96,7 @@ function onPlaybackStart(e, state) { - console.log('nowplaying event: ' + e.type); + Logger.log('nowplaying event: ' + e.type); var player = this; @@ -107,7 +107,7 @@ function onPlaybackStopped(e, state) { - console.log('nowplaying event: ' + e.type); + Logger.log('nowplaying event: ' + e.type); var player = this; player.endPlayerUpdates(); @@ -142,7 +142,7 @@ currentPlayer = player; - console.log('binding remotecontrols to MediaPlayer'); + Logger.log('binding remotecontrols to MediaPlayer'); player.getPlayerState().done(function (state) { @@ -161,7 +161,7 @@ Dashboard.ready(function () { - console.log('binding remotecontrols to MediaController'); + Logger.log('binding remotecontrols to MediaController'); $(MediaController).on('playerchange', function () { diff --git a/dashboard-ui/cordova/android/vlcplayer.js b/dashboard-ui/cordova/android/vlcplayer.js index 598ea14e81..e66f780a24 100644 --- a/dashboard-ui/cordova/android/vlcplayer.js +++ b/dashboard-ui/cordova/android/vlcplayer.js @@ -39,7 +39,7 @@ function onError() { var errorCode = this.error ? this.error.code : ''; - console.log('Media element error code: ' + errorCode); + Logger.log('Media element error code: ' + errorCode); $(self).trigger('error'); } diff --git a/dashboard-ui/cordova/chromecast.js b/dashboard-ui/cordova/chromecast.js index 1590f953ae..742b1e5a43 100644 --- a/dashboard-ui/cordova/chromecast.js +++ b/dashboard-ui/cordova/chromecast.js @@ -27,14 +27,14 @@ $(castPlayer).on("connect", function (e) { - console.log('cc: connect'); + Logger.log('cc: connect'); // Reset this so the next query doesn't make it appear like content is playing. self.lastPlayerData = {}; }); $(castPlayer).on("playbackstart", function (e, data) { - console.log('cc: playbackstart'); + Logger.log('cc: playbackstart'); var state = self.getPlayerStateInternal(data); $(self).trigger("playbackstart", [state]); @@ -42,7 +42,7 @@ $(castPlayer).on("playbackstop", function (e, data) { - console.log('cc: playbackstop'); + Logger.log('cc: playbackstop'); var state = self.getPlayerStateInternal(data); $(self).trigger("playbackstop", [state]); @@ -53,7 +53,7 @@ $(castPlayer).on("playbackprogress", function (e, data) { - console.log('cc: positionchange'); + Logger.log('cc: positionchange'); var state = self.getPlayerStateInternal(data); $(self).trigger("positionchange", [state]); @@ -416,7 +416,7 @@ data = data || self.lastPlayerData; self.lastPlayerData = data; - console.log(JSON.stringify(data)); + Logger.log(JSON.stringify(data)); return data; }; @@ -459,7 +459,7 @@ } function handleSessionDisconnect() { - console.log("session disconnected"); + Logger.log("session disconnected"); cleanupSession(); MediaController.removeActivePlayer(PlayerName); @@ -469,7 +469,7 @@ currentWebAppSession = webAppSession; - console.log('session.connect succeeded'); + Logger.log('session.connect succeeded'); webAppSession.setWebAppSessionListener(); MediaController.setActivePlayer(PlayerName, convertDeviceToTarget(device)); @@ -530,15 +530,15 @@ function tryLaunchWebSession(device) { - console.log('calling launchWebApp'); + Logger.log('calling launchWebApp'); device.getWebAppLauncher().launchWebApp(ApplicationID).success(function (session) { - console.log('launchWebApp success. calling onSessionConnected'); + Logger.log('launchWebApp success. calling onSessionConnected'); setupWebAppSession(device, session, true); }).error(function (err1) { - console.log('launchWebApp error:' + JSON.stringify(err1)); + Logger.log('launchWebApp error:' + JSON.stringify(err1)); }); } @@ -547,22 +547,22 @@ // First try to join existing session. If it fails, launch a new one - console.log('calling joinWebApp'); + Logger.log('calling joinWebApp'); device.getWebAppLauncher().joinWebApp(ApplicationID).success(function (session) { - console.log('joinWebApp success. calling onSessionConnected'); + Logger.log('joinWebApp success. calling onSessionConnected'); setupWebAppSession(device, session, false); }).error(function (err) { - console.log('joinWebApp error: ' + JSON.stringify(err)); + Logger.log('joinWebApp error: ' + JSON.stringify(err)); if (enableRetry) { tryJoinWebSession(device, false); return; } - console.log('calling launchWebApp'); + Logger.log('calling launchWebApp'); tryLaunchWebSession(device); }); @@ -581,7 +581,7 @@ device.off("ready"); - console.log('creating webAppSession'); + Logger.log('creating webAppSession'); launchWebApp(device); } @@ -608,7 +608,7 @@ self.tryPairWithDevice = function (device, deferred) { - console.log('Will attempt to connect to Chromecast'); + Logger.log('Will attempt to connect to Chromecast'); device.on("disconnect", function () { device.off("ready"); @@ -616,18 +616,18 @@ }); if (device.isReady()) { - console.log('Device is already ready, calling onDeviceReady'); + Logger.log('Device is already ready, calling onDeviceReady'); onDeviceReady(device); } else { - console.log('Binding device ready handler'); + Logger.log('Binding device ready handler'); device.on("ready", function () { - console.log('device.ready fired'); + Logger.log('device.ready fired'); onDeviceReady(device); }); - console.log('Calling device.connect'); + Logger.log('Calling device.connect'); device.connect(); } }; @@ -636,7 +636,7 @@ if (newTarget.id != currentDeviceId) { if (currentWebAppSession) { - console.log('Disconnecting from chromecast'); + Logger.log('Disconnecting from chromecast'); //currentDevice.disconnect(); cleanupSession(); currentDevice = null; diff --git a/dashboard-ui/cordova/externalplayer.js b/dashboard-ui/cordova/externalplayer.js index b6dc32a33a..6e236307ea 100644 --- a/dashboard-ui/cordova/externalplayer.js +++ b/dashboard-ui/cordova/externalplayer.js @@ -8,12 +8,12 @@ }, function () { - console.log('plugin launch success'); + Logger.log('plugin launch success'); ExternalPlayer.onPlaybackStart(); }, function () { - console.log('plugin launch error'); + Logger.log('plugin launch error'); ExternalPlayer.onPlaybackStart(); }); } diff --git a/dashboard-ui/cordova/generaldevice.js b/dashboard-ui/cordova/generaldevice.js index ce035f1966..630e5e47d1 100644 --- a/dashboard-ui/cordova/generaldevice.js +++ b/dashboard-ui/cordova/generaldevice.js @@ -26,7 +26,7 @@ $(castPlayer).on("playbackstart", function (e, data) { - console.log('cc: playbackstart'); + Logger.log('cc: playbackstart'); var state = self.getPlayerStateInternal(data); $(self).trigger("playbackstart", [state]); @@ -34,7 +34,7 @@ $(castPlayer).on("playbackstop", function (e, data) { - console.log('cc: playbackstop'); + Logger.log('cc: playbackstop'); var state = self.getPlayerStateInternal(data); $(self).trigger("playbackstop", [state]); @@ -45,7 +45,7 @@ $(castPlayer).on("playbackprogress", function (e, data) { - console.log('cc: positionchange'); + Logger.log('cc: positionchange'); var state = self.getPlayerStateInternal(data); $(self).trigger("positionchange", [state]); @@ -193,12 +193,12 @@ } ).success(function (launchSession, mediaControl) { - console.log("Video launch successful"); + Logger.log("Video launch successful"); currentMediaControl = mediaControl && mediaControl.acquire(); }).error(function (err) { - console.log("error: " + err.message); + Logger.log("error: " + err.message); }); deferred.resolveWith(null, [streamInfo]); @@ -557,12 +557,12 @@ data = data || self.lastPlayerData; self.lastPlayerData = data; - console.log(JSON.stringify(data)); + Logger.log(JSON.stringify(data)); return data; }; function handleSessionDisconnect() { - console.log("session disconnected"); + Logger.log("session disconnected"); cleanupSession(); MediaController.removeActivePlayer(PlayerName); @@ -578,7 +578,7 @@ cleanupSession(); } - console.log('session.connect succeeded'); + Logger.log('session.connect succeeded'); MediaController.setActivePlayer(PlayerName, convertDeviceToTarget(device)); currentDevice = device; @@ -589,7 +589,7 @@ device.off("ready"); - console.log('creating webAppSession'); + Logger.log('creating webAppSession'); launchWebApp(device); } @@ -616,7 +616,7 @@ self.tryPairWithDevice = function (device, deferred) { - console.log('Will attempt to connect to Connect Device'); + Logger.log('Will attempt to connect to Connect Device'); device.on("disconnect", function () { device.off("ready"); @@ -624,18 +624,18 @@ }); if (device.isReady()) { - console.log('Device is already ready, calling onDeviceReady'); + Logger.log('Device is already ready, calling onDeviceReady'); onDeviceReady(device); } else { - console.log('Binding device ready handler'); + Logger.log('Binding device ready handler'); device.on("ready", function () { - console.log('device.ready fired'); + Logger.log('device.ready fired'); onDeviceReady(device); }); - console.log('Calling device.connect'); + Logger.log('Calling device.connect'); device.connect(); } }; @@ -645,7 +645,7 @@ if (currentDevice) { if (newTarget.id != currentDeviceId) { if (currentDevice) { - console.log('Disconnecting from connect device'); + Logger.log('Disconnecting from connect device'); //currentDevice.disconnect(); cleanupSession(); currentDevice = null; diff --git a/dashboard-ui/cordova/iap.js b/dashboard-ui/cordova/iap.js index 1e2607bd99..73a74b8e13 100644 --- a/dashboard-ui/cordova/iap.js +++ b/dashboard-ui/cordova/iap.js @@ -101,7 +101,7 @@ store.when(unlockAppProductId).updated(function (product) { if (product.loaded && product.valid && product.state == store.APPROVED) { - console.log('finishing previously created transaction'); + Logger.log('finishing previously created transaction'); product.finish(); } updateProductInfo(product); @@ -112,7 +112,7 @@ // go ask your boss about it! (just in case) store.ready(function () { - console.log("Store ready"); + Logger.log("Store ready"); }); // After we've done our setup, we tell the store to do diff --git a/dashboard-ui/cordova/imagestore.js b/dashboard-ui/cordova/imagestore.js index 449f13f2f5..515ccb8336 100644 --- a/dashboard-ui/cordova/imagestore.js +++ b/dashboard-ui/cordova/imagestore.js @@ -72,25 +72,25 @@ var deferred = DeferredBuilder.Deferred(); var key = getCacheKey(originalUrl); - console.log('getImageUrl:' + originalUrl); + Logger.log('getImageUrl:' + originalUrl); getFileSystem().done(function (fileSystem) { var path = fileSystem.root.toURL() + "/emby/cache/" + key; resolveLocalFileSystemURL(path, function (fileEntry) { var localUrl = normalizeReturnUrl(fileEntry.toURL()); - console.log('returning cached file: ' + localUrl); + Logger.log('returning cached file: ' + localUrl); deferred.resolveWith(null, [localUrl]); }, function () { - console.log('downloading: ' + originalUrl); + Logger.log('downloading: ' + originalUrl); var ft = new FileTransfer(); ft.download(originalUrl, path, function (entry) { var localUrl = normalizeReturnUrl(entry.toURL()); - console.log(localUrl); + Logger.log(localUrl); deferred.resolveWith(null, [localUrl]); }); }); diff --git a/dashboard-ui/cordova/remotecontrols.js b/dashboard-ui/cordova/remotecontrols.js index 12344e46d2..dd14a2564d 100644 --- a/dashboard-ui/cordova/remotecontrols.js +++ b/dashboard-ui/cordova/remotecontrols.js @@ -71,7 +71,7 @@ function onPlaybackStart(e, state) { - console.log('nowplaying event: ' + e.type); + Logger.log('nowplaying event: ' + e.type); var player = this; @@ -82,7 +82,7 @@ function onPlaybackStopped(e, state) { - console.log('nowplaying event: ' + e.type); + Logger.log('nowplaying event: ' + e.type); var player = this; player.endPlayerUpdates(); @@ -122,12 +122,12 @@ function onUpdateMetasSuccess() { - console.log('onUpdateMetasSuccess'); + Logger.log('onUpdateMetasSuccess'); } function onUpdateMetasFail(fail) { - console.log('onUpdateMetasFail: ' + fail); + Logger.log('onUpdateMetasFail: ' + fail); } function bindToPlayer(player) { @@ -140,7 +140,7 @@ return; } - console.log('binding remotecontrols to MediaPlayer'); + Logger.log('binding remotecontrols to MediaPlayer'); player.getPlayerState().done(function (state) { @@ -159,7 +159,7 @@ Dashboard.ready(function () { - console.log('binding remotecontrols to MediaController'); + Logger.log('binding remotecontrols to MediaController'); $(MediaController).on('playerchange', function () { diff --git a/dashboard-ui/cordova/serverdiscovery.js b/dashboard-ui/cordova/serverdiscovery.js index 2b57f7b4fa..5ca80522cb 100644 --- a/dashboard-ui/cordova/serverdiscovery.js +++ b/dashboard-ui/cordova/serverdiscovery.js @@ -62,7 +62,7 @@ function startTimer() { - console.log('starting udp receive timer with timeout ms: ' + timeoutMs); + Logger.log('starting udp receive timer with timeout ms: ' + timeoutMs); timeout = setTimeout(onTimerExpired, timeoutMs); } @@ -71,13 +71,13 @@ try { - console.log('ServerDiscovery message received'); + Logger.log('ServerDiscovery message received'); - console.log(info); + Logger.log(info); if (info != null && info.socketId == socketId) { var json = arrayBufferToString(info.data); - console.log('Server discovery json: ' + json); + Logger.log('Server discovery json: ' + json); var server = JSON.parse(json); server.RemoteAddress = info.remoteAddress; @@ -90,48 +90,48 @@ } } catch (err) { - console.log('Error receiving server info: ' + err); + Logger.log('Error receiving server info: ' + err); } } var port = 7359; - console.log('chrome.sockets.udp.create'); + Logger.log('chrome.sockets.udp.create'); startTimer(); chrome.sockets.udp.create(function (createInfo) { if (!createInfo) { - console.log('create fail'); + Logger.log('create fail'); return; } if (!createInfo.socketId) { - console.log('create fail'); + Logger.log('create fail'); return; } socketId = createInfo.socketId; - console.log('chrome.sockets.udp.bind'); + Logger.log('chrome.sockets.udp.bind'); chrome.sockets.udp.bind(createInfo.socketId, '0.0.0.0', 0, function (bindResult) { if (getResultCode(bindResult) != 0) { - console.log('bind fail: ' + bindResult); + Logger.log('bind fail: ' + bindResult); return; } var data = stringToArrayBuffer('who is EmbyServer?'); - console.log('chrome.sockets.udp.send'); + Logger.log('chrome.sockets.udp.send'); chrome.sockets.udp.send(createInfo.socketId, data, '255.255.255.255', port, function (sendResult) { if (getResultCode(sendResult) != 0) { - console.log('send fail: ' + sendResult); + Logger.log('send fail: ' + sendResult); } else { chrome.sockets.udp.onReceive.addListener(onReceive); - console.log('sendTo: success ' + port); + Logger.log('sendTo: success ' + port); } }); }); diff --git a/dashboard-ui/css/mediaplayer.css b/dashboard-ui/css/mediaplayer.css index 6bc4ee80f9..bc869ccd56 100644 --- a/dashboard-ui/css/mediaplayer.css +++ b/dashboard-ui/css/mediaplayer.css @@ -146,29 +146,6 @@ paper-icon-button.mediaButton { margin-right: .5em !important; } -::-ms-thumb { - background-image: linear-gradient(#fefefe,#dddddd); - width: 15px; -} - -::-ms-track { - padding: 0; - border: 0; - color: #777; -} - -input[type="range"]::-ms-fill-lower { - background-color: #777; -} - -input[type="range"]::-ms-fill-upper { - background-color: #777; -} - -::-ms-tooltip { - display: none; /* display and visibility only */ -} - @media all and (max-width: 800px) { .nowPlayingBar .mediaButton { diff --git a/dashboard-ui/css/nowplaying.css b/dashboard-ui/css/nowplaying.css index ce9b79e47b..5a451f71f8 100644 --- a/dashboard-ui/css/nowplaying.css +++ b/dashboard-ui/css/nowplaying.css @@ -13,24 +13,12 @@ max-width: 360px; } -.nowPlayingTimeContainer { - max-width: 280px; - margin: 1.5em auto; -} - -.nowPlayingPage .positionSliderContainer { - width: 100%; +.nowPlayingPageTimeContainer { min-width: 200px; + max-width: 280px; + margin: 0 auto 1em; } - .nowPlayingPage .positionSliderContainer .ui-slider-track { - margin: 0 0 !important; - } - - .nowPlayingPage .positionSliderContainer .ui-slider { - height: 20px; - } - .nowPlayingNavButtonContainer { width: 400px; } @@ -134,6 +122,13 @@ } } +@media all and (min-width: 800px) { + + .nowPlayingPageTimeContainer { + max-width: 340px; + } +} + @media (orientation: landscape) { .nowPlayingInfoMetadata, .nowPlayingInfoButtons { display: inline-block; @@ -153,14 +148,14 @@ @media (orientation: landscape) and (max-height: 400px) { .nowPlayingPageTitle { - margin-top: -1em; + margin-top: -1.5em; padding: 0 60px; } } @media (orientation: portrait) and (max-height: 600px) { .nowPlayingPageTitle { - margin-top: -1em; + margin-top: -1.5em; padding: 0 60px; } } @@ -172,9 +167,12 @@ margin-right: .25em; } -@media all and (max-width: 600px) { +@media all and (max-width: 700px) { .nowPlayingSelectedPlayer { display: none; } } + +.nowPlayingPositionSlider .pin > #sliderKnob > #sliderKnobInner::after { +} diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index 7041d0819c..e21e89e178 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -305,6 +305,9 @@ html { touch-action: manipulation; /* Prevent white flickering */ background-color: #1f1f1f; + /* Normalize for different browsers */ + margin: 0; + padding: 0; } body { @@ -315,11 +318,16 @@ body { /*-webkit-overflow-scrolling: touch;*/ /* Remove the white default from jqm */ background-color: transparent !important; + /* Normalize for different browsers */ + margin: 0; + padding: 0; } /* Without this, no content will be displayed in mobile safari */ .pageContainer { overflow-x: visible !important; + /* jqm often wants to assign a background color to this */ + background-color: transparent !important; } .bodyWithPopupOpen { @@ -1388,4 +1396,4 @@ progress { .supporterMembershipDisabled .tabSupporterMembership { display: none; -} \ No newline at end of file +} diff --git a/dashboard-ui/dashboard.html b/dashboard-ui/dashboard.html index ed9eaf757a..d0a60d2e7a 100644 --- a/dashboard-ui/dashboard.html +++ b/dashboard-ui/dashboard.html @@ -49,8 +49,8 @@

- ${ButtonRestart} - ${ButtonShutdown} + ${ButtonRestart} + ${ButtonShutdown}
diff --git a/dashboard-ui/nowplaying.html b/dashboard-ui/nowplaying.html index fc6b880ada..aa35b519c4 100644 --- a/dashboard-ui/nowplaying.html +++ b/dashboard-ui/nowplaying.html @@ -18,18 +18,15 @@
-
-
+