Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-qtype_stack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-qtype_stack
Commits
fee02019
Commit
fee02019
authored
1 year ago
by
smmercuri
Browse files
Options
Downloads
Patches
Plain Diff
refactor js functions
parent
d6b3dc5d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
stack/cas/castext2/blocks/parsons.block.php
+3
-2
3 additions, 2 deletions
stack/cas/castext2/blocks/parsons.block.php
with
3 additions
and
2 deletions
stack/cas/castext2/blocks/parsons.block.php
+
3
−
2
View file @
fee02019
...
@@ -139,7 +139,8 @@ class stack_cas_castext2_parsons extends stack_cas_castext2_block {
...
@@ -139,7 +139,8 @@ class stack_cas_castext2_parsons extends stack_cas_castext2_block {
$innerui
.
=
'<ul class="list-group '
.
$inner
.
'" id="bin"></ul>'
;
$innerui
.
=
'<ul class="list-group '
.
$inner
.
'" id="bin"></ul>'
;
}
}
$r
->
items
[]
=
new
MP_String
(
"<button type='button' class='btn btn-secondary'><i class='fa fa-refresh'></i></button>"
);
$r
->
items
[]
=
new
MP_String
(
"<button type='button' class='btn btn-secondary' id='orientation'>
<i class='fa fa-refresh'></i></button>"
);
$r
->
items
[]
=
new
MP_String
(
'<div class="container" style="'
.
$astyle
.
'">
$r
->
items
[]
=
new
MP_String
(
'<div class="container" style="'
.
$astyle
.
'">
<div class=row>'
.
$innerui
.
'
<div class=row>'
.
$innerui
.
'
</div>
</div>
...
@@ -154,7 +155,7 @@ class stack_cas_castext2_parsons extends stack_cas_castext2_block {
...
@@ -154,7 +155,7 @@ class stack_cas_castext2_parsons extends stack_cas_castext2_block {
stack_cors_link
(
'stacksortable.min.js'
)
.
"';
\n
"
;
stack_cors_link
(
'stacksortable.min.js'
)
.
"';
\n
"
;
$r
->
items
[]
=
new
MP_String
(
$importcode
);
$r
->
items
[]
=
new
MP_String
(
$importcode
);
// TODO :automatically set orientation based on device.
// TODO :automatically set orientation based on device.
$r
->
items
[]
=
new
MP_String
(
'add_orientation_listener();'
.
"
\n
"
);
$r
->
items
[]
=
new
MP_String
(
'add_orientation_listener(
"orientation", "usedList", "availableList"
);'
.
"
\n
"
);
// Extract the proof steps from the inner content.
// Extract the proof steps from the inner content.
$r
->
items
[]
=
new
MP_String
(
'var proofSteps = '
);
$r
->
items
[]
=
new
MP_String
(
'var proofSteps = '
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment