diff --git a/src/app/templates/module-logger.html b/src/app/templates/module-logger.html new file mode 100644 index 0000000..1490f1f --- /dev/null +++ b/src/app/templates/module-logger.html @@ -0,0 +1,7 @@ +

Logs

+

+   +

+ diff --git a/src/app/ui_modules/__init__.py b/src/app/ui_modules/__init__.py index e69de29..92a2f16 100644 --- a/src/app/ui_modules/__init__.py +++ b/src/app/ui_modules/__init__.py @@ -0,0 +1 @@ +from .logger import Logger diff --git a/src/app/ui_modules/logger.py b/src/app/ui_modules/logger.py new file mode 100644 index 0000000..60b3f1f --- /dev/null +++ b/src/app/ui_modules/logger.py @@ -0,0 +1,6 @@ +from tornado.web import UIModule + + +class Logger(UIModule): + def render(self, anchor_id, *args, **kwargs): + return self.render_string('module-logger.html', anchor_id=anchor_id)