Added Second Chance Scholarship; Needs some work to the wisiwig editor to allow download links.

This commit is contained in:
Wynne Crisman
2020-11-14 11:32:15 -08:00
parent 114cce02c1
commit da36c139eb
8 changed files with 46 additions and 16 deletions

View File

@@ -8,6 +8,7 @@ let currentPath = "";
let routeData = {
JrHighSummerEditor: {title: "Jr High Summer", name: "JrHighSummer"},
NewsEditor: {title: "News", name: "News"},
SecondChanceEditor: {title: "Second Chance", name: "SecondChance"},
DatesEditor: {title: "Dates", name: "Dates"},
BoardEditor: {title: "Current Board", name: "Board"},
SlideshowPageEditor: {title: "Slideshow Page", name: "Slideshow"}
@@ -224,4 +225,4 @@ Template.PageEditor.helpers({
}
};
}
});
});

View File

@@ -3,6 +3,7 @@ import './EditablePage.html';
let routeData = {
JrHighSummer: {name: "JrHighSummer"},
News: {name: "News"},
SecondChance: {name: "SecondChance"},
ImportantDates: {name: "Dates"},
CurrentBoard: {name: "Board"}
};
@@ -30,4 +31,4 @@ Template.EditablePage.helpers({
return doc === undefined ? "" : doc.html;
}
});
});

View File

@@ -11,11 +11,18 @@
</div>
<div class="cellTile">
<div class="cellContent">
<div class="menuText">News &amp; Notices</div>
<div id="newsHeaderTimestampDiv" class="menuTimestamp">{{newsDate}}</div> <!--03/13/18-->
<a href="{{pathFor 'News'}}"><img src='./images/redwood_seed_v2.jpg'/></a>
<div class="menuText">Second Chance</div>
<a href="{{pathFor 'SecondChance'}}"><img src='./images/redwood_seed_v2.jpg'/></a>
</div>
</div>
<!-- <div class="cellTile">
<div class="cellContent">
<div class="menuText">News &amp; Notices</div>
<div id="newsHeaderTimestampDiv" class="menuTimestamp">{{newsDate}}</div>
<a href="{{pathFor 'News'}}"><img src='./images/redwood_seed_v2.jpg'/></a>
</div>
</div>
-->
</div>
<div class="column column2">
<div class="cellTile">
@@ -61,4 +68,4 @@
</div>
</div>
</div>
</template>
</template>

View File

@@ -25,11 +25,16 @@
Slideshow Page
</a>
</li>
<li class="{{isActiveRoute 'DatesEditor'}}">
<a href="{{pathFor 'DatesEditor'}}">
Important Dates
</a>
</li>
<li class="{{isActiveRoute 'DatesEditor'}}">
<a href="{{pathFor 'DatesEditor'}}">
Important Dates
</a>
</li>
<li class="{{isActiveRoute 'SecondChanceEditor'}}">
<a href="{{pathFor 'SecondChanceEditor'}}">
Second Chance
</a>
</li>
<li class="{{isActiveRoute 'JrHighSummerEditor'}}">
<a href="{{pathFor 'JrHighSummerEditor'}}">
Jr High Summer
@@ -63,4 +68,4 @@
{{> Template.dynamic template=content}}
</div>
</div>
</template>
</template>

View File

@@ -26,7 +26,7 @@ Template.Public.events({
// '<li class="donateLink donateOnce"><button type="button" class="swal2-styled" onclick="' + openAnnually + '">Annually</button></li>' +
// '</ul>'
html: '<div class="btn-group" role="group" aria-label="Donation Types">' +
'<button type="button" class="swal2-styled btn btn-secondary" onclick="' + openOnce + '">Once</button>' +
'<button type="button" class="swal2-styled btn btn-secondary" onclick="' + openOnce + '">Once</button>' +
'<button type="button" class="swal2-styled btn btn-secondary" onclick="' + openMonthly + '">Monthly</button>' +
'<button type="button" class="swal2-styled btn btn-secondary" onclick="' + openAnnually + '">Annually</button>' +
'</div>'