// Beego (http://beego.me/) // // @description beego is an open-source, high-performance web framework for the Go programming language. // // @link http://github.com/astaxie/beego for the canonical source repository // // @license http://github.com/astaxie/beego/blob/master/LICENSE // // @authors astaxie package beego var indexTpl = ` {{define "content"}}

Beego Admin Dashboard

For detail usage please check our document:

Toolbox

Live Monitor

{{.Content}} {{end}}` var profillingTpl = ` {{define "content"}}

{{.Title}}

{{.Content}}
{{end}}` var defaultScriptsTpl = `` var gcAjaxTpl = ` {{define "scripts"}} {{end}} ` var qpsTpl = ` {{define "content"}}

Requests statistics

{{range $i, $slice := .Content}} {{range $j, $elem := $slice}} {{if eq $i 0}} {{end}} {{end}} {{end}}
{{else}} {{end}} {{$elem}} {{if eq $i 0}} {{else}}
{{end}} ` var configTpl = ` {{define "content"}}

Configurations

{{range $index, $elem := .Content}}
{{$index}}={{$elem}}
{{end}}
{{end}} ` var routerAndFilterTpl = ` {{define "content"}}

{{.Title}}

{{range $i, $slice := .Content}} {{ $header := index $slice 0}} {{if eq "header" $header }} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{else if eq "success" $header}} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{else}} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{end}} {{end}}
{{$elem}} {{$elem}} {{$elem}}
{{end}} ` var tasksTpl = ` {{define "content"}}

{{.Title}}

{{if .Message }} {{ $messageType := index .Message 0}}

{{index .Message 1}}

{{end}} {{range $i, $slice := .Content}} {{ $header := index $slice 0}} {{if eq "header" $header }} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{else}} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{end}} {{end}}
{{$elem}} Run Task {{$elem}} Run
{{end}} ` var healthCheckTpl = ` {{define "content"}}

{{.Title}}

{{range $i, $slice := .Content}} {{ $header := index $slice 0}} {{if eq "header" $header }} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{else}} {{ if eq "success" $header}} {{else if eq "error" $header}} {{else}} {{end}} {{range $j, $elem := $slice}} {{if ne $j 0}} {{end}} {{end}} {{end}} {{end}}
{{$elem}}
{{$elem}}
{{end}}` // The base dashboardTpl var dashboardTpl = ` Welcome to Beego Admin Dashboard
{{template "content" .}}
{{template "scripts" .}} `