Add WebIDE UIModule

This commit is contained in:
Bálint Bokros 2017-11-27 18:11:57 +01:00
parent a5aad9ad26
commit 9b97e3dd19
3 changed files with 16 additions and 0 deletions

View File

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

View File

@ -1,2 +1,3 @@
from .logger import Logger
from .login import Login
from .webide import WebIDE

View File

@ -0,0 +1,6 @@
from tornado.web import UIModule
class WebIDE(UIModule):
def render(self, anchor_id, *args, **kwargs):
return self.render_string('module-webide.html', anchor_id=anchor_id, **kwargs)