2017-10-02 04:30:30 -04:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<script src="/js/editor.js"></script>
|
2017-10-09 03:28:54 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="/css/editor.css">
|
2017-10-09 12:48:04 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="/css/common.css">
|
2017-10-02 04:30:30 -04:00
|
|
|
<title>Editor</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2017-10-09 03:30:17 -04:00
|
|
|
<div>
|
|
|
|
<button type="button" id="saveButton">Save Deck</button>
|
2017-10-11 22:51:43 -04:00
|
|
|
<button type="button" id="jsonInputDownload">Download Input JSON</button>
|
|
|
|
<button type="button" id="outputDownload">Download Tabletop Output JSON</button>
|
2017-10-09 03:30:17 -04:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label> Upload JSON: WARNING: WILL CLEAR DECK
|
|
|
|
<input id="jsonUpload" type="file">
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-10-08 16:32:49 -04:00
|
|
|
<form id="deckForm">
|
|
|
|
<div> <label> Deck Name: <input type="text" id="deckName"></label> </div>
|
|
|
|
<div>
|
|
|
|
<label> Deck Type: <select id="deckType">
|
|
|
|
<option value="hero">hero</option>
|
|
|
|
<option value="villain">villain</option>
|
|
|
|
<option value="environment">environment</option>
|
|
|
|
</select> </label>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2017-10-08 22:07:22 -04:00
|
|
|
<form id="cardForm"></form>
|
2017-10-02 04:30:30 -04:00
|
|
|
|
|
|
|
<div id="deck"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|