33 lines
1.5 KiB
HTML
33 lines
1.5 KiB
HTML
<template name="InternshipEditor">
|
|
<div id="internshipEditor">
|
|
<div class="internshipNavigation">
|
|
<div class="addInternship"><input type="text" name="newInternshipName" class="newInternshipName form-control"/><i class="fa fa-plus-circle createInternship noselect clickable" aria-hidden="true"></i></div><span class="editPageText noselect clickable"><i class="fa fa-pencil" aria-hidden="true"></i><br/>Header</span>
|
|
|
|
<ul class="internshipList">
|
|
{{#each internships}}
|
|
<li class="internshipListItem noselect clickable" data-id="{{_id}}"><span class="name">{{name}}</span><i class="fa fa-times-circle deleteInternship" aria-hidden="true"></i></li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
<div class="internshipHtml">
|
|
{{> InternshipHtmlEditor internship=selectedInternship}}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<template name="InternshipHtmlEditor">
|
|
{{#if showInstructions}}
|
|
<h2>Instructions</h2>
|
|
<p>Add internships using the +. Type in the internship's name as it will appear in the list to the user, then click the + a second time to add it.
|
|
Edit the internships by selecting them in the list. The contents will replace these instructions, and you can edit the internship HTML directly.</p>
|
|
{{/if}}
|
|
{{#if showSelectImageDialog}}
|
|
<div class="modalBackground">
|
|
{{> SelectImageDialog (selectImageDialogArgs)}}
|
|
</div>
|
|
{{/if}}
|
|
<div class="editorContainer {{#if showInstructions}}hidden{{/if}}">
|
|
<div class="editor textView"></div>
|
|
<button id="save">Save</button>
|
|
</div>
|
|
</template> |