Commit cf303391 by Piotr Mitros

Studio view. Untested.

parent fd333a56
......@@ -67,6 +67,10 @@ class DoneXBlock(XBlock):
'align': self.align.lower()})
return frag
def studio_view(self, _context=None): # pylint: disable=unused-argument
frag = Fragment(pkg_resources.resource_string("static/html/studioview.html"))
return frag
@staticmethod
def workbench_scenarios():
"""A canned scenario for display in the workbench."""
......
<div>
<p> This is a very simple component with no configuration
options. Nothing to see here... move along.</p>
<p> <small> (If you're a real power-user, in OLX, we do allow you to
add an align tag, which can left-, center-, or right-justify the
XBlock) </small> </p>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment