Changeset 3048 for trunk/skins
- Timestamp:
- 08/11/10 15:39:16 (1 year ago)
- Files:
-
- trunk/skins/lemill/activity_edit.cpt (modified) (1 diff)
- trunk/skins/lemill/collection_edit.cpt (modified) (1 diff)
- trunk/skins/lemill/widget_chapter.pt (modified) (1 diff)
- trunk/skins/lemill/widget_exercise.pt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/skins/lemill/activity_edit.cpt
r3045 r3048 25 25 <tal:block metal:use-macro="here/multimediamaterial_edit/macros/minor_edit"/> 26 26 27 <div style="margin-top:20px">28 27 <tal:comment replace="nothing">XXX:Where is the origin of these buttons. don't special ones here anymore.</tal:comment> 29 28 <tal:if_translation condition="translation"> trunk/skins/lemill/collection_edit.cpt
r3045 r3048 79 79 <tr tal:repeat="obj resources" class="choice_row"> 80 80 <tal:defines define="index repeat/obj/index; deleted obj/isDeleted"> 81 <<<<<<< .mine82 <td valign="top" style="border-right: 1px solid #8cacbb" width="20"><img src="images/sorthandle.png" width="20" height="20" valign="top" class="handle" />83 <input type="hidden" class="orderkeeper" value="0" name="col_order_0" id="col_order_0" tal:attributes="value index;name python:'col_order_%s' % index" /></td>84 =======85 81 <td valign="top" style="border-right: 1px solid #8cacbb" width="20"><img src="images/sorthandle.png" width="20" height="20" valign="top" class="handle"/> 86 82 <input type="hidden" class="orderkeeper" value="0" name="col_order_0" id="col_order_0" tal:attributes="value index;name python:'col_order_%s' % index"/></td> 87 >>>>>>> .r304388 83 89 84 <td class="coverimage_cell_small"><img src="" alt="" class="coverimage_small" tal:attributes="src obj/getCoverImageURL; alt obj/title_or_id | nothing" /></td> trunk/skins/lemill/widget_chapter.pt
r3045 r3048 54 54 value python:field.confirmUpdated(value); 55 55 chapter_count python:len(value); 56 edit_chapter python: test(edit_chapter <chapter_count, edit_chapter, chapter_count-1);56 edit_chapter python: test(edit_chapter<chapter_count, edit_chapter, chapter_count-1); 57 57 cleaned_chapters here/getBodyText; 58 58 macro_mapping python:{'text_block':'here/widget_chapter/macros/%s_text_block', trunk/skins/lemill/widget_exercise.pt
r3045 r3048 316 316 <table width="90%"> 317 317 <tr><th><label i18n:translate="label_select_exercise_type">Select the exercise type:</label></th></tr> 318 <input type="hidden" id="chapter_type" name="chapter_type" value="" >318 <input type="hidden" id="chapter_type" name="chapter_type" value="" /> 319 319 <tr height="200"><td> 320 320 <ul> … … 322 322 <li><label><a href="void(0)" onclick="editQuestion('fill_blanks');"><tal:block i18n:translate="label_exercise_fill_in_the_blanks">Fill-in-the-blanks exercise</tal:block>...</a></label></li> 323 323 <li><label><a href="void(0)" onclick="editQuestion('open_ended');"><tal:block i18n:translate="label_exercise_open_ended">Open-ended question</tal:block>...</a></label></li> 324 <li><label><a href="void(0)" onclick="editQuestion('potatoes_upload');"><tal:block i18n:translate="upload_questions_from_hot_potatoes">Upload questions from Hot Potatoes</tal:block>...</a>< label></li>324 <li><label><a href="void(0)" onclick="editQuestion('potatoes_upload');"><tal:block i18n:translate="upload_questions_from_hot_potatoes">Upload questions from Hot Potatoes</tal:block>...</a></label></li> 325 325 </ul> 326 326 </td></tr> … … 362 362 /> 363 363 </div> 364 </td></tr> 364 365 <tr><td> 365 366 <a href="void(0)" style="align:left" onclick="questionSelection();">< <tal:block i18n:translate="exercise_types">Exercise types</tal:block></a></td> … … 436 437 <td><div class="formHelp" i18n:translate="desc_answer">Answer</div></td> 437 438 <td width="10"></td> 439 </tr> 438 440 <tr class="sortable_row"> 439 <td><input type="radio" value="1" name="answer_0_correct" id="answer_0_correct" checked="1" ></td>440 <td><input type="radio" value="0" name="answer_0_correct" id="answer_0_correct" ></td>441 <td><input type="radio" value="1" name="answer_0_correct" id="answer_0_correct" checked="1"/></td> 442 <td><input type="radio" value="0" name="answer_0_correct" id="answer_0_correct"/></td> 441 443 <td> 442 444 <textarea rows="2" style="height:3em;float:left;" cols="40" class="multiple_choice_answer" name="choice_answer_0" id="choice_answer_0"></textarea></td> 443 445 <td valign="top"><span class="handle handle_small"> </span> 444 <input type="hidden" class="orderkeeper" value="0" name="choice_order_0" id="choice_order_0" ></td>446 <input type="hidden" class="orderkeeper" value="0" name="choice_order_0" id="choice_order_0"/></td> 445 447 </tr> 446 448 <tr class="sortable_row"> 447 <td><input type="radio" value="1" name="answer_1_correct" id="answer_1_correct" ></td>448 <td><input type="radio" value="0" name="answer_1_correct" id="answer_1_correct" checked="1" ></td>449 <td><input type="radio" value="1" name="answer_1_correct" id="answer_1_correct"/></td> 450 <td><input type="radio" value="0" name="answer_1_correct" id="answer_1_correct" checked="1"/></td> 449 451 <td><textarea rows="2" style="height:3em;" cols="40" class="multiple_choice_answer" name="choice_answer_1" id="choice_answer_1"></textarea></td> 450 452 <td valign="top"><span class="handle handle_small"> </span> 451 <input type="hidden" class="orderkeeper" value="1" name="choice_order_1" id="choice_order_1" ></td>453 <input type="hidden" class="orderkeeper" value="1" name="choice_order_1" id="choice_order_1"/></td> 452 454 </tr> 453 455 <tr class="sortable_row"> 454 <td><input type="radio" value="1" name="answer_2_correct" id="answer_2_correct" ></td>455 <td><input type="radio" value="0" name="answer_2_correct" id="answer_2_correct" checked="1" ></td>456 <td><input type="radio" value="1" name="answer_2_correct" id="answer_2_correct"/></td> 457 <td><input type="radio" value="0" name="answer_2_correct" id="answer_2_correct" checked="1"/></td> 456 458 <td><textarea rows="2" style="height:3em;" cols="40" class="multiple_choice_answer" name="choice_answer_2" id="choice_answer_2"></textarea></td> 457 459 <td valign="top"><span class="handle handle_small"> </span> 458 <input type="hidden" class="orderkeeper" value="2" name="choice_order_2" id="choice_order_2" ></td>460 <input type="hidden" class="orderkeeper" value="2" name="choice_order_2" id="choice_order_2"/></td> 459 461 </tr> 460 462 <tr> 461 463 <td></td><td></td><td align="right"><input type="button" i18n:attributes="value button_add_choices" value="Add choices" align="right" onclick="addAnswer(this);" /></td><td></td> 462 </tr> 464 </tr> 463 465 464 466 </table>
