From 26b979b7a51d711fd34359bec5a3552f7324e705 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 23 Jun 2023 09:52:22 +0300 Subject: [checklist] Updated information, made import and export work without db, changed .onclick to addEventListener, added a field for db error info, added more comments --- checklist.html | 153 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 95 insertions(+), 58 deletions(-) (limited to 'checklist.html') diff --git a/checklist.html b/checklist.html index a9e4a39..3e10a63 100644 --- a/checklist.html +++ b/checklist.html @@ -24,6 +24,12 @@ min-height: calc(100vh - 16px); } +#db-error { + background-color: red; + color: white; + font-weight: bold; +} + .list-controls:hover + .list-item, .list-item > input:hover { background-color: lightgray; } @@ -77,12 +83,20 @@ span {

Checklists

- With plus you add an item to the bottom of a checklist. - With minus you remove it. With "Lock" you can select to only be able to check and uncheck items. - "U" and "C" buttons correspond to uncheck and check functionality. - "Export" creates and puts a string, representing the whole checklist and what items are checked, in the text box on the right, as well as in the current link. - This means that, after pressing "Export", you can copy the link of the current page and share it, or you can copy the text itself (double-click to select all). - "Import" reads the checklist data from the link if the text input is empty, otherwise it reads from the text input on the right. + Every checklist has a name and string representation. + Next to the "Import" and "Export" buttons there are two input fields. + With "Import" you load and store locally the checklist with the given name and string representation (if there is already one with that name, it is overridden). + With "Export", the name and string representation of the currently opened checklist is put into those two fields (and is stored locally, export also functions as a save button). + Sharing your checklists is done by exporting the current checklist and sharing the string representation, no collaborative support is implemented or planned. +
+ From the drop-down menu below, you can select any one of your locally stored checklists, and either load them with "Open" or remove them with "Delete". +
+ Below that is the name of the currently opened checklist. + Renaming a checklist is done by opening it, changing the name, exporting it and deleting the old named one. + With "+" you add an item to the bottom of a checklist. + With "-" you remove it. + With "Lock" you disable all editing. + "U" and "C" uncheck and check all items on the checklist or sub-items of an item.

Home   Made by Syndamia, licensed under GNU GPLv3 @@ -92,18 +106,21 @@ span {

- - + +

- + +


- + @@ -113,11 +130,13 @@ span {

-- cgit v1.3.1-26-gb76a