CheckList

Description

Creates an HTML checkbox as well as the HTML heading at the level you specify so that you can use the wiki as a checklist for repeated tasks such as OS installs, inventory checks, training etc.

CheckList utilizes the HTML5 localstorage feature for stateful storage without the need for external data storage. Therefore, you must use a browser that supports HTML5 which includes: ie8+, firefox 3.5+, safari 4.0+, chrome 4.0+, opera 10.5+, iphone 2.0+, android 2.0+. The drawback is that you must use the same browser for your checklist, but that is kindof the point of this Macro.

This is different than the ToDo Parser that is available.

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

CheckList.py

1.0

1.9

Only tested on 1.9 but could work on earlier releases. Let me know.

Usage

<<CheckList(js=True)>> (REQUIRED)

<<CheckList(clear_button=True)>> (Optional but nice)

<<CheckList(dom_id, heading, text)>>

@param dom_id: The id you want for your checkbox.
@param heading: The Number level of the heading you are creating 2 == h2 etc
@param text: The text of the heading and is used to make the id of the heading and is used if you use the TableOfContents macro
@param js: Leave all params blank except for js=True to create the necessary javascript for this macro. Should be at the top of your page.
@param clear_button: Leave all params blank except for clear_button=True to create a button to clear all Checklist items. Should be at the top of your page.

Example

<<CheckList(js=True)>>
<<CheckList(clear_button=True)>>
<<CheckList(dom_id=check1, heading=1, text=Top Level Item)>>
<<CheckList(dom_id=check2, heading=2, text=Something To do)>>
<<CheckList(dom_id=check3, heading=3, text=Something to do in conjunction with above)>>

Copyright: 2011 GregCorey

License

GNU GPL, see COPYING for details.

Bugs

Discussion

2015/10/2: tried Chrome 45.0.2454.101 (64-bit) on the Mac and it doesn't persistently save the data. Reloading the page clears the check marks. Also, the clear button doesn't work. I disabled uBlock origin and Privacy Badger for the moin site we use, too, so that's not it.

MoinMoin: MacroMarket/CheckList (last edited 2015-10-02 18:39:48 by KevinLayer)