Add Logger UIModule

This commit is contained in:
Bálint Bokros 2017-11-27 18:09:48 +01:00
parent f3c9a21956
commit b96c8e4457
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<h1>Logs</h1>
<p id="{{ anchor_id }}">
&nbsp;
</p>
<button type="button" class="btn btn-outline-primary anchor" id="{{ anchor_id }}_event">
Next
</button>

View File

@ -0,0 +1 @@
from .logger import Logger

View File

@ -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)