Blank Admin Pages
Added all the admin pages, but they have no content.
This commit is contained in:
@@ -28,21 +28,21 @@ AccountsTemplates.configureRoute('forgotPwd', {
|
|||||||
path: '/ForgotPwd'
|
path: '/ForgotPwd'
|
||||||
});
|
});
|
||||||
|
|
||||||
pri.route("/Admin/Home", {
|
pri.route("/Admin/Internships", {
|
||||||
name: "AdminHome",
|
name: "InternshipsEditor",
|
||||||
action: function(params, queryParams) {
|
action: function(params, queryParams) {
|
||||||
require("/imports/ui/AdminHome.js");
|
require("/imports/ui/Admin/InternshipsEditor.js");
|
||||||
BlazeLayout.render("Admin", {content: "AdminHome"})
|
BlazeLayout.render("Admin", {content: "InternshipsEditor"})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pri.route("/Admin/BoardEditor", {
|
pri.route("/Admin/Board", {
|
||||||
name: "BoardEditor",
|
name: "BoardEditor",
|
||||||
action: function(params, queryParams) {
|
action: function(params, queryParams) {
|
||||||
require("/imports/ui/Admin/BoardEditor.js");
|
require("/imports/ui/Admin/BoardEditor.js");
|
||||||
BlazeLayout.render("Admin", {content: "BoardEditor"})
|
BlazeLayout.render("Admin", {content: "BoardEditor"})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pri.route("/Admin/DatesEditor", {
|
pri.route("/Admin/Dates", {
|
||||||
name: "DatesEditor",
|
name: "DatesEditor",
|
||||||
action: function(params, queryParams) {
|
action: function(params, queryParams) {
|
||||||
require("/imports/ui/Admin/DatesEditor.js");
|
require("/imports/ui/Admin/DatesEditor.js");
|
||||||
@@ -56,7 +56,7 @@ pri.route("/Admin/UserManagement", {
|
|||||||
BlazeLayout.render("Admin", {content: "UserManagement"})
|
BlazeLayout.render("Admin", {content: "UserManagement"})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pri.route("/Admin/AppreciationEditor", {
|
pri.route("/Admin/Appreciation", {
|
||||||
name: "AppreciationEditor",
|
name: "AppreciationEditor",
|
||||||
action: function(params, queryParams) {
|
action: function(params, queryParams) {
|
||||||
require("/imports/ui/Admin/AppreciationEditor.js");
|
require("/imports/ui/Admin/AppreciationEditor.js");
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template name="AppreciationEditor">
|
<template name="AppreciationEditor">
|
||||||
<div id="appreciationEditor" class="textView">
|
<div id="appreciationEditor">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<template name="BoardEditor">
|
<template name="BoardEditor">
|
||||||
<div id="boardEditor" class="textView">
|
<div id="boardEditor" >
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<template name="DatesEditor">
|
<template name="DatesEditor">
|
||||||
<div id="datesEditor" class="textView">
|
<div id="datesEditor">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
4
imports/ui/Admin/InternshipsEditor.html
Normal file
4
imports/ui/Admin/InternshipsEditor.html
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<template name="InternshipsEditor">
|
||||||
|
<div id="internshipsEditor">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
2
imports/ui/Admin/InternshipsEditor.js
Normal file
2
imports/ui/Admin/InternshipsEditor.js
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
import './InternshipsEditor.html';
|
||||||
2
imports/ui/Admin/InternshipsEditor.styl
Normal file
2
imports/ui/Admin/InternshipsEditor.styl
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#internshipsEditor
|
||||||
|
display: block
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<template name="NewsEditor">
|
<template name="NewsEditor">
|
||||||
<div id="newsEditor" class="textView">
|
<div id="newsEditor">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<div class="logoLeft" onclick="{{pathFor 'Home'}}"></div>
|
<div class="logoLeft" onclick="{{pathFor 'Home'}}"></div>
|
||||||
<div class="menuBar">
|
<div class="menuBar">
|
||||||
<div onmousedown="return false">
|
<div onmousedown="return false">
|
||||||
<a href="{{pathFor 'Admin/Home'}}"><li class="fa fa-key theKey" aria-hidden="true"></li></a>
|
<a href="{{pathFor 'InternshipsEditor'}}"><li class="fa fa-key theKey" aria-hidden="true"></li></a>
|
||||||
<li class="barButton"><a href="#"><i class="fa fa-bars"></i></a></li>
|
<li class="barButton"><a href="#"><i class="fa fa-bars"></i></a></li>
|
||||||
<li><a id="datesMenu" class="{{isActiveRoute 'ImportantDates'}}" href="{{pathFor 'ImportantDates'}}">Important Dates</a></li>
|
<li><a id="datesMenu" class="{{isActiveRoute 'ImportantDates'}}" href="{{pathFor 'ImportantDates'}}">Important Dates</a></li>
|
||||||
<li><a id="supportMenu" class="{{isActiveRoute 'Support'}}" href="{{pathFor 'Support'}}">Support </a></li>
|
<li><a id="supportMenu" class="{{isActiveRoute 'Support'}}" href="{{pathFor 'Support'}}">Support </a></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user