forked from mirror/oddmu
27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>Editing {{.Title}}</title>
|
|
<style>
|
|
html { max-width: 70ch; padding: 2ch; margin: auto; color: #ddd; background-color: #222; }
|
|
a { color: #8cf } a:visited { color: #dbf } a:hover { color: #fff }
|
|
textarea, input, button { color: #222; background-color: #ddd; border: 1px solid #eee; }
|
|
form, textarea { width: 100%; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Editing {{.Title}}</h1>
|
|
<form action="/save/{{.Name}}" method="POST">
|
|
<textarea name="body" rows="20" cols="80" placeholder="# Title
|
|
|
|
Text" lang="" autofocus>{{printf "%s" .Body}}</textarea>
|
|
<p><label><input type="checkbox" name="notify" checked> Add link to <a href="/view/changes">the list of changes</a>.</label></p>
|
|
<p><input type="submit" value="Save">
|
|
<a href="/view/{{.Name}}"><button type="button">Cancel</button></a></p>
|
|
</form>
|
|
</body>
|
|
</html>
|