tao-test/app/taoQtiTest/views/js/controller/creator/templates/testpart.tpl

37 lines
2.0 KiB
Smarty

<div id="{{identifier}}" class="testpart clearfix">
<h1><span data-bind="identifier">{{identifier}}</span>
<div class="actions">
<div class="tlb">
<div class="tlb-top">
<span class="tlb-box">
<span class="tlb-bar">
<span class="tlb-start"></span>
<span class="tlb-group">
<a href="#" class="tlb-button-off property-toggler" title="{{__ 'Test Part Properties'}}" data-testid="test-part-properties"><span class="icon-settings"></span></a>
<span class="tlb-separator"></span>
<a href="#" class="tlb-button-off move-up" title="{{__ 'Move Up'}}" data-testid="move-up-test-part"><span class="icon-up"></span></a>
<a href="#" class="tlb-button-off move-down" title="{{__ 'Move Down'}}" data-testid="move-down-test-part"><span class="icon-down"></span></a>
<span class="tlb-separator"></span>
<a href="#" class="tlb-button-off" title="{{__ 'Remove Test Part'}}" data-delete="#{{identifier}}" data-testid="remove-test-part"><span class="icon-bin"></span></a>
</span>
<span class="tlb-end"></span>
</span>
</span>
</div>
</div>
</div>
<a href="#" class="toggler opened" data-toggle="#testpart-content-{{identifier}}"></a>
</h1>
<div id="testpart-content-{{identifier}}" class="testpart-content">
<!-- assessmentTest/testPart/assessmentSections -->
<div class="sections" data-bind-each="assessmentSections" data-bind-tmpl="section" data-bind-filter="isSection"></div>
<button class="btn-info small section-adder" data-testid="add-section">
<span class="icon-add"></span>
{{__ 'New section'}}
</button>
</div>
</div>