You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2014/07/17 19:40:18 UTC

[1/4] git commit: Add option to append actionButton to custom elt

Repository: cordova-plugin-test-framework
Updated Branches:
  refs/heads/master 9e6f05488 -> 64bab6d52


Add option to append actionButton to custom elt

Added optional parameter to createActionButton to specify a page element
to which it should be appended. This is needed for the manual tests so
that we can group action buttons logically with info on the page. Defaults
to 'buttons' div as before.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/1d7e5b7e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/1d7e5b7e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/1d7e5b7e

Branch: refs/heads/master
Commit: 1d7e5b7e737c23cba033fd2fb7a03fb7ae7aa313
Parents: bec266f
Author: Staci Cooper <sm...@us.ibm.com>
Authored: Wed Jul 16 10:32:15 2014 -0400
Committer: Staci Cooper <sm...@us.ibm.com>
Committed: Wed Jul 16 10:32:15 2014 -0400

----------------------------------------------------------------------
 www/main.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/1d7e5b7e/www/main.js
----------------------------------------------------------------------
diff --git a/www/main.js b/www/main.js
index a39a6bc..6899166 100644
--- a/www/main.js
+++ b/www/main.js
@@ -129,8 +129,9 @@ function wrapConsole() {
 
 /******************************************************************************/
 
-function createActionButton(title, callback) {
-  var buttons = document.getElementById('buttons');
+function createActionButton(title, callback, appendTo) {
+  appendTo = appendTo ? appendTo : 'buttons';
+  var buttons = document.getElementById(appendTo);
   var div = document.createElement('div');
   var button = document.createElement('a');
   button.textContent = title;


[4/4] git commit: Merge branch 'addCSS' of https://github.com/stacic/cordova-plugin-test-framework

Posted by mm...@apache.org.
Merge branch 'addCSS' of https://github.com/stacic/cordova-plugin-test-framework


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/64bab6d5
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/64bab6d5
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/64bab6d5

Branch: refs/heads/master
Commit: 64bab6d52cd00444cd388cf5ba5f6f366edcdcae
Parents: f95e9c1 fba9e8d
Author: Michal Mocny <mm...@gmail.com>
Authored: Thu Jul 17 13:38:33 2014 -0400
Committer: Michal Mocny <mm...@gmail.com>
Committed: Thu Jul 17 13:38:33 2014 -0400

----------------------------------------------------------------------
 www/assets/main.css | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------



[3/4] git commit: Merge branch 'moveActionButton' of https://github.com/stacic/cordova-plugin-test-framework

Posted by mm...@apache.org.
Merge branch 'moveActionButton' of https://github.com/stacic/cordova-plugin-test-framework


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/f95e9c16
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/f95e9c16
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/f95e9c16

Branch: refs/heads/master
Commit: f95e9c16b261dc296f0be6c1c4aa77c960dcbe08
Parents: 9e6f054 1d7e5b7
Author: Michal Mocny <mm...@gmail.com>
Authored: Thu Jul 17 13:37:15 2014 -0400
Committer: Michal Mocny <mm...@gmail.com>
Committed: Thu Jul 17 13:37:15 2014 -0400

----------------------------------------------------------------------
 www/main.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/f95e9c16/www/main.js
----------------------------------------------------------------------


[2/4] git commit: Added css for info id

Posted by mm...@apache.org.
Added css for info id

Used in plugin manual tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/fba9e8de
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/fba9e8de
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/fba9e8de

Branch: refs/heads/master
Commit: fba9e8defa89d620daae616217e5d2e1ea08666d
Parents: 9e6f054
Author: Staci Cooper <sm...@us.ibm.com>
Authored: Wed Jul 16 16:08:24 2014 -0400
Committer: Staci Cooper <sm...@us.ibm.com>
Committed: Wed Jul 16 16:08:24 2014 -0400

----------------------------------------------------------------------
 www/assets/main.css | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/fba9e8de/www/assets/main.css
----------------------------------------------------------------------
diff --git a/www/assets/main.css b/www/assets/main.css
index 4e33267..455b1de 100644
--- a/www/assets/main.css
+++ b/www/assets/main.css
@@ -81,3 +81,22 @@ html, body {
 .log--content--line--error {
   background-color: #FFA6A6;
 }
+
+#info{
+  background:#ffa;
+  border: 1px solid #ffd324;
+  -webkit-border-radius: 5px;
+  border-radius: 5px;
+  clear:both;
+  margin:15px 6px 0;
+  min-width:295px;
+  max-width:97%;
+  padding:4px 0px 2px 10px;
+  word-wrap:break-word;
+  margin-bottom:10px;
+  display:inline-block;
+  min-height: 160px;
+  max-height: 300px;
+  overflow: auto;
+  -webkit-overflow-scrolling: touch;
+}