Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
841b56ef
Commit
841b56ef
authored
Dec 08, 2013
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add change diary interface - Map and other fields
parent
243b11a4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
77 additions
and
10 deletions
+77
-10
mentoring/dataexport.py
+1
-1
mentoring/mentoring.py
+4
-0
mentoring/table.py
+0
-9
templates/xml/700_change_diary_map.xml
+35
-0
templates/xml/701_change_diary_other_fields.xml
+37
-0
No files found.
mentoring/dataexport.py
View file @
841b56ef
...
@@ -78,6 +78,6 @@ class MentoringDataExportBlock(XBlock):
...
@@ -78,6 +78,6 @@ class MentoringDataExportBlock(XBlock):
Sample scenarios which will be displayed in the workbench
Sample scenarios which will be displayed in the workbench
"""
"""
return
[
return
[
(
"9
9
0) Intructors data export"
,
(
"9
0
0) Intructors data export"
,
load_resource
(
'templates/xml/999_dataexport.xml'
)),
load_resource
(
'templates/xml/999_dataexport.xml'
)),
]
]
mentoring/mentoring.py
View file @
841b56ef
...
@@ -141,6 +141,10 @@ class MentoringBlock(XBlock, XBlockWithChildrenFragmentsMixin):
...
@@ -141,6 +141,10 @@ class MentoringBlock(XBlock, XBlockWithChildrenFragmentsMixin):
load_resource
(
'templates/xml/016_revising_your_entire_map.xml'
)),
load_resource
(
'templates/xml/016_revising_your_entire_map.xml'
)),
(
"017) Checking the entire map"
,
(
"017) Checking the entire map"
,
load_resource
(
'templates/xml/017_checking_the_entire_map.xml'
)),
load_resource
(
'templates/xml/017_checking_the_entire_map.xml'
)),
(
"700) Change diary - Map"
,
load_resource
(
'templates/xml/700_change_diary_map.xml'
)),
(
"701) Change diary - Other fields"
,
load_resource
(
'templates/xml/701_change_diary_other_fields.xml'
)),
(
"800) Help on revising immunity to change maps"
,
(
"800) Help on revising immunity to change maps"
,
load_resource
(
'templates/xml/800_help_on_revising_immunity_to_change_maps.xml'
)),
load_resource
(
'templates/xml/800_help_on_revising_immunity_to_change_maps.xml'
)),
]
]
mentoring/table.py
View file @
841b56ef
...
@@ -49,15 +49,6 @@ class MentoringTableBlock(XBlock, XBlockWithChildrenFragmentsMixin):
...
@@ -49,15 +49,6 @@ class MentoringTableBlock(XBlock, XBlockWithChildrenFragmentsMixin):
# Allow to render within mentoring blocks, or outside
# Allow to render within mentoring blocks, or outside
return
self
.
student_view
(
context
)
return
self
.
student_view
(
context
)
@staticmethod
def
workbench_scenarios
():
"""
Sample scenarios which will be displayed in the workbench
"""
return
[
(
"900) Table - Test"
,
load_resource
(
'templates/xml/900_map.xml'
)),
]
class
MentoringTableColumnBlock
(
XBlock
,
XBlockWithChildrenFragmentsMixin
):
class
MentoringTableColumnBlock
(
XBlock
,
XBlockWithChildrenFragmentsMixin
):
"""
"""
...
...
templates/xml/700_change_diary_map.xml
0 → 100644
View file @
841b56ef
<vertical>
<html>
<h3>
My Change Diary - Immunity Map
</h3>
</html>
<mentoring-table
type=
"immunity-map-assumptions"
>
<column>
<header>
Column 0: Pre-Goal Brainstorm
</header>
<answer
name=
"pre-goal-brainstorm2"
/>
</column>
<column>
<header>
Column 1: My Improvement Goal
</header>
<answer
name=
"improvement-goal-revised"
/>
</column>
<column>
<header>
Column 2: Doing / Not Doing Instead
</header>
<answer
name=
"doing-not-doing-instead-revised"
/>
</column>
<column>
<header>
Column 3: My Hidden Commitments
</header>
<html><h4>
My Worry box
</h4></html>
<answer
name=
"worry-box-revised"
/>
<html><h4>
My Hidden Commitments
</h4></html>
<answer
name=
"hidden-commitments-revised"
/>
</column>
<column>
<header>
Column 4: My Big Assumptions
</header>
<answer
name=
"big-assumptions-revised"
/>
</column>
</mentoring-table>
</vertical>
templates/xml/701_change_diary_other_fields.xml
0 → 100644
View file @
841b56ef
<vertical>
<mentoring>
<html>
<h3>
My Change Diary - Other Fields
</h3>
</html>
<html>
<h4>
Your preliminary Pre-Goal Brainstorm
</h4>
</html>
<answer
name=
"pre-goal-brainstorm"
read_only=
"true"
/>
<html>
<h4>
Feedback from others on your possible goals:
</h4>
</html>
<answer
name=
"pre-goal-feedback"
read_only=
"true"
/>
<html>
<h4>
The importance of your improvement goal:
</h4>
</html>
<answer
name=
"improvement-goal-importance"
read_only=
"true"
/>
<html>
<h4>
Your past attempts at change:
</h4>
</html>
<answer
name=
"past-attempts"
read_only=
"true"
/>
<html>
<h4>
Your description of how your immune system works:
</h4>
</html>
<answer
name=
"immune-system-description"
read_only=
"true"
/>
</mentoring>
</vertical>
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