Further improve templating.
このコミットが含まれているのは:
コミット
88088fb4f4
|
@ -1,4 +1,4 @@
|
|||
<html>
|
||||
{{ template "header" }}
|
||||
<h1>edit account</h1>
|
||||
<form method="POST" action="/account">
|
||||
E-mail: <input type="text" name="mail" /><br />
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<html>
|
||||
{{ template "header" }}
|
||||
<h1>error</h1>
|
||||
<p>Something went wrong: {{ .Msg }}</p>
|
||||
<p><a href="/">Try again?</a></p>
|
||||
{{ template "footer" }}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<html>
|
||||
{{ template "header" }}
|
||||
<h1>feed setup</h1>
|
||||
<p>
|
||||
Feed successfully set.
|
||||
<a href="/">Return to twtxt input form.</a>
|
||||
</p>
|
||||
{{ template "footer" }}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<html>
|
||||
{{ template "header" }}
|
||||
<h1>publish a twtxt</h1>
|
||||
<form method="POST" action="feeds">
|
||||
Message: <input type="text" name="twt" size="140" /><br />
|
||||
Name: <input type="text" name="name" />
|
||||
Password: <input type="password" name="password" /><br />
|
||||
<input type="submit" value="twt" />
|
||||
<input type="submit" value="twtxt" />
|
||||
</form>
|
||||
No feed yet? <a href="/signup">Create one!</a><br />
|
||||
Also, check out <a href="/feeds">other people's feeds</a> …<br />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<html>
|
||||
{{ template "header" }}
|
||||
<h1>list of feeds</h1>
|
||||
<ul>
|
||||
{{ range .Dir }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<html>
|
||||
{{ template "header" }}
|
||||
<h1>sign up</h1>
|
||||
<form method="POST" action="/signup">
|
||||
Name: <input type="text" name="name" /> (only up to 140 legal chars: A-Z, a-z, 0-1, _)<br />
|
||||
|
|
読み込み中…
新しいイシューから参照