SotM_Playfield/html/editor.html

35 lines
1.0 KiB
HTML

<html>
<head>
<script src="/js/editor.js"></script>
<link rel="stylesheet" type="text/css" href="/css/editor.css">
<link rel="stylesheet" type="text/css" href="/css/common.css">
<title>Editor</title>
</head>
<body>
<div>
<button type="button" id="saveButton">Save Deck</button>
<button type="button" id="jsonInputDownload">Download Input JSON</button>
<button type="button" id="outputDownload">Download Tabletop Output JSON</button>
</div>
<div>
<label> Upload JSON: WARNING: WILL CLEAR DECK
<input id="jsonUpload" type="file">
</label>
</div>
<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>
<form id="cardForm"></form>
<div id="deck"></div>
</body>
</html>