blob: 0b25c0e7c83a480b8e0c2caba042fce2f345d291 (
plain) (
tree)
|
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="tim-zh">
<title>CBT</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="highlight/hljs-cbt-theme.css">
</head>
<body>
<div id="notifications"></div>
<div id="popup">
<div class="stroke" onclick="Popup.hide()">×</div>
<table id="popup-table"></table>
</div>
<div class="container">
<h1>CBT bootstrap</h1>
<button class="small-btn" onclick="setFlowCreate()" id="flow-create-btn">create from scratch</button>
or
<button class="small-btn" onclick="setFlowCopy()" id="flow-copy-btn">copy an example</button>
<hr>
<div id="cwd" class="entry"><span>project location:</span> </div>
<div id="flow-create">
<div class="entry"><input type="text" id="name" placeholder="project name"></div>
<div class="entry"><input type="text" id="package" placeholder="default package"></div>
<hr>
<div class="entry"><input type="text" id="query" placeholder="add maven dependency"></div>
<button class="small-btn" onclick="Dependencies.search()" id="search-btn">search</button>
<div id="dependencies"></div>
<hr>
<input type="checkbox" id="readme-flag"><label for="readme-flag">readme.md</label>
<input type="checkbox" id="dotty-flag"><label for="dotty-flag">dotty</label>
<input type="checkbox" id="uberJar-flag"><label for="uberJar-flag">uber jar</label>
<input type="checkbox" id="wartremover-flag"><label for="wartremover-flag">wartremover</label>
<hr>
<button id="create-project-btn" onclick="createProject()">create project</button>
</div>
<div id="flow-copy">
<span class="entry">
<span id="examples-title">select an example:</span>
<span class="removable" id="selected-example" onclick="Examples.unselectExample()"></span>
</span>
<hr>
<div id="examples"></div>
<div id="example-browser">
<div id="file-browser"></div>
<div id="code-browser"></div>
</div>
<hr>
<button id="copy-project-btn" onclick="copyProject()">copy example</button>
</div>
</div>
<script src="jquery-3.1.1.min.js"></script>
<script src="highlight/highlight.pack.js"></script>
<script src="definitions.js"></script>
<script src="main.js"></script>
</body>
</html>
|