fjnre
This commit is contained in:
parent
9ac61b12a5
commit
62a1b70836
5 changed files with 12 additions and 14 deletions
|
|
@ -5,12 +5,12 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ template "title" . }}Sillywordz!!!</title>
|
||||
<meta name="description" content="your friends' updates">
|
||||
<link rel="stylesheet" href="/assets/style.css?v=2"/>
|
||||
<meta name="description" content="your friends' writing updates">
|
||||
<link rel="stylesheet" href="/assets/style.css?v=2369697"/>
|
||||
{{ if .face }}
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ .face }}</text></svg>">
|
||||
{{ else }}
|
||||
<link rel="icon" href="/assets/favicon.ico">
|
||||
<link rel="icon" href="https://file.garden/aJzQmzrHVB4BLKwu/ballpoint-pen-1711884_640.ico">
|
||||
{{ end }}
|
||||
{{ template "head" . }}
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
</table>
|
||||
</form>
|
||||
<p>Paste this code into your HTML file:</p>
|
||||
<textarea style="width: 100%; max-width: 500px; height: 75px;"><div id="sillywordz"><div id="sillywordz-username"></div><div id="sillywordz-number"><div id="sillywordz-content"></div></div><script src="https://sillywordz.kissing.computer/current-status.js?name={{ .name }}"></script></textarea>
|
||||
<textarea style="width: 100%; max-width: 500px; height: 75px;"><div id="sillywordz"><div id="sillywordz-username"></div><div id="sillywordz-number"></div><div id="sillywordz-content"></div></div><script src="https://sillywordz.kissing.computer/current-status.js?name={{ .name }}"></script></textarea>
|
||||
<p>Paste this code into your CSS file:</p>
|
||||
<textarea style="width: 100%; max-width: 500px; height: 175px;">#sillywordz {
|
||||
padding: .5em;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="cols">
|
||||
<section>
|
||||
<div class="home"><div class="cols"> <section>
|
||||
{{ if .logged }}
|
||||
<h2>Update your word count!</h2>
|
||||
{{ if .form.Error }}
|
||||
|
|
@ -34,5 +33,5 @@
|
|||
</article>
|
||||
{{ end }}
|
||||
</section>
|
||||
</div>
|
||||
</div></div>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{{ define "content" }}
|
||||
<section>
|
||||
<h1>Register</h1>
|
||||
<div class="authform"> <h1>Register</h1>
|
||||
{{ if .form.Error }}
|
||||
<p>{{ .form.Error }}</p>
|
||||
{{ end }}
|
||||
|
|
@ -32,6 +32,6 @@
|
|||
</div>
|
||||
<p>By clicking the following button you agree to our <a href="/tos" target="_blank">Terms of Service</a>.</p>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</form></div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<p>{{ .flash }}</p>
|
||||
{{ end }}
|
||||
<p><a href="/manage">Manage statuses</a></p>
|
||||
<form action="/settings-update" method="post">
|
||||
<div class="settings"><form action="/settings-update" method="post">
|
||||
{{ .csrfField }}
|
||||
<div class="field">
|
||||
<label for="homepage">Homepage</label>
|
||||
|
|
@ -22,9 +22,8 @@
|
|||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="about">About (accepts HTML, including a style tag)</label>
|
||||
<label for="about">About (now accepts style tags!)</label>
|
||||
<textarea name="about" id="about" rows="20">{{ .User.About }}</textarea>
|
||||
</div>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
{{ end }}
|
||||
<input type="submit" value="Submit"></div></form>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue