Updated to nearly fully functional. Pre-release 1. Still needs some UI changes in the slideshow and admin pages (move the save button & fix the save detection for the internship list). Customer had one more page change request which I need to re-define and handle.
This commit is contained in:
33
imports/ui/Admin/InternshipEditor.html
Normal file
33
imports/ui/Admin/InternshipEditor.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user