configui/templates/home.tmpl

34 lines
706 B
Cheetah
Raw Normal View History

2021-10-18 08:49:16 +00:00
{{define "home"}}
{{template "base/header" .}}
2021-10-20 10:20:14 +00:00
{{template "components/error" .}}
<script>
var Active = "{{.File.Alias}}";
</script>
2021-10-19 18:32:37 +00:00
<section class="hero is-small is-primary">
<div class="hero-body">
<p class="title">
ConfigUI
</p>
</div>
</section>
<div class="columns">
<div class="column is-one-quarter">
<div class="box">
{{template "components/menu" .}}
</div>
2021-10-20 10:20:14 +00:00
<div class="box has-text-centered">
<a href="/api/export" class="button">Export Files</a>
</div>
2021-10-19 18:32:37 +00:00
</div>
<div class="column">
<div class="box">
{{template "components/editor" .}}
</div>
2021-10-18 08:49:16 +00:00
</div>
2021-10-18 18:38:28 +00:00
</div>
2021-10-20 10:20:14 +00:00
{{template "components/result" .}}
2021-10-18 18:38:28 +00:00
2021-10-18 08:49:16 +00:00
{{template "base/footer" .}}
{{end}}