From fea78d7b875a221c58099c266340883dfde6fbc0 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Mon, 17 Jul 2017 13:26:10 +0200 Subject: [PATCH] Added ore info on new webpage creation --- HOWTO.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/HOWTO.md b/HOWTO.md index 28f75519..d4a7b962 100644 --- a/HOWTO.md +++ b/HOWTO.md @@ -45,11 +45,15 @@ How to create a new webpage If you want to add a new webpage for a module in AIL, follow these simple steps: -1. Launch [./var/www/create_new_web_module.py](./var/www/create_new_web_module.py) and enter the name to use for your webpage (Usually, your python module). +1. Launch [./var/www/create_new_web_module.py](./var/www/create_new_web_module.py) and enter the name to use for your webpage (Usually, your newly created python module). 2. A template and flask skeleton has been created for your new webpage in [./var/www/modules/](./var/www/modules/) -3. Edit the created html files under the template folder as well as the Flask_* python script. +3. Edit the created html files under the template folder as well as the Flask_* python script so that they fit your needs. + +4. You can change the order of your module in the top navigation header in the file [./var/www/templates/header_base.html](./var/www/templates/header_base.html) + +5. You can ignore module, and so, not display them in the top navigation header by adding the module name in the file [./var/www/templates/ignored_modules.txt](./var/www/templates/ignored_modules.txt) How to contribute a module --------------------------