- Jul 19, 2023
-
-
Jan Haller authored
-
Jan Haller authored
ipa_haller_jan (WIP): Added check for print mode before implementing collapse functionality. In print mode the collapsed content will not be hidden and thus included in the PDF. refs #15634
-
- Jul 18, 2023
-
-
Jan Haller authored
-
- Jul 12, 2023
-
-
Jan Haller authored
-
Jan Haller authored
ipa_haller_jan (WIP): Did some major refactoring for renderWiki() which now uses a DOMXPath() to iterate over the elements. This enables the modification of the DomDocument() during the iteration. DOMElements can now be created and inserted into the DomDocument() at their corresponding position (e.g. <div> containing link to edit a section, list with table of contents, etc.). With this approach the DOM as a whole can later be converted to HTML and returned instead of converting each element into HTML and returning it immediately. This solves several problems regarding nested elements (e.g. tables) and makes the code flexible. The macro '{{collapse()}}' needs to be replaced separately at the end because it is not possible while iterating over the elements. The functions loadWikiContent() and getWikiContentSection() have slightly been adjusted as well to deal with the problem of nested elements. With the current approach the functions iterate over each child of <body>. As a consequence, every heading element must be placed on the highest level, meaning it cannot be a child of a <div> for example. The function doNavigation() recursively creates a navigation from the current page to its parent and so on. Constants have been updated and a CSS rule for the navigation has been added. refs #15634
-
- Jul 04, 2023
-
-
Jan Haller authored
-
- Jun 20, 2023
-
-
Jan Haller authored
-
- Jun 09, 2023
-
-
Jan Haller authored
-
- Jun 07, 2023
-
-
Jan Haller authored
ipa_haller_jan (WIP): Made some changes to the forms wikiPage and wikiEditor. Added comments to the wikiScript and the wiki report. Defined some more constants. refs #15634
-
- Jun 06, 2023
-
-
Jan Haller authored
ipa_haller_jan (WIP): Added function checkWikiAccess that checks privileges of the logged-in user. Did some exception handling. refs #15634
-
- Jun 05, 2023
-
-
Jan Haller authored
ipa_haller_jan (WIP): Finished collapse functionality and did some refactoring. Added additional constants. refs #15634
-
- Jun 02, 2023
-
-
Jan Haller authored
ipa_haller_jan (WIP): Added a couple more functions to replace macros (doTableOfContents(), doWikiLink() and doChildPages()). Recurring operations have been put into their own functions. Also (re-)defined constants. refs #15634
-
- Jun 01, 2023
-
-
Jan Haller authored
ipa_haller_jan (WIP): Added 3 functions, loadWikiContent() parses the content for editing, getWikiContentSection() extracts a specific section and slugifiedAnchor() returns an <a>-Tag containing a slugified href. Also defined constants. refs #15634
-
- May 31, 2023
-
-
Jan Haller authored
ipa_haller_jan (WIP): Added custom script to render wiki content and also defined constants. refs #15634
-