Merge pull request #5 from CMUCTAT/CTAT4_2
Change id of Done button to the recommended value "done".
Esse commit está contido em:
@@ -47,7 +47,7 @@ Listen</div></pre>
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -98,7 +98,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -109,7 +109,7 @@ Text Items:
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -128,7 +128,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -408,7 +408,7 @@
|
||||
</message>
|
||||
<buggyMessage>No, this is not correct.</buggyMessage>
|
||||
<successMessage></successMessage>
|
||||
<hintMessage>Please enter '8' in the highlighted field.</hintMessage>
|
||||
<hintMessage>Please enter '16' in the highlighted field.</hintMessage>
|
||||
<callbackFn></callbackFn>
|
||||
<actionType>Correct Action</actionType>
|
||||
<oldActionType>Correct Action</oldActionType>
|
||||
@@ -588,7 +588,7 @@
|
||||
</message>
|
||||
<buggyMessage>No, this is not correct.</buggyMessage>
|
||||
<successMessage></successMessage>
|
||||
<hintMessage>Please enter '8' in the highlighted field.</hintMessage>
|
||||
<hintMessage>Please enter '32' in the highlighted field.</hintMessage>
|
||||
<callbackFn></callbackFn>
|
||||
<actionType>Correct Action</actionType>
|
||||
<oldActionType>Correct Action</oldActionType>
|
||||
@@ -768,7 +768,7 @@
|
||||
</message>
|
||||
<buggyMessage>No, this is not correct.</buggyMessage>
|
||||
<successMessage></successMessage>
|
||||
<hintMessage>Please enter '8' in the highlighted field.</hintMessage>
|
||||
<hintMessage>Please enter '64' in the highlighted field.</hintMessage>
|
||||
<callbackFn></callbackFn>
|
||||
<actionType>Correct Action</actionType>
|
||||
<oldActionType>Correct Action</oldActionType>
|
||||
@@ -948,7 +948,7 @@
|
||||
</message>
|
||||
<buggyMessage>No, this is not correct.</buggyMessage>
|
||||
<successMessage></successMessage>
|
||||
<hintMessage>Please enter '8' in the highlighted field.</hintMessage>
|
||||
<hintMessage>Please enter '128' in the highlighted field.</hintMessage>
|
||||
<callbackFn></callbackFn>
|
||||
<actionType>Correct Action</actionType>
|
||||
<oldActionType>Correct Action</oldActionType>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
</div>
|
||||
<div style="border: 0px solid black;">
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
</div>
|
||||
<div style="border: 0px solid black;">
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -137,7 +137,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -61,7 +61,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -281,7 +281,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div>
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -62,7 +62,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -104,7 +104,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -110,7 +110,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+167
-3
@@ -9,6 +9,102 @@
|
||||
<ProblemName>table_example</ProblemName>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>6c622cb3-bbbc-bea7-8ddb-0cf5a41ac200</transaction_id>
|
||||
<Selection>
|
||||
<value>expanding_table</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>setNumRows</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>5</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>573fbb25-62e5-ba90-bdcf-35729f71aee3</transaction_id>
|
||||
<Selection>
|
||||
<value>expanding_table</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>setNumCols</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>5</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>8caaa277-640a-488c-c94d-c182fd6c2b71</transaction_id>
|
||||
<Selection>
|
||||
<value>expanding_table</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>set_first_row_is_header</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>true</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>313e7e32-0303-0d3e-6a6e-59e43854fd2b</transaction_id>
|
||||
<Selection>
|
||||
<value>const_table</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>setNumRows</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>5</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>ffc6946d-ed04-76a1-1b1e-4a4162f9e399</transaction_id>
|
||||
<Selection>
|
||||
<value>const_table</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>setNumCols</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>5</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>81f65ff8-c9fa-7e43-d539-78da1c31be38</transaction_id>
|
||||
<Selection>
|
||||
<value>const_table</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>set_first_row_is_header</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>true</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
@@ -188,10 +284,78 @@
|
||||
<text>Done</text>
|
||||
<uniqueID>2</uniqueID>
|
||||
<dimension>
|
||||
<x>215</x>
|
||||
<y>140</y>
|
||||
<x>206</x>
|
||||
<y>197</y>
|
||||
</dimension>
|
||||
</node>
|
||||
<node locked="false" doneState="false">
|
||||
<text>state2</text>
|
||||
<uniqueID>3</uniqueID>
|
||||
<dimension>
|
||||
<x>198</x>
|
||||
<y>112</y>
|
||||
</dimension>
|
||||
</node>
|
||||
<edge>
|
||||
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
|
||||
<studentHintRequest></studentHintRequest>
|
||||
<stepSuccessfulCompletion></stepSuccessfulCompletion>
|
||||
<stepStudentError></stepStudentError>
|
||||
<uniqueID>3</uniqueID>
|
||||
<message>
|
||||
<verb>NotePropertySet</verb>
|
||||
<properties>
|
||||
<MessageType>InterfaceAction</MessageType>
|
||||
<transaction_id>ebb910f3-4eac-9aae-8e91-f7ecddd519c4</transaction_id>
|
||||
<Selection>
|
||||
<value>expanding_table.R1C0</value>
|
||||
</Selection>
|
||||
<Action>
|
||||
<value>UpdateTextArea</value>
|
||||
</Action>
|
||||
<Input>
|
||||
<value>x</value>
|
||||
</Input>
|
||||
</properties>
|
||||
</message>
|
||||
<buggyMessage>No, this is not correct.</buggyMessage>
|
||||
<successMessage></successMessage>
|
||||
<hintMessage>Please enter 'x' in the highlighted field.</hintMessage>
|
||||
<callbackFn></callbackFn>
|
||||
<actionType>Correct Action</actionType>
|
||||
<oldActionType>Correct Action</oldActionType>
|
||||
<checkedStatus>Never Checked</checkedStatus>
|
||||
<matchers Concatenation="true">
|
||||
<Selection>
|
||||
<matcher>
|
||||
<matcherType>ExactMatcher</matcherType>
|
||||
<matcherParameter name="single">expanding_table.R1C0</matcherParameter>
|
||||
</matcher>
|
||||
</Selection>
|
||||
<Action>
|
||||
<matcher>
|
||||
<matcherType>ExactMatcher</matcherType>
|
||||
<matcherParameter name="single">UpdateTextArea</matcherParameter>
|
||||
</matcher>
|
||||
</Action>
|
||||
<Input>
|
||||
<matcher>
|
||||
<matcherType>ExactMatcher</matcherType>
|
||||
<matcherParameter name="single">x</matcherParameter>
|
||||
</matcher>
|
||||
</Input>
|
||||
<Actor linkTriggered="false">Student</Actor>
|
||||
</matchers>
|
||||
</actionLabel>
|
||||
<preCheckedStatus>No-Applicable</preCheckedStatus>
|
||||
<rule>
|
||||
<text>unnamed</text>
|
||||
<indicator>-1</indicator>
|
||||
</rule>
|
||||
<sourceID>1</sourceID>
|
||||
<destID>3</destID>
|
||||
<traversalCount>0</traversalCount>
|
||||
</edge>
|
||||
<edge>
|
||||
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
|
||||
<studentHintRequest></studentHintRequest>
|
||||
@@ -248,7 +412,7 @@
|
||||
<text>unnamed</text>
|
||||
<indicator>-1</indicator>
|
||||
</rule>
|
||||
<sourceID>1</sourceID>
|
||||
<sourceID>3</sourceID>
|
||||
<destID>2</destID>
|
||||
<traversalCount>0</traversalCount>
|
||||
</edge>
|
||||
|
||||
@@ -104,7 +104,7 @@ function add_col(tableName)
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -37,8 +37,8 @@ function ctatOnload() {
|
||||
</a>
|
||||
<h1>CTATTextField Example</h1>
|
||||
<p>A simple text field example. Generally, CTATTextFields are designed to
|
||||
display html from the tutoring service and is not generally meant to be
|
||||
student editable.</p>
|
||||
display HTML and are not meant to be editable by the student. The text can be
|
||||
set from the behavior graph as shown in this example.</p>
|
||||
<div>
|
||||
<div class="ctat_example">
|
||||
<div id="tutor_text" class="CTATTextField"><em>Click the button</em> to have the tutor change this message.</div>
|
||||
@@ -53,7 +53,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,7 @@ function ctatOnload() {
|
||||
<div id="HintWindow" class="CTATHintWindow"></div>
|
||||
<div style="float: right;">
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,7 @@ html,body { width: 100%; height: 100%; margin: 0px; padding: 0px; }
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
</div>
|
||||
<div style="border: 0px solid black;">
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
html,body { width: 100%; height: 100%; margin: 0px; padding: 0px; }
|
||||
</style>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
|
||||
<script src="https://cdn.ctat.cs.cmu.edu/releases/latest/jquery.min.js"></script>
|
||||
<script src="https://cdn.ctat.cs.cmu.edu/releases/latest/ctat.min.js"></script>
|
||||
<script src="https://cdn.ctat.cs.cmu.edu/releases/latest/ctatloader.js"></script>
|
||||
|
||||
@@ -41,7 +41,7 @@ html,body { width: 100%; height: 100%; margin: 0px; padding: 0px; }
|
||||
<div id="hint-button" class="CTATHintButton"></div>
|
||||
</div>
|
||||
<div style="border: 0px solid black;">
|
||||
<div id="done-button" class="CTATDoneButton"></div>
|
||||
<div id="done" class="CTATDoneButton"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário