configui/templates/home.tmpl

34 lines
726 B
Cheetah
Raw Normal View History

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