fix invalid html in custom module

fix invalid html in custom module
check if user provide any content and if not then insert empty row
added missing index html files
added content to index html files