91 lines
3.8 KiB
Smarty
91 lines
3.8 KiB
Smarty
|
<div id="test-creator" data-content-target="wide">
|
||
|
|
||
|
<!-- left section: items selection -->
|
||
|
<section class="test-creator-sidebar test-creator-area test-creator-items">
|
||
|
<div class="action-bar plain content-action-bar horizontal-action-bar">
|
||
|
<ul class="action-group plain clearfix authoring-back-box item-editor-menu">
|
||
|
<li id="authoringBack" class="btn-info small" data-testid="manage-tests">
|
||
|
<span class="li-inner">
|
||
|
<span class="icon-left"></span>
|
||
|
<?= __('Manage Tests') ?>
|
||
|
</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<h1><?=__('Select Items')?></h1>
|
||
|
<div class='item-selection'></div>
|
||
|
</section>
|
||
|
|
||
|
<!-- test editor -->
|
||
|
<section class="test-creator-test test-creator-area test-creator-content">
|
||
|
<div class="action-bar plain content-action-bar horizontal-action-bar">
|
||
|
<ul class="action-group plain clearfix authoring-back-box item-editor-menu">
|
||
|
<li id="saver" class="btn-info small" data-testid="save-test">
|
||
|
<span class="li-inner">
|
||
|
<span class="icon-save"></span>
|
||
|
<?=__('Save')?>
|
||
|
</span>
|
||
|
</li>
|
||
|
<li id="previewer" class="btn-info small" data-testid="preview-test">
|
||
|
<span class="li-inner">
|
||
|
<span class="icon-preview"></span>
|
||
|
<?=__('Preview')?>
|
||
|
</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<h1><span data-bind="title"></span>
|
||
|
<div class="actions">
|
||
|
<div class="tlb">
|
||
|
<div class="tlb-top">
|
||
|
<span class="tlb-box">
|
||
|
<span class="test-actions tlb-bar">
|
||
|
<span class="tlb-start"></span>
|
||
|
<span class="tlb-group">
|
||
|
<a href="#" class="tlb-button-off property-toggler" title="<?=__('Manage test properties')?>" data-testid="test-properties">
|
||
|
<span class="icon-settings"></span>
|
||
|
</a>
|
||
|
</span>
|
||
|
<span class="tlb-end"></span>
|
||
|
</span>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</h1>
|
||
|
<div class="test-content">
|
||
|
<div class="testparts" data-bind-each="testParts" data-bind-tmpl="testpart"> </div>
|
||
|
<button class="btn-info small testpart-adder" data-testid="add-test-part">
|
||
|
<span class="icon-add"></span><?=__('New test part')?>
|
||
|
</button>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
<section class="test-creator-sidebar test-creator-area test-creator-props">
|
||
|
<div class="action-bar plain content-action-bar horizontal-action-bar">
|
||
|
|
||
|
</div>
|
||
|
<h1><?=__('Properties')?></h1>
|
||
|
<div class="qti-widget-properties"></div>
|
||
|
</section>
|
||
|
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
requirejs.config({
|
||
|
config: {
|
||
|
'taoQtiTest/controller/creator/creator' : {
|
||
|
routes : {
|
||
|
get : '<?=get_data('loadUrl')?>',
|
||
|
save : '<?=get_data('saveUrl')?>',
|
||
|
blueprintsById : '<?=get_data('blueprintsByIdUrl')?>',
|
||
|
blueprintByTestSection : '<?=get_data('blueprintsByTestSectionUrl')?>',
|
||
|
identifier : '<?=get_data('identifierUrl')?>'
|
||
|
},
|
||
|
categoriesPresets : <?=get_data('categoriesPresets')?>,
|
||
|
labels : <?=get_data('labels')?>,
|
||
|
guidedNavigation : <?=get_data('guidedNavigation')?>
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
</script>
|