Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
ConceptXBlock
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
ConceptXBlock
Commits
186a4582
Commit
186a4582
authored
Mar 24, 2014
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio hack #1
parent
4ea3cd5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
concept/concept.py
+1
-1
concept/static/html/studio_hack.html
+7
-0
No files found.
concept/concept.py
View file @
186a4582
...
@@ -70,7 +70,7 @@ class ConceptXBlock(XBlock):
...
@@ -70,7 +70,7 @@ class ConceptXBlock(XBlock):
return
frag
return
frag
def
studio_view
(
self
,
context
=
None
):
def
studio_view
(
self
,
context
=
None
):
return
Fragment
(
"<div></div>"
)
return
Fragment
(
self
.
resource_string
(
"static/html/studio_hack.html"
)
)
# TO-DO: change this to create the scenarios you'd like to see in the
# TO-DO: change this to create the scenarios you'd like to see in the
# workbench while developing your XBlock.
# workbench while developing your XBlock.
...
...
concept/static/html/studio_hack.html
0 → 100644
View file @
186a4582
{% load i18n %}
<div
id=
"concept-edit"
>
<script
id=
"metadata-editor-tpl"
type=
"text/template"
>
<!--
empty
-->
</script>
<textarea
class=
"concept-editor"
></textarea>
<input
type=
"button"
class=
"concept-save-button"
value=
"{% trans 'Save' %}"
/>
<input
type=
"button"
class=
"concept-cancel-button"
value=
"{% trans 'Cancel' %}"
/>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment