{{define "title"}}Statping | Services{{end}} {{define "content"}}
{{template "nav"}}
{{if eq (len CoreApp.Services) 0}} {{end}} {{if ne (len .Services) 0}}

Services Create

{{range .Services}} {{end}}
Name Status Visibility Group
{{.Name}} {{if .Online}}ONLINE{{else}}OFFLINE{{end}} {{if .Public.Bool}}PUBLIC{{else}}PRIVATE{{end}} {{if ne .GroupId 0}}{{(Group .GroupId).Name}}{{end}}
View {{if Auth}}{{end}}
{{end}}
{{if ne (len (Groups false)) 0}}

Groups

{{range Groups false}} {{end}}
Name Services Visibility
{{.Name}} {{len .Services}} {{if .Public.Bool}}PUBLIC{{else}}PRIVATE{{end}}
Edit {{if Auth}}{{end}}
{{end}} {{if Auth}}

Create Group

{{template "form_group" NewGroup}} {{end}}
{{end}} {{define "extra_scripts"}} {{if USE_CDN}} {{ else }} {{end}} {{end}}