vault-wrap: исправление шаблона.
This commit is contained in:
parent
518c90fccb
commit
cb4aa3e23c
|
@ -14,6 +14,9 @@
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<table>
|
<table>
|
||||||
|
<tr><td>
|
||||||
|
Введите токен:
|
||||||
|
</td></tr>
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<textarea id="wrapped_token" name="input_token" cols=50 rows=10>{{ .TEXT }}</textarea>
|
<textarea id="wrapped_token" name="input_token" cols=50 rows=10>{{ .TEXT }}</textarea>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
|
2
vault.go
2
vault.go
|
@ -188,8 +188,6 @@ func getDataFromHtmlForm(w http.ResponseWriter, r *http.Request) {
|
||||||
if Debug {
|
if Debug {
|
||||||
log.Println(Data)
|
log.Println(Data)
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
Data = "Введите токен"
|
|
||||||
}
|
}
|
||||||
getStaticPage(w, r)
|
getStaticPage(w, r)
|
||||||
// http.Redirect(w, r, "http://"+r.Host, http.StatusMovedPermanently)
|
// http.Redirect(w, r, "http://"+r.Host, http.StatusMovedPermanently)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user