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
|
//**** 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", {
|
pri.route("/admin", {
|
||||||
triggersEnter: [function(context, redirect) {redirect("/Admin/InternshipJobs");}]
|
triggersEnter: [function(context, redirect) {redirect("/Admin/Internships");}]
|
||||||
});
|
});
|
||||||
pri.route("/Admin", {
|
pri.route("/Admin", {
|
||||||
triggersEnter: [function(context, redirect) {redirect("/Admin/InternshipJobs");}]
|
triggersEnter: [function(context, redirect) {redirect("/Admin/Internships");}]
|
||||||
});
|
});
|
||||||
|
//** The login pages...
|
||||||
AccountsTemplates.configureRoute('signIn', {
|
AccountsTemplates.configureRoute('signIn', {
|
||||||
name: 'SignIn',
|
name: 'SignIn',
|
||||||
path: '/Login'
|
path: '/Login'
|
||||||
@@ -74,6 +76,13 @@ pri.route("/Admin/NewsEditor", {
|
|||||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
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", {
|
pri.route("/Admin/SlideshowEditor", {
|
||||||
name: "SlideshowEditor",
|
name: "SlideshowEditor",
|
||||||
action: function(params, queryParams) {
|
action: function(params, queryParams) {
|
||||||
@@ -191,6 +200,13 @@ pub.route("/News", {
|
|||||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
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", {
|
pub.route("/PhotoGallery", {
|
||||||
name: 'PhotoGallery',
|
name: 'PhotoGallery',
|
||||||
action: function(params, queryParams) {
|
action: function(params, queryParams) {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ let currentPath = "";
|
|||||||
let routeData = {
|
let routeData = {
|
||||||
JrHighSummerEditor: {title: "Jr High Summer", name: "JrHighSummer"},
|
JrHighSummerEditor: {title: "Jr High Summer", name: "JrHighSummer"},
|
||||||
NewsEditor: {title: "News", name: "News"},
|
NewsEditor: {title: "News", name: "News"},
|
||||||
|
SecondChanceEditor: {title: "Second Chance", name: "SecondChance"},
|
||||||
DatesEditor: {title: "Dates", name: "Dates"},
|
DatesEditor: {title: "Dates", name: "Dates"},
|
||||||
BoardEditor: {title: "Current Board", name: "Board"},
|
BoardEditor: {title: "Current Board", name: "Board"},
|
||||||
SlideshowPageEditor: {title: "Slideshow Page", name: "Slideshow"}
|
SlideshowPageEditor: {title: "Slideshow Page", name: "Slideshow"}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import './EditablePage.html';
|
|||||||
let routeData = {
|
let routeData = {
|
||||||
JrHighSummer: {name: "JrHighSummer"},
|
JrHighSummer: {name: "JrHighSummer"},
|
||||||
News: {name: "News"},
|
News: {name: "News"},
|
||||||
|
SecondChance: {name: "SecondChance"},
|
||||||
ImportantDates: {name: "Dates"},
|
ImportantDates: {name: "Dates"},
|
||||||
CurrentBoard: {name: "Board"}
|
CurrentBoard: {name: "Board"}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,12 +10,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cellTile">
|
<div class="cellTile">
|
||||||
|
<div class="cellContent">
|
||||||
|
<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="cellContent">
|
||||||
<div class="menuText">News & Notices</div>
|
<div class="menuText">News & Notices</div>
|
||||||
<div id="newsHeaderTimestampDiv" class="menuTimestamp">{{newsDate}}</div> <!--03/13/18-->
|
<div id="newsHeaderTimestampDiv" class="menuTimestamp">{{newsDate}}</div>
|
||||||
<a href="{{pathFor 'News'}}"><img src='./images/redwood_seed_v2.jpg'/></a>
|
<a href="{{pathFor 'News'}}"><img src='./images/redwood_seed_v2.jpg'/></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
<div class="column column2">
|
<div class="column column2">
|
||||||
<div class="cellTile">
|
<div class="cellTile">
|
||||||
|
|||||||
@@ -29,6 +29,11 @@
|
|||||||
<a href="{{pathFor 'DatesEditor'}}">
|
<a href="{{pathFor 'DatesEditor'}}">
|
||||||
Important Dates
|
Important Dates
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="{{isActiveRoute 'SecondChanceEditor'}}">
|
||||||
|
<a href="{{pathFor 'SecondChanceEditor'}}">
|
||||||
|
Second Chance
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{{isActiveRoute 'JrHighSummerEditor'}}">
|
<li class="{{isActiveRoute 'JrHighSummerEditor'}}">
|
||||||
<a href="{{pathFor 'JrHighSummerEditor'}}">
|
<a href="{{pathFor 'JrHighSummerEditor'}}">
|
||||||
|
|||||||
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