configui/templates/home.tmpl

34 lines
726 B
Cheetah

{{define "home"}}
{{template "base/header" .}}
{{template "components/error" .}}
<script>
var Active = "{{.File.Alias}}";
</script>
<section class="hero is-small is-primary">
<div class="hero-body" id="title">
<p class="title">
ConfigUI
</p>
</div>
</section>
<div class="columns">
<div class="column is-one-quarter">
<div class="box">
{{template "components/menu" .}}
</div>
<div class="box has-text-centered">
<a href="/api/export" class="button is-small">Export Files</a>
</div>
</div>
<div class="column">
<div class="box">
{{template "components/editor" .}}
</div>
</div>
</div>
{{template "components/result" .}}
{{template "base/footer" .}}
{{end}}