Added Second Chance Scholarship; Needs some work to the wisiwig editor to allow download links.
This commit is contained in:
@@ -9,12 +9,14 @@ let pri = FlowRouter.group({
|
||||
});
|
||||
|
||||
//**** ADMIN
|
||||
//** These first two routes are the defaults that are used after logging in, or if the user types /admin or /Admin without a specific page.
|
||||
pri.route("/admin", {
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/InternshipJobs");}]
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/Internships");}]
|
||||
});
|
||||
pri.route("/Admin", {
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/InternshipJobs");}]
|
||||
triggersEnter: [function(context, redirect) {redirect("/Admin/Internships");}]
|
||||
});
|
||||
//** The login pages...
|
||||
AccountsTemplates.configureRoute('signIn', {
|
||||
name: 'SignIn',
|
||||
path: '/Login'
|
||||
@@ -74,6 +76,13 @@ pri.route("/Admin/NewsEditor", {
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/SecondChanceEditor", {
|
||||
name: "SecondChanceEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/SlideshowEditor", {
|
||||
name: "SlideshowEditor",
|
||||
action: function(params, queryParams) {
|
||||
@@ -191,6 +200,13 @@ pub.route("/News", {
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/SecondChance", {
|
||||
name: 'SecondChance',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/PhotoGallery", {
|
||||
name: 'PhotoGallery',
|
||||
action: function(params, queryParams) {
|
||||
|
||||
@@ -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"}
|
||||
|
||||
@@ -3,6 +3,7 @@ import './EditablePage.html';
|
||||
let routeData = {
|
||||
JrHighSummer: {name: "JrHighSummer"},
|
||||
News: {name: "News"},
|
||||
SecondChance: {name: "SecondChance"},
|
||||
ImportantDates: {name: "Dates"},
|
||||
CurrentBoard: {name: "Board"}
|
||||
};
|
||||
|
||||
@@ -11,11 +11,18 @@
|
||||
</div>
|
||||
<div class="cellTile">
|
||||
<div class="cellContent">
|
||||
<div class="menuText">News & 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 & 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">
|
||||
|
||||
@@ -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
|
||||
|
||||
BIN
public/forms/Second_Chance_Scholarship_Form.pdf
Normal file
BIN
public/forms/Second_Chance_Scholarship_Form.pdf
Normal file
Binary file not shown.
BIN
source_docs/Second Chance scholarship application form.odt
Normal file
BIN
source_docs/Second Chance scholarship application form.odt
Normal file
Binary file not shown.
Reference in New Issue
Block a user