kconfig/index.html

41 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>{{.AppName}}</title>
<style>
.ace_selection {
background: #7f7f00 !important;
}
</style>
</head>
<body>
<div class='container' style="max-width: 960px;">
<div class='columns'>
<h1 class='col-md-12'>{{.AppName}} Config</h1>
</div>
<div class='columns'>
<div class='column col-md-12'>
<button id='submit' class='tiny'>Submit</button>
<button id='load' class='secondary tiny'>Restore</button>
<button id='upload-btn' class='secondary tiny' onclick="upload.click()">Upload</button>
<input id="upload" style="display: none" type="file">
<a id="downloadAnchorElem" style="display:none"></a>
<button id='download' class='secondary tiny'>Download</button>
<span id='valid_indicator' class='label'></span>
</div>
</div>
<br>
<div class='columns'>
<div class='column col-md-12' id='editor_holder'></div>
</div>
</div>
<script type="module" src="./main.js"></script>
{{.ACE_JS}}
<script>
let AppName = '{{.AppName}}'
</script>
</body>
</html>