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 @@ + + + +
+ + + + + +bind-value
: [[bindValue]]
+
+
+ set bind-value
to:
+
+
+
+
+ set textarea.value
to:
+
+
+
Scrolls after 4 rows:
+Initial height of 4 rows
+
+
+
+ bind to bind-value
: [[bindValue]]
+
+ bind to value::input
: {{value}}
+
+ set bind-value to:
+
+ set value to:
+
only allows these characters:
+ !@#0123456789
+ only type cats
:
+
+
+
+ valid
+ invalid
+