kconfig/index.html

41 lines
1.1 KiB
HTML
Raw Normal View History

2021-11-19 03:58:55 +00:00
<!DOCTYPE html>
<html>
<head>
<title>{{.AppName}}</title>
2021-11-24 09:08:11 +00:00
<style>
.ace_selection {
background: #7f7f00 !important;
}
</style>
2021-11-19 03:58:55 +00:00
</head>
<body>
2021-11-24 09:08:11 +00:00
<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>
2021-11-27 13:53:34 +00:00
<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">
2021-11-24 09:08:11 +00:00
<a id="downloadAnchorElem" style="display:none"></a>
2021-11-27 13:53:34 +00:00
<button id='download' class='secondary tiny'>Download</button>
2021-11-24 09:08:11 +00:00
<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>
2021-11-19 03:58:55 +00:00
</body>
</html>