Minor improvements
This commit is contained in:
parent
958b69dc08
commit
b06c35b984
4 changed files with 21 additions and 20 deletions
|
@ -3,17 +3,18 @@
|
|||
Simple plaintext diary.
|
||||
|
||||
This project is *very* opinionated and minimal, and is designed primarily for my usage.
|
||||
As a result of this, it is also neither secure nor idiot-proof.
|
||||
As a result of this, it is also neither secure nor stable.
|
||||
|
||||
## Features:
|
||||
* Each day, you get a txt file. You have until 23:59 of that very day to finalise it.
|
||||
* Each day, you get a text file. You have until 23:59 of that very day to finalise it.
|
||||
* At any moment, you can append a single line to log.txt
|
||||
* You can save named notes to document milestones, big events, or just a nice game you played this month
|
||||
* There is also a readme.txt file (just like this one, except you get to write it!)
|
||||
* You can easily export everything in a zip file for backups
|
||||
|
||||
* Everything is plain(text) and simple. No databases, encryption, OAuth, or anything fancy. Even the password is plainte- *wait is this a feature?*
|
||||
* Optional Telegram notifications for failed login attempts are present
|
||||
* Docker support (in fact, that's probably the best way to run this)
|
||||
* Optional Telegram notifications for failed login attempts
|
||||
|
||||
## Data format:
|
||||
```
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
<footer>
|
||||
<p><a href="/">home </a> | <a href="/days">previous days</a> | <a href="/api/readme">readme.txt</a></p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
<script defer>
|
||||
updateDate()
|
||||
|
@ -29,4 +28,5 @@
|
|||
|
||||
loadPrevious()
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -16,13 +16,12 @@
|
|||
</header>
|
||||
<main>
|
||||
<h2 style="margin-bottom:0;"><label for="day">Your day so far:</label></h2>
|
||||
<textarea id="day" name="Day entry" cols="40" rows="15" style="max-width: 640px; width: 100%"></textarea>
|
||||
<div class="grid"><button onclick="saveToday()">Save</button></div>
|
||||
<textarea id="day" cols="40" rows="15"></textarea>
|
||||
<button onclick="saveToday()">Save</button>
|
||||
</main>
|
||||
<footer>
|
||||
<p><a href="/">home </a> | <a href="/days">previous days</a> | <a href="/api/readme">readme.txt</a></p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
<script defer>
|
||||
updateDate()
|
||||
|
@ -30,4 +29,5 @@
|
|||
|
||||
loadToday()
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,7 @@ textarea, input {
|
|||
box-shadow: none;
|
||||
border: 0.0625em solid #454545;
|
||||
margin-bottom: 1em;
|
||||
font-size: 18px
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
Loading…
Reference in a new issue