~aleteoryx/webjrnl

63a1a1586e047c09edf1e169d0d04b9baf558748 — Aleteoryx 22 days ago ae087eb
more compat, make the dash buttons do things
2 files changed, 17 insertions(+), 2 deletions(-)

M README.md
M template/dash.html
M README.md => README.md +15 -0
@@ 137,6 137,13 @@ the contents of the database are stored in plaintext.

## compatibility

needs testing:

- eww
- netscape (the real one, not the chrome reskin)
- netpositive
- 

works, no notes:

- any modern web browser probably. works in librewolf


@@ 153,3 160,11 @@ works with caveats:
  the year pages are annoying to work with
- plan 9 mothra: textareas are buggy, which makes any editing besides
  entry creation a chore
- wine internet explorer: 401s aren't handled, you need to manually add
  the user:pass@ to the URL. navigating with the back button breaks
  this


doesn't work:

- offpunk: no <form> support

M template/dash.html => template/dash.html +2 -2
@@ 8,13 8,13 @@
		<td>&nbsp;</td>
		{{if not $hasToday}}
		<td><form method="POST" action="jrnl/{{ .Today.Year }}">
			<input type="hidden" name="text" value="&gt; {{ .Today.URL }}&#10;" />
			<input type="hidden" name="text" value="&gt; {{ .Today }}&#10;" />
			<button type="submit">Start today's entry!</button>
		</form></td>
		{{end}}
		{{if not $hasYesterday}}
		<td><form method="POST" action="jrnl/{{ .Yesterday.Year }}">
			<input type="hidden" name="text" value="&gt; {{ .Yesterday.URL }} &#10;" />
			<input type="hidden" name="text" value="&gt; {{ .Yesterday }} &#10;" />
			<button type="submit">Start yesterday's entry!</button>
		</form></td>
		{{end}}