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:
Wynne Crisman
2018-12-12 11:04:00 -08:00
parent c0e971774e
commit 3fc374eda3
108 changed files with 3472 additions and 628 deletions

View 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>