Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

103 lines (89 sloc) 4.236 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<title>CloudQ - <%= locals.page_title || 'Run QUnit tests in the cloud!' %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/css/app.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" type="text/javascript"></script>
<script src="/js/cufon-yui.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/Cronos_italic_600.font.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
Cufon.replace('.cronos', {
fontFamily: 'Cronos',
textShadow: '-1px -1px 0px #5799bf',
color: '-linear-gradient(#ffffff, 0.6#ffffff, #eff9ff)'
});
var id = ''; // Needed.
</script>
</head>
<body>
<div class="bling-sun"></div>
<div class="bling-rays1"></div>
<div class="bling-rays2"></div>
<!-- clouds need to wrap container -->
<div class="bling-cloud1">
<div class="bling-cloud2">
<div class="container">
<a href="/"><img src="/img/logo.png" title="CloudQ: Run QUnit tests in the cloud!" width="450" height="203"></a>
</div>
<%- body %>
<div class="container" style="padding-top:0">
<p class="footer">
Brought to you by <a href="http://nodeknockout.com/teams/team-discovery-channel">Team Discovery Channel</a> <br />
<a href="http://www.twitter.com/designsense">@designense</a>, <a href="http://www.twitter.com/bentlegen">@bentlegen</a>, and <a href="http://www.twitter.com/benjamincoe">@benjamincoe</a>
</p>
</div>
</div> <!-- /cloud2 -->
</div> <!-- /cloud1 -->
<a href="http://nodeknockout.com/teams/team-discovery-channel" target="nko" title="Help me win Node.js KO!"><img style="position: fixed; top: 5px; right: 5px; border: 0px;" src="http://nodeknockout.com/images/voteko.png" alt="Help me win Node.js KO!" /></a>
<script>
$(function() {
$('.test-result-toggle').live('click', function() {
var innerBox = $(this).siblings('.inner-box').toggle();
var toggleLink = $(this).find('a').toggleClass('toggle-close').toggleClass('toggle-open');
return false;
});
$('#web-hook-toggle').bind('click', function() {
$('#webhook').toggle().find('input:first').focus();
return false;
});
$('#create-github-link').bind('click', function() {
$('#hook-reveal').show();
if ($('#twitter-handle').val() > '') {
var hook = 'http://nko-team-discovery-channel.heroku.com/hooks/github/' + $('#twitter-handle').val();
$('#hook').val(hook);
}
return false;
});
// Check whether tests are currently running.
if (id > '') {
var redirect = false;
var wasRunning = false;
(function checkData() {
$.ajax({
url: '/tests/running/' + id ,
data: {},
dataType: 'json',
success: function (data) {
if (data.status == 'running') {
redirect = true;
$('#test-results-loading').show();
setTimeout(checkData, 1000);
wasRunning = true;
} else {
$('#test-results-loading').hide();
if (data.content && wasRunning) {
var element = $(data.content);
$('#webhook').after(element);
}
}
}
});
})();
}
// Fix cloud clipping issue
$('.bling-cloud2').attr('style', 'min-height:' + $('body').height() + 'px');
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.