Commit Graph

26 Commits

Author SHA1 Message Date
0cf8335184 Add a refresh button for convenience 2018-01-02 12:34:03 +01:00
46893262c7 Add error handling to al AJAX calls 2018-01-02 12:11:38 +01:00
46c8220e16 Add a modal error dialog to the home index template and JavaScript 2018-01-02 12:11:26 +01:00
7d056b5008 Hide the navbar collapse on select via JS instead of HTML
Appearantly, if there is a data-toggle, the href/link part isn't
done anymore.
2018-01-01 22:01:00 +01:00
ec1e384552 Tweak and add animations
* Add animations when hiding/showing the button toolbars
* Tweak the list select animations
2017-12-30 17:16:45 +01:00
673b58bdec Use a button toolbar and button group for easy hiding/showing 2017-12-30 17:14:20 +01:00
995bd82036 Fix typo 2017-12-30 16:49:45 +01:00
95e217a84d Add a Markdown edit help popover for the textarea
Also add an edit help button during editing to toggle the popover.
The popover is placed next to the textarea and is removed when
exiting edit mode.
2017-12-30 16:16:59 +01:00
dc9a9efe59 Reuse the updateList() function after saving 2017-12-30 16:16:26 +01:00
af3a6183a5 Add different styling for all unordered lists that have checkboxes
These checkboxes are generated through the GFM tasklist extension.
In this case there should be not list item and the padding-left
should be removed.
2017-12-30 16:14:52 +01:00
e795544dc3 Don't use card-link classes
The card-link class does also other things with padding and spacing.
Instead, apply the style override to all links in the list HTML.
2017-12-30 16:13:51 +01:00
a7a90ce84b Fix link support in list HTML
* Add the card-link class to all anchors in the HTML
* Override the default Bootstrap styling for links in card text
2017-12-30 14:06:46 +01:00
09db743a9e Rework the entire UI to support multiple lists in one view
* The root location now shows all lists
* The specific list locations show only the specified list
* Each list can be individually edited
* Use the card columns (masonry) layout when showing all lists
* No longer support HTML previewing, just switch between editing
  and viewing (ala Github comments)
2017-12-29 23:56:24 +01:00
4f738891f2 Switch to using Bootstrap 4 cards 2017-12-29 20:20:10 +01:00
5ffd7bcd62 Fix list data not being replaced when switching lists 2017-12-29 19:55:28 +01:00
f9ee63c765 Apply the changed list data when saving is successful 2017-12-27 21:48:28 +01:00
370c260a94 Revert the updating when cancelling the edit 2017-12-27 21:47:54 +01:00
787839e36f Implement updating the list while editing it 2017-12-27 21:47:23 +01:00
e709985ba2 Show the modification date/time using the "nl" locale 2017-12-27 21:20:17 +01:00
a952765328 Rework the styling of a list box 2017-12-27 20:57:20 +01:00
c72b3d1669 Style the list name the same as the list box/body 2017-12-27 20:29:30 +01:00
bc12c285a0 Fix lists not changing color when another one is selected 2017-12-27 20:28:34 +01:00
3fbf6884ff Fix some edit mode switch weirdness 2017-12-27 17:37:00 +01:00
167eda78e9 Implement saving a list; make the lists mutable using an RW lock
It currently only saves to memory.  So, if the application restart,
the lists are back to what is in the list files.
2017-12-27 17:36:26 +01:00
f50e4a8e42 Add an index to the List struct; use it to give lists text/background colors 2017-12-27 17:32:39 +01:00
39e4b3c0a7 Hook op JS code to make the UI work in the browser 2017-12-23 22:36:43 +01:00