mirror of https://github.com/statping/statping
template fix
parent
64bedb7afb
commit
6b5660b8d8
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
VERSION=0.71
|
VERSION=0.72
|
||||||
BINARY_NAME=statup
|
BINARY_NAME=statup
|
||||||
GOPATH:=$(GOPATH)
|
GOPATH:=$(GOPATH)
|
||||||
GOCMD=go
|
GOCMD=go
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
{{define "form_service"}}
|
{{define "form_service"}}
|
||||||
{{$url := "/service"}}
|
<form action="{{if .}}/service/{{.Id}}{{else}}/service{{end}}" method="POST">
|
||||||
{{if .}}
|
|
||||||
{{$url = "/service/{{.Id}}"}}
|
|
||||||
{{end}}
|
|
||||||
<form action="{{$url}}" method="POST">
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="service_name" class="col-sm-4 col-form-label">Service Name</label>
|
<label for="service_name" class="col-sm-4 col-form-label">Service Name</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
{{define "form_user"}}
|
{{define "form_user"}}
|
||||||
{{$url := "/user"}}
|
<form action="{{if .}}/user/{{.Id}}{{else}}/user{{end}}" method="POST">
|
||||||
{{if .}}
|
|
||||||
{{$url = "/user/{{.Id}}"}}
|
|
||||||
{{end}}
|
|
||||||
<form action="{{$url}}" method="POST">
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="username" class="col-sm-4 col-form-label">Username</label>
|
<label for="username" class="col-sm-4 col-form-label">Username</label>
|
||||||
<div class="col-6 col-md-4">
|
<div class="col-6 col-md-4">
|
||||||
|
|
Loading…
Reference in New Issue