summaryrefslogtreecommitdiff
path: root/share/www/couch_tests.html
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/couch_tests.html')
-rw-r--r--share/www/couch_tests.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/share/www/couch_tests.html b/share/www/couch_tests.html
index fa347764..46893d71 100644
--- a/share/www/couch_tests.html
+++ b/share/www/couch_tests.html
@@ -20,7 +20,7 @@ specific language governing permissions and limitations under the License.
<link rel="stylesheet" href="style/layout.css?0.11.0" type="text/css">
<script src="script/json2.js"></script>
<script src="script/sha1.js"></script>
- <script src="script/jquery.js?1.3.2"></script>
+ <script src="script/jquery.js?1.4.2"></script>
<script src="script/jquery.couch.js?0.11.0"></script>
<script src="script/jquery.dialog.js?0.11.0"></script>
<script src="script/futon.js?0.11.0"></script>
@@ -35,6 +35,14 @@ specific language governing permissions and limitations under the License.
$("#toolbar button.load").click(function() {
location.reload(true);
});
+ $("#toolbar button.share").click(function() {
+ $.showDialog("dialog/_share_test_reports.html", {
+ submit: function(data, callback) {
+ $.couch.replicate("test_suite_reports", "http://couchdb.couchdb.org/test_suite_reports");
+ callback();
+ }
+ });
+ });
$("#toolbar button.add").click(function() {
location = "custom_test.html";
});
@@ -52,7 +60,9 @@ specific language governing permissions and limitations under the License.
<ul id="toolbar">
<li><button class="run">Run All</button></li>
<li><button class="load">Reload</button></li>
+ <li><button class="share">Share Test Reports</button></li>
<li><button class="add">Custom Test</button></li>
+ <li class="current"></li>
</ul>
<p class="help">
<strong>Note:</strong> Each of the tests will block the browser. If the