mirror of https://github.com/sbt/sbt.git
134 lines
3.5 KiB
HTML
134 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Dependency resolution with Coursier</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- FIXME Get from WebJars -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="css/bootstrap-treeview.css">
|
|
|
|
<style>
|
|
.icon-action {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#resolveButton {
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#results {
|
|
display: none;
|
|
}
|
|
|
|
.customButton {
|
|
margin: 5px;
|
|
}
|
|
|
|
.popover {
|
|
max-width: 400px;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body style="margin: 0px">
|
|
|
|
<div class="container theme-showcase" role="main">
|
|
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand active" href="#mainTab" data-toggle="tab" onclick="$('#mainNavBar li').removeClass('active')">Coursier</a>
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse" id="mainNavBar">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="#demo" data-toggle="tab">Demo</a></li>
|
|
<li><a href="https://github.com/coursier/coursier/blob/master/USAGE.md">Usage</a></li>
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li><a href="https://github.com/coursier/coursier">Github</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="tab-content" id="mainTabContent">
|
|
|
|
<div class="tab-pane fade in active" id="mainTab">
|
|
<div class="jumbotron">
|
|
<h1>Coursier</h1>
|
|
<p>Pure Scala Artifact Fetching</p>
|
|
<p><a href="https://github.com/coursier/coursier">Project Page</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="demo">
|
|
<div id="demoContent"></div>
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="usageCli">
|
|
<p>CLI</p>
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="usageApi">
|
|
<p>API</p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
// From scalajs-react examples
|
|
|
|
function jsonp(url, callback) {
|
|
var callbackName = 'jsonp_callback_' + Math.round(100000 * Math.random());
|
|
window[callbackName] = function(data) {
|
|
delete window[callbackName];
|
|
callback(data);
|
|
};
|
|
|
|
var script = document.createElement('script');
|
|
script.src = url + (url.indexOf('?') >= 0 ? '&' : '?') + 'callback=' + callbackName;
|
|
document.body.appendChild(script);
|
|
}
|
|
</script>
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
|
|
<!-- Paths changed by push-gh-pages.sh before pushing to gh-pages -->
|
|
<script src="../web-jsdeps.js"></script>
|
|
<script src="../web-fastopt.js"></script>
|
|
|
|
<script src="https://cdn.rawgit.com/strathausen/dracula/26010eb3b0df037cf507886897e20c02c4ec041b/lib/dracula_graph.js"></script>
|
|
<script src="https://cdn.rawgit.com/strathausen/dracula/26010eb3b0df037cf507886897e20c02c4ec041b/lib/dracula_graffle.js"></script>
|
|
|
|
<script>
|
|
// From http://www.bootply.com/VQqzOawoYc
|
|
// Javascript to enable link to tab
|
|
var hash = document.location.hash;
|
|
if (hash) {
|
|
console.log('match');
|
|
// $('.nav-tabs a[href='+hash+']').tab('show');
|
|
$('a[href='+hash+']').trigger('click');
|
|
}
|
|
// Change hash for page-reload
|
|
// Working?
|
|
$('.nav-tabs a').on('shown.bs.tab', function (e) {
|
|
window.location.hash = e.target.hash;
|
|
});
|
|
</script>
|
|
|
|
<script>
|
|
CoursierWeb.main();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|