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:
@@ -31,43 +31,57 @@ AccountsTemplates.configureRoute('forgotPwd', {
|
||||
pri.route("/Admin/Internships", {
|
||||
name: "InternshipsEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/InternshipsEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "InternshipsEditor"})
|
||||
require("/imports/ui/Admin/InternshipEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "InternshipEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/Board", {
|
||||
name: "BoardEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/BoardEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "BoardEditor"})
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/Dates", {
|
||||
name: "DatesEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/DatesEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "DatesEditor"})
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/UserManagement", {
|
||||
name: "UserManagement",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/UserManagement.js");
|
||||
BlazeLayout.render("Admin", {content: "UserManagement"})
|
||||
BlazeLayout.render("Admin", {content: "UserManagement"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/Appreciation", {
|
||||
name: "AppreciationEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/AppreciationEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "AppreciationEditor"})
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/NewsEditor", {
|
||||
name: "NewsEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/NewsEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "NewsEditor"})
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/SlideshowEditor", {
|
||||
name: "SlideshowEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/SlideshowEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "SlideshowEditor"});
|
||||
}
|
||||
});
|
||||
pri.route("/Admin/SlideshowPageEditor", {
|
||||
name: "SlideshowPageEditor",
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Admin/PageEditor.js");
|
||||
BlazeLayout.render("Admin", {content: "PageEditor"});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -85,8 +99,8 @@ pub.route("/Home", {
|
||||
pub.route("/ImportantDates", {
|
||||
name: 'ImportantDates',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/ImportantDates.js");
|
||||
BlazeLayout.render("Public", {content: "ImportantDates"});
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/Support", {
|
||||
@@ -131,6 +145,20 @@ pub.route("/Internships", {
|
||||
BlazeLayout.render("Public", {content: "Internships"});
|
||||
}
|
||||
});
|
||||
pub.route("/Internship-Job-List", {
|
||||
name: 'Internships Job List',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/InternshipJobs.js");
|
||||
BlazeLayout.render("Public", {content: "InternshipJobs"});
|
||||
}
|
||||
});
|
||||
pub.route("/Internship-Job/:_id", {
|
||||
name: 'Internship',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/InternshipJobs.js");
|
||||
BlazeLayout.render("Public", {content: "InternshipJob"});
|
||||
}
|
||||
});
|
||||
pub.route("/Scholarships", {
|
||||
name: 'Scholarships',
|
||||
action: function(params, queryParams) {
|
||||
@@ -145,11 +173,11 @@ pub.route("/Fellowships", {
|
||||
BlazeLayout.render("Public", {content: "Fellowships"});
|
||||
}
|
||||
});
|
||||
pub.route("/News&Notices", {
|
||||
name: 'News&Notices',
|
||||
pub.route("/News", {
|
||||
name: 'News',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/News&Notices.js");
|
||||
BlazeLayout.render("Public", {content: "NewsNotices"});
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/PhotoGallery", {
|
||||
@@ -162,8 +190,8 @@ pub.route("/PhotoGallery", {
|
||||
pub.route("/Appreciation", {
|
||||
name: 'Appreciation',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/Appreciation.js");
|
||||
BlazeLayout.render("Public", {content: "Appreciation"});
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
pub.route("/HowCanYouHelp", {
|
||||
@@ -176,7 +204,7 @@ pub.route("/HowCanYouHelp", {
|
||||
pub.route("/CurrentBoard", {
|
||||
name: 'CurrentBoard',
|
||||
action: function(params, queryParams) {
|
||||
require("/imports/ui/CurrentBoard.js");
|
||||
BlazeLayout.render("Public", {content: "CurrentBoard"});
|
||||
require("/imports/ui/EditablePage.js");
|
||||
BlazeLayout.render("Public", {content: "EditablePage"});
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user