diff --git a/html/html.header b/html/html.header index 43d4cb8..d2bba87 100644 --- a/html/html.header +++ b/html/html.header @@ -69,6 +69,9 @@ width: 40%; font-size: x-small; }} + p.error {{ + color: #700; + }} diff --git a/missing.py b/missing.py index c14b324..0906279 100644 --- a/missing.py +++ b/missing.py @@ -45,6 +45,17 @@ __missing_info_text__ = ("The following files were missing in the repository and "either checkout manually using git or use the -c option in gitinspector") class Missing(Outputable): + def output_html(self): + if __missing_files__: + missing_xml = "
" + missing_xml += "

" + __missing_info_text__ + ".

" + + for missing in __missing_files__: + missing_xml += "

" + missing + "

" + + missing_xml += "
" + print(missing_xml) + def output_text(self): if __missing_files__: print("\n" + textwrap.fill(__missing_info_text__ + ":", width=terminal.get_size()[0]))