Add Logger UIModule
This commit is contained in:
parent
f3c9a21956
commit
b96c8e4457
|
@ -0,0 +1,7 @@
|
|||
<h1>Logs</h1>
|
||||
<p id="{{ anchor_id }}">
|
||||
|
||||
</p>
|
||||
<button type="button" class="btn btn-outline-primary anchor" id="{{ anchor_id }}_event">
|
||||
Next
|
||||
</button>
|
|
@ -0,0 +1 @@
|
|||
from .logger import Logger
|
|
@ -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)
|
Loading…
Reference in New Issue