Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: Michieljoris/firstdoor
base: 5237576e7c
...
head fork: Michieljoris/firstdoor
compare: 351b0de431
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 34 files changed
  • 0 commit comments
  • 1 contributor
Showing with 27,543 additions and 422 deletions.
  1. +1 −1  build/editable/events_sidebar.html
  2. +3 −0  build/html/aboutus_stitch.html
  3. +1 −1  build/html/asqa.html
  4. +3 −0  build/html/courses_stitch.html
  5. +6 −6 build/html/footerPolicies.html
  6. +1 −1  build/html/logo.html
  7. +2 −0  build/html/pd_stitch.html
  8. +1 −1  build/html/policies.html
  9. +6 −4 build/html/resources.html
  10. +2 −2 build/html/showhide.html
  11. +3 −3 build/html/showhide_pd_children_info.html
  12. +2 −2 build/html/showhide_pd_inspired_info.html
  13. +1 −1  build/html/sidebar.html
  14. +3 −0  build/html/welcome_stitch.html
  15. +10 −3 build/js/router.js
  16. +52 −49 build/recipe.js
  17. +239 −127 build/www.js/controllers.js
  18. +8,860 −0 build/www.js/myJsBlock.js
  19. +29 −12 build/www.js/resourcesCntl.js
  20. +0 −1  build/www.js/router.js
  21. +3 −0  firstdoor.org
  22. +24 −24 server/server.js
  23. +6 −3 www/built/view-aboutus.html
  24. +5 −2 www/built/view-courses.html
  25. +2 −2 www/built/view-enroll.html
  26. +6 −3 www/built/view-home.html
  27. +18 −16 www/built/view-pd.html
  28. +6 −6 www/built/view-resources.html
  29. +8,845 −0 www/css/myJsBlock.js
  30. +9,242 −0 www/css/myLinkBlock.css
  31. +18 −19 www/index.html
  32. +119 −115 www/myJsBlock.js
  33. +14 −14 www/myLinkBlock.css
  34. +10 −4 www/router.js
View
2  build/editable/events_sidebar.html
@@ -9,4 +9,4 @@
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
View
3  build/html/aboutus_stitch.html
@@ -21,3 +21,6 @@
<div scroll id="policies"></div>
<div ng-show="isShow('policies')" id="policies--"></div>
+
+<div scroll id="aboutus404"></div>
+<div ng-show="is404()" >This page does not exist..</div>
View
2  build/html/asqa.html
@@ -1,2 +1,2 @@
-Download pdf file: <a href='documents/ASQA_Audit_Report.pdf'>Australian Skills Quality
+Download pdf file: <a href='documents/ASQA_Audit_Report.pdf' target="_self">Australian Skills Quality
Authority audit summary</a>
View
3  build/html/courses_stitch.html
@@ -32,3 +32,6 @@
<div ng-show="isShow('studentfees')" >
<div id="studentfees--"> </div>
</div>
+
+<div scroll ></div>
+<div ng-show="is404()" >This page does not exist..</div>
View
12 build/html/footerPolicies.html
@@ -1,17 +1,17 @@
<div class="footer-headline"><h4>Documents</h4></div>
<div class="connect-sub">
<ul>
- <li> <a href="documents/Policies and Procedures May13.pdf">Policies and Procedures</a>
+ <li> <a href="documents/Policies and Procedures May13.pdf" target="_self">Policies and Procedures</a>
</li>
- <li> <a href="documents/PRIVACY POLICY.pdf">Privacy policy</a>
+ <li> <a href="documents/PRIVACY POLICY.pdf" target="_self">Privacy policy</a>
</li>
- <li> <a href="documents/FirstDoor_StudentHandbook.pdf">Student handbook</a>
+ <li> <a href="documents/FirstDoor_StudentHandbook.pdf" target="_self">Student handbook</a>
</li>
- <li> <a href="documents/Diploma_Early_Childhood_Course_Guide.pdf">Course guide</a>
+ <li> <a href="documents/Diploma_Early_Childhood_Course_Guide.pdf" target="_self">Course guide</a>
</li>
- <li> <a href="documents/Dip ECEC enrolment print version.pdf">ECEC Enrolment</a>
+ <li> <a href="documents/Dip ECEC enrolment print version.pdf" target="_self">ECEC Enrolment</a>
</li>
- <li> <a href="documents/Individual Units enrolment print version.pdf">Individual Units Enrolment</a>
+ <li> <a href="documents/Individual Units enrolment print version.pdf" target="_self">Individual Units Enrolment</a>
</li>
</ul>
</div>
View
2  build/html/logo.html
@@ -1 +1 @@
-<a href="/"><img ng-src="{{cachify('images/logo.jpg')}}"alt="logo" /></a>
+<a href=""><img ng-src="{{cachify('images/logo.jpg')}}"alt="logo" /></a>
View
2  build/html/pd_stitch.html
@@ -58,3 +58,5 @@
</div>
+<div scroll id="pd"></div>
+<div ng-show="is404()" >This page does not exist..</div>
View
2  build/html/policies.html
@@ -1 +1 @@
-Download pdf file: <a href='documents/Policies and Procedures May13.pdf'>Firstdoor Policies.pdf</a>
+Download pdf file: <a target="_self" href='documents/Policies and Procedures May13.pdf'>Firstdoor Policies.pdf</a>
View
10 build/html/resources.html
@@ -8,21 +8,23 @@ <h2 >{{getSectionTitle(section)}}</h2>
<div ng-switch on="video.provider" >
<span ng-switch-when="text" ng-bind-html-unsafe="video.title"></span>
<span ng-switch-default>
- <a id="videoTitle" href="#" ng-click="open($event, video)" ng-bind-html-unsafe="video.title"> </a>
+ <a id="videoTitle" ng-click="open($event, video)" ng-bind-html-unsafe="video.title"
+ style="cursor:pointer"
+ > </a>
</span>
</div>
<div class="container" >
<div class="row" >
<div ng-switch on="video.provider" class="span1" >
- <a ng-switch-when="youtube" href="#"
+ <a ng-switch-when="youtube" style="cursor:pointer"
ng-click="open($event, video)">
<div class="video-thumbnail embed-container ratio-4-3 ">
- <img href="#" ng-src="http://img.youtube.com/vi/{{video.id}}/2.jpg"
+ <img href="" ng-src="http://img.youtube.com/vi/{{video.id}}/2.jpg"
class="mymage" style="max-height:75px;" />
</div>
</a>
- <a ng-switch-when="vimeo" href="#"
+ <a ng-switch-when="vimeo" style="cursor:pointer"
ng-click="open($event, video)">
<div id="{{video.id}}"
class="video-thumbnail embed-container ratio-4-3">
View
4 build/html/showhide.html
@@ -1,8 +1,8 @@
-<a href="#" id="uniqueid-show" class="showLink"
+<a id="uniqueid-show" class="showLink" style="cursor:pointer"
onclick="showHide('uniqueid');return false;">Show..</a>
</p>
<div id="uniqueid" class="more">
- <p><a href="#" id="uniqueid-hide" class="hideLink"
+ <p><a id="uniqueid-hide" class="hideLink" style="cursor:pointer"
onclick="showHide('uniqueid');return false;">Hide</a></p>
inserthere
</div>
View
6 build/html/showhide_pd_children_info.html
@@ -1,11 +1,11 @@
-<a href="#" id="shchildren-show" class="showLink"
+<a href="" id="shchildren-show" class="showLink"
onclick="showHide('shchildren');return false;">Show..</a>
</p>
<div id="shchildren" class="more">
- <p><a href="#" id="shchildren-hide" class="hideLink"
+ <p><a href="" id="shchildren-hide" class="hideLink"
onclick="showHide('shchildren');return false;">Hide</a></p>
<div id="pd_children_info_md--"></div>
- <p><a href="#" id="shchildren-hide" class="hideLink"
+ <p><a href="" id="shchildren-hide" class="hideLink"
onclick="showHide('shchildren');return false;">Hide</a></p>
</div>
View
4 build/html/showhide_pd_inspired_info.html
@@ -1,7 +1,7 @@
-<a href="#" id="shinspired-show" class="showLink"
+<a href="" id="shinspired-show" class="showLink"
onclick="showHide('shinspired');return false;">Show..</a>
<div id="shinspired" class="more">
- <p><a href="#" id="shinspired-hide" class="hideLink"
+ <p><a href="" id="shinspired-hide" class="hideLink"
onclick="showHide('shinspired');return false;">Hide</a></p>
<div id="pd_inspired_info_md--"></div>
</div>
View
2  build/html/sidebar.html
@@ -6,7 +6,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)" >
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file && '_self' || ''}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)"ng-repeat="sublink in link.sub">
View
3  build/html/welcome_stitch.html
@@ -37,3 +37,6 @@
<div id="quiz--"> </div>
</div>
+
+<div scroll id="welcome404"></div>
+<div ng-show="is404()" >This page does not exist..</div>
View
13 build/js/router.js
@@ -22,13 +22,20 @@ angular.module('ngView', [],
];
mapping.forEach(function(m) {
- $routeProvider.when('/' + m[0], {
- templateUrl: '//' + document.location.host + '/' + m[1], controller: m[2] ? m[2] : DefaultCntl });
+ var route ='/' + m[0];
+ $routeProvider.when(route,
+ { templateUrl: '//' + document.location.host + '/' + m[1],
+ controller: m[2] ? m[2] : DefaultCntl });
+ route ='/' + m[0] + '/:section';
+ $routeProvider.when(route,
+ { templateUrl: '//' + document.location.host + '/' + m[1],
+ controller: m[2] ? m[2] : DefaultCntl });
});
+
$routeProvider.otherwise( {
templateUrl: '//' + document.location.host +
- '/built/view-home.html', controller: HomeCntl });
+ cachify('/built/view-home.html'), controller: HomeCntl });
$locationProvider.html5Mode(true);
// console.log($locationProvider.hashPrefix());
View
101 build/recipe.js
@@ -159,76 +159,76 @@ var mainMenuTree = [
{ label: 'Home', icon: '', href: '/'
,sub: [
- // { label: 'Welcome', route: 'home#welcome', scroll: true}
- { label: 'Specialists in Early Childhood training and development', route: 'home#specialists', scroll: true}
- ,{ label: 'Engaging resources and environments', route: 'home#engaging', scroll: true}
- ,{ label: 'Your personal mentor ', route: 'home#mentor', scroll: true}
- ,{ label: 'Constructive and timely assessment', route: 'home#constructive', scroll: true}
- // ,{ label: '', route: 'home#quiz', scroll: true}
- // ,{ label: 'Quiz: discover your preferred learning style', route: 'home#quiz', scroll: true}
+ // { label: 'Welcome', route: 'home/welcome', scroll: true}
+ { label: 'Specialists in Early Childhood training and development', route: 'home/specialists', scroll: true}
+ ,{ label: 'Engaging resources and environments', route: 'home/engaging', scroll: true}
+ ,{ label: 'Your personal mentor ', route: 'home/mentor', scroll: true}
+ ,{ label: 'Constructive and timely assessment', route: 'home/constructive', scroll: true}
+ // ,{ label: '', route: 'home/quiz', scroll: true}
+ // ,{ label: 'Quiz: discover your preferred learning style', route: 'home/quiz', scroll: true}
- ,{ label: 'Australian Skills Quality Authority audit summary', route: 'home#asqa', scroll: true}
+ ,{ label: 'Australian Skills Quality Authority audit summary', route: 'home/asqa', scroll: true}
]
// sub: [
// { label: 'Contact us', route: 'contactus', scroll: true}
// ]
}
- ,{ label: 'About us', icon: '', route: 'aboutus#vision',
+ ,{ label: 'About us', icon: '', route: 'aboutus/vision',
sub: [
- { label: 'Our company', route: 'aboutus#vision', scroll: true
+ { label: 'Our company', route: 'aboutus/vision', scroll: true
,sub: [
- { label: 'Vision', icon: '', route: 'aboutus#vision'}
- ,{ label: 'Mission', route: 'aboutus#mission'}
- ,{ label: 'Our student approach', route: 'aboutus#approach'}
- ,{ label: 'Values', route: 'aboutus#values'}
+ { label: 'Vision', icon: '', route: 'aboutus/vision'}
+ ,{ label: 'Mission', route: 'aboutus/mission'}
+ ,{ label: 'Our student approach', route: 'aboutus/approach'}
+ ,{ label: 'Values', route: 'aboutus/values'}
]
}
- ,{ label: 'Our name and logo', route: 'aboutus#namelogo', scroll: true}
- ,{ label: 'Our people', route: 'aboutus#people', scroll: true}
- ,{ label: 'First door policies', route: 'aboutus#policies', scroll: true}
- // ,{ label: 'Our people', route: 'index.html#!/aboutus#people'}
+ ,{ label: 'Our name and logo', route: 'aboutus/namelogo', scroll: true}
+ ,{ label: 'Our people', route: 'aboutus/people', scroll: true}
+ ,{ label: 'First door policies', route: 'aboutus/policies', scroll: true}
+ // ,{ label: 'Our people', route: 'index.html/!/aboutus#people'}
]
}
- ,{ label: 'Professional development', icon: '', route: 'pd#intro'
+ ,{ label: 'Professional development', icon: '', route: 'pd/intro'
,sub: [
- { label: 'The inspired educator', route: 'pd#inspired', scroll: true}
- ,{ label: 'Observation, documentation, planning and evaluating', route: 'pd#observing', scroll: true}
- ,{ label: 'Environment and experiences', route: 'pd#environment', scroll: true}
- ,{ label: 'Developing cooperative behaviour', route: 'pd#coop', scroll: true}
- ,{ label: 'Evaluation and reflective practice', route: 'pd#evaluation', scroll: true}
- ,{ label: 'Children at risk', route: 'pd#children', scroll: true}
- ,{ label: 'Identify and manage risk', route: 'pd#risk', scroll: true}
- ,{ label: 'Customised workshop', route: 'pd#customised', scroll: true}
- ,{ label: 'Fees', route: 'pd#pdfees', scroll: true}
+ { label: 'The inspired educator', route: 'pd/inspired', scroll: true}
+ ,{ label: 'Observation, documentation, planning and evaluating', route: 'pd/observing', scroll: true}
+ ,{ label: 'Environment and experiences', route: 'pd/environment', scroll: true}
+ ,{ label: 'Developing cooperative behaviour', route: 'pd/coop', scroll: true}
+ ,{ label: 'Evaluation and reflective practice', route: 'pd/evaluation', scroll: true}
+ ,{ label: 'Children at risk', route: 'pd/children', scroll: true}
+ ,{ label: 'Identify and manage risk', route: 'pd/risk', scroll: true}
+ ,{ label: 'Customised workshop', route: 'pd/customised', scroll: true}
+ ,{ label: 'Fees', route: 'pd/pdfees', scroll: true}
]
}
- ,{ label: 'Accredited training', icon: '', route: 'courses#intro'
+ ,{ label: 'Accredited training', icon: '', route: 'courses/intro'
,sub: [
- { label: 'Diploma of Early Childhood Education and Care', route: 'courses#children_ecec',
+ { label: 'Diploma of Early Childhood Education and Care', route: 'courses/children_ecec',
scroll: true}
- ,{ label: 'Diploma of Management ', route: 'courses#diploma_management', scroll: true}
- ,{ label: 'Certificate IV in Training and Assessment', route: 'courses#certivtraining', scroll: true}
- // ,{ label: 'Aged care', route: 'courses#agedcare'}
+ ,{ label: 'Diploma of Management ', route: 'courses/diploma_management', scroll: true}
+ ,{ label: 'Certificate IV in Training and Assessment', route: 'courses/certivtraining', scroll: true}
+ // ,{ label: 'Aged care', route: 'courses/agedcare'}
]
}
- ,{ label: 'Resources', icon: '', route: 'resources#motivation'
+ ,{ label: 'Resources', icon: '', route: 'resources/motivation'
,sub: [
- { label: 'Motivation', route: 'resources#motivation', scroll: true
+ { label: 'Motivation', route: 'resources/motivation', scroll: true
}
- ,{ label: 'Early childhood', route: 'resources#earlychildhood', scroll: true
+ ,{ label: 'Early childhood', route: 'resources/earlychildhood', scroll: true
// ,sub: [
// { label: 'Educational leaders', route: 'resources'}
// ]
}
- ,{ label: 'Learning organisations', route: 'resources#learningorganisations', scroll:true}
- ,{ label: 'Learning', route: 'resources#learning', scroll:true
+ ,{ label: 'Learning organisations', route: 'resources/learningorganisations', scroll:true}
+ ,{ label: 'Learning', route: 'resources/learning', scroll:true
// ,sub: [
- // { label: 'Quiz', route: 'resources#quiz'}
+ // { label: 'Quiz', route: 'resources/quiz'}
// ]
}
- ,{ label: 'Leadership and Management', route: 'resources#leadership', scroll:true}
+ ,{ label: 'Leadership and Management', route: 'resources/leadership', scroll:true}
,{ label: 'Quiz: discover your preferred learning style', route: 'quiz', scroll: true}
// ,{ label: '(tryouts)' ,route: 'resources'
@@ -312,7 +312,6 @@ var images = {
}
var develop_mode = process.env.DEVELOP;
-develop_mode = true;
// develop_mode = false;
var exports = {
verbose: true
@@ -418,12 +417,12 @@ var exports = {
//group the script and link blocks and concatenate all files listed in a block
,concatenate: !develop_mode
+ // ,concatenate: true
//make sure to load the resources for custom components, the files get added
//to the first script and link blocks.
,extras: ['flex-slider', 'cssmenu', 'showhide']
,routes: [
['home','built/view-home.html', 'HomeCntl'],
- ['home','built/view-home.html', 'HomeCntl'],
['aboutus', 'built/view-aboutus.html'],
['pd', 'built/view-pd.html'],
['resources', 'built/view-resources.html', 'ResourcesCntl'],
@@ -451,6 +450,8 @@ var exports = {
,partials: {
ids: {
title: '<title>Firstdoor - Leaders in developing capability</title>'
+ ,baseHref: '<base href="http://localhost:9001"">'
+ // ,baseHref: '<base href="/"">'
// ,image_courses: '<img class="" src="images/slides/tab_accredited_training.jpg" />'
// ,image_aboutus: '<img class="" src="images/slides/tab_about_us.jpg" />'
// ,image_pd: '<img class="" src="images/slides/tab_professional_development.jpg" />'
@@ -782,13 +783,15 @@ var exports = {
//want to retrieve cachified versions. Include the resources
//under the cachify.list
,mapping: {
- head: ['title', 'meta', 'html/ieshim','skewer',
- // 'firebug',
- 'sharethis1', 'sharethis2', 'sharethis3',
- // 'headJsBlock',
- 'myLinkBlock'
- ,'cachify'
- ],
+ head: [
+ 'baseHref',
+ 'title', 'meta', 'html/ieshim','skewer',
+ // 'firebug',
+ 'sharethis1', 'sharethis2', 'sharethis3',
+ // 'headJsBlock',
+ 'myLinkBlock'
+ ,'cachify'
+ ],
"ng:app": ['body', 'myJsBlock',
// '_scriptBlock'
View
366 build/www.js/controllers.js
@@ -335,32 +335,36 @@ myAppModule.directive('scroll',
var nrtlogo_allowed = [
- "/courses#intro",
- "/courses#children_ecec",
- "/courses#diploma_management",
- "/courses#certivtraining"
+ "/courses/intro",
+ "/courses/children_ecec",
+ "/courses/diploma_management",
+ "/courses/certivtraining"
];
//Controllers
function MainCntl($scope, $location) {
console.log('Main controller..');
$scope.getContactUsText = function() {
+
+ var path = $location.$$path.split('/').filter(function(e) { return e; });
+ var page = path[0] || 'home';
// console.log('route' ,$location.path);
var strings = {
- '/home':'Request your First Door ' +
+ 'home':'Request your First Door ' +
// '<a href="documents/FirstDoor_StudentHandbook.pdf">'+
'student handbook now, or phone us. We’re here to help.',
- '/aboutus':'Contact us, we are here to help you.',
- '/pd':'Request forms now to evaluate your Centre’s PD needs, or call us for more information',
- '/courses': 'Request a course guide' +
+ 'aboutus':'Contact us, we are here to help you.',
+ 'pd':'Request forms now to evaluate your Centre’s PD needs, or call us for more information',
+ 'courses': 'Request a course guide' +
' and sample training plan, or phone us. We’re here to help.',
- '/resources': 'Fill in your details to receive regular resource updates.'
+ 'resources': 'Fill in your details to receive regular resource updates.'
};
- return strings[$location.$$path];
+ return strings[page];
};
$scope.show_events = function() {
- return $location.$$url === "/home#welcome";
+ // console.log('show events', $location.$$url);
+ return $location.$$url === "/home/welcome";
};
@@ -412,114 +416,158 @@ function MainCntl($scope, $location) {
}
MainCntl.$inject = ['$scope', '$location'];
+function getPrettyTitle(page, section) {
+ console.log('in pretty title', page, section);
+ var data = greendoor[page];
+ if (!page || ! data || (page === 'home' && section === 'welcome'))
+ return 'Firstdoor - Leaders in developing capability ';
+ var links = data.links;
+ if (!section || !links ) return 'Firstdoor - ' + (data.title || page);
+ var path = page + '/' + section;
+ var title;
+ Object.keys(links).some(function(l) {
+ if (links[l].route === path) {
+ title = 'Firstdoor - ' + (data.title || page) + ': ' + links[l].label;
+ return true;
+ }
+ else return false;
+ });
+ return title || 'Firstdoor - Leaders in developing capability ';
+}
-
+var exists = {
+ home : ['welcome', 'specialists', 'mentor', 'constructive', 'asqa'],
+ aboutus : ['vision', 'mission', 'approach', 'values', 'namelogo', 'people', 'policies'],
+ pd: ['intro', 'inspired', 'observing', 'environment', 'coop', 'evaluation', 'children', 'risk', 'pdfees', 'customised'],
+ courses: ['intro', 'children_ecec', 'diploma_management', 'certivtraining', 'priorlearning', 'trainingplans', 'studentfeeds']
+
+
+};
+
var greendoor = {
- '/home':{
- heading: '',
- links: [
- { label: 'Welcome', route: '', scroll: true}
- ,{ label: 'Specialists in Early Childhood training and development', route: 'home#specialists', scroll: true}
- ,{ label: 'Engaging resources and environments', route: 'home#engaging', scroll: true}
- ,{ label: 'Your personal mentor ', route: 'home#mentor', scroll: true}
- ,{ label: 'Constructive and timely assessment', route: 'home#constructive', scroll: true}
- ,{ label: 'Australian Skills Quality Authority audit summary', route: 'home#asqa', scroll: true}
- // ,{ label: 'Quiz: discover your preferred learning style', route: 'home#quiz', scroll: true}
- ]
- }
- ,'/pd':{
+ 'home':{ heading: '',
+ title: 'Home',
+ default: 'welcome',
+ links: [
+ { label: 'Welcome', route: '', scroll: true}
+ ,{ label: 'Specialists in Early Childhood training and development', route: 'home/specialists', scroll: true}
+ ,{ label: 'Engaging resources and environments', route: 'home/engaging', scroll: true}
+ ,{ label: 'Your personal mentor ', route: 'home/mentor', scroll: true}
+ ,{ label: 'Constructive and timely assessment', route: 'home/constructive', scroll: true}
+ ,{ label: 'Australian Skills Quality Authority audit summary', route: 'home/asqa', scroll: true}
+ // ,{ label: 'Quiz: discover your preferred learning style', route: 'home/quiz', scroll: true}
+ ]
+ }
+ ,'pd':{
+ title: 'Professional development',
heading: '',
-
+ default: 'intro',
links: [
- { label: 'Tailored workshops', route: 'pd#intro', scroll: true}
- ,{ label: 'The inspired educator', route: 'pd#inspired', scroll: true}
- ,{ label: 'Observation, documentation, planning and evaluating', route: 'pd#observing', scroll: true}
- ,{ label: 'Environment and experiences', route: 'pd#environment', scroll: true}
- ,{ label: 'Developing cooperative behaviour', route: 'pd#coop', scroll: true}
- ,{ label: 'Evaluation and reflective practice', route: 'pd#evaluation', scroll: true}
- ,{ label: 'Children at risk', route: 'pd#children', scroll: true}
- ,{ label: 'Identify and manage risk', route: 'pd#risk', scroll: true}
- ,{ label: 'Customised workshop', route: 'pd#customised', scroll: true}
- ,{ label: 'Fees', route: 'pd#pdfees', scroll: true}
+ { label: 'Tailored workshops', route: 'pd/intro', scroll: true}
+ ,{ label: 'The inspired educator', route: 'pd/inspired', scroll: true}
+ ,{ label: 'Observation, documentation, planning and evaluating', route: 'pd/observing', scroll: true}
+ ,{ label: 'Environment and experiences', route: 'pd/environment', scroll: true}
+ ,{ label: 'Developing cooperative behaviour', route: 'pd/coop', scroll: true}
+ ,{ label: 'Evaluation and reflective practice', route: 'pd/evaluation', scroll: true}
+ ,{ label: 'Children at risk', route: 'pd/children', scroll: true}
+ ,{ label: 'Identify and manage risk', route: 'pd/risk', scroll: true}
+ ,{ label: 'Customised workshop', route: 'pd/customised', scroll: true}
+ ,{ label: 'Fees', route: 'pd/pdfees', scroll: true}
// ,{ label: 'Fees', route: 'documents/Professional_Development_fees.docx', scroll: true}
]
}
- ,'/aboutus': {
- heading: ''
+ ,'aboutus': {
+ title: 'About us',
+ heading: '',
+ default: 'vision'
,links: [
- // { label: 'Our company', route: 'aboutus#company', scroll: true
+ // { label: 'Our company', route: 'aboutus/company', scroll: true
// }
- // ,sub: [
- // { label: 'Markdown editor', route: 'epic'}
- { label: 'Vision', icon: '', route: 'aboutus#vision'}
- ,{ label: 'Mission', route: 'aboutus#mission'}
- ,{ label: 'Our student approach', route: 'aboutus#approach'}
- ,{ label: 'Values', route: 'aboutus#values'}
- // ]
+ // ,sub: [
+ // { label: 'Markdown editor', route: 'epic'}
+ { label: 'Vision', icon: '', route: 'aboutus/vision'}
+ ,{ label: 'Mission', route: 'aboutus/mission'}
+ ,{ label: 'Our student approach', route: 'aboutus/approach'}
+ ,{ label: 'Values', route: 'aboutus/values'}
+ // ]
// }
- ,{ label: 'Our name and logo', route: 'aboutus#namelogo', scroll: true}
- ,{ label: 'Our people', route: 'aboutus#people', scroll: true}
- ,{ label: 'Policies', route: 'aboutus#policies'}
+ ,{ label: 'Our name and logo', route: 'aboutus/namelogo', scroll: true}
+ ,{ label: 'Our people', route: 'aboutus/people', scroll: true}
+ ,{ label: 'Policies', route: 'aboutus/policies'}
]
- }
- ,'/resources': {
- heading: ''
- ,links: [
- { label: 'Motivation', route: 'resources#motivation', scroll: true
- }
- ,{ label: 'Early childhood', route: 'resources#earlychildhood', scroll: true
- // ,sub: [
- // { label: 'Educational leaders', route: 'resources'}
- // ]
- }
- ,{ label: 'Learning organisations', route: 'resources#learningorganisations', scroll:true}
- ,{ label: 'Learning', route: 'resources#learning', scroll:true}
- ,{ label: 'Leadership and Management', route: 'resources#leadership', scroll:true}
- // ,{ label: 'Quiz', route: 'quiz'}
- ]
+ }
+ ,'resources': {
+ title: 'Resources',
+ heading: '',
+ default: 'motivation'
+ ,links: [
+ { label: 'Motivation', route: 'resources/motivation', scroll: true
+ }
+ ,{ label: 'Early childhood', route: 'resources/earlychildhood', scroll: true
+ // ,sub: [
+ // { label: 'Educational leaders', route: 'resources'}
+ // ]
+ }
+ ,{ label: 'Learning organisations', route: 'resources/learningorganisations', scroll:true}
+ ,{ label: 'Learning', route: 'resources/learning', scroll:true}
+ ,{ label: 'Leadership and Management', route: 'resources/leadership', scroll:true}
+ // ,{ label: 'Quiz', route: 'quiz'}
+ ]
}
- ,'/courses': {
- heading: ''
+ ,'courses': {
+ title: 'Accredited training',
+ heading: '',
+ default: 'intro'
// ,subtext: "Further information on Accredited Training with First Door will become available following registration as a Registered Training Organisation"
,links: [
- { label: 'Accredited training', route: 'courses#intro',
+ { label: 'Accredited training', route: 'courses/intro',
scroll: true}
- ,{ label: 'Diploma of Early Childhood Education and Care', route: 'courses#children_ecec',
- scroll: true}
- ,{ label: 'Diploma of Management ', route: 'courses#diploma_management', scroll: true}
- ,{ label: 'Certificate IV in Training and Assessment', route: 'courses#certivtraining', scroll: true}
- ,{ label: 'Recognised Prior Learning', route: 'courses#priorlearning', scroll: true}
- ,{ label: 'Flexi or structured training plans', route: 'courses#trainingplans', scroll: true}
- ,{ label: 'Student fees', route: 'courses#studentfees', scroll: true}
- // ,{ label: 'Aged care', route: 'courses#agedcare'}
+ ,{ label: 'Diploma of Early Childhood Education and Care', route: 'courses/children_ecec',
+ scroll: true}
+ ,{ label: 'Diploma of Management ', route: 'courses/diploma_management', scroll: true}
+ ,{ label: 'Certificate IV in Training and Assessment', route: 'courses/certivtraining', scroll: true}
+ ,{ label: 'Recognised Prior Learning', route: 'courses/priorlearning', scroll: true}
+ ,{ label: 'Flexi or structured training plans', route: 'courses/trainingplans', scroll: true}
+ ,{ label: 'Student fees', route: 'courses/studentfees', scroll: true}
+ // ,{ label: 'Aged care', route: 'courses/agedcare'}
]
}
- ,'/enrol': {
- heading: ''
+ ,'enrol': {
+ title: 'Enrol',
+ heading: '',
+ default: ''
// ,subtext: "Further information on Accredited Training with First Door will become available following registration as a Registered Training Organisation"
,links: [
- { label: 'Student handbook (pdf)', route: cachify('documents/FirstDoor_StudentHandbook.pdf'), scroll: true}
- ,{ label: 'Diploma ECEC course guide (pdf)', route: cachify('documents/Diploma_Early_Childhood_Course_Guide.pdf'), scroll: true}
- ,{ label: 'Enrolment form: Diploma ECEC - print/paper version (pdf)', route: cachify('documents/Dip ECEC enrolment print version.pdf'), scroll: true}
- ,{ label: 'Enrolment form: Diploma ECEC - computer version (Word doc)', route: cachify('documents/Dip ECEC enrolment electronic version.docx'), scroll: true}
- ,{ label: 'Enrolment form: Individual unit/s - print/paper version (pdf)', route: cachify('documents/Individual Units enrolment print version.pdf'), scroll: true}
- ,{ label: 'Enrolment form: Individual unit/s - computer version (Word doc)', route: cachify('documents/Individual Units enrolment electronic version.docx'), scroll: true}
+ { label: 'Student handbook (pdf)', file: true, route: cachify('documents/FirstDoor_StudentHandbook.pdf'), scroll: true}
+ ,{ label: 'Diploma ECEC course guide (pdf)', file: true, route: cachify('documents/Diploma_Early_Childhood_Course_Guide.pdf'), scroll: true}
+ ,{ label: 'Enrolment form: Diploma ECEC - print/paper version (pdf)', file: true, route: cachify('documents/Dip ECEC enrolment print version.pdf'), scroll: true}
+ ,{ label: 'Enrolment form: Diploma ECEC - computer version (Word doc)', file: true, route: cachify('documents/Dip ECEC enrolment electronic version.docx'), scroll: true}
+ ,{ label: 'Enrolment form: Individual unit/s - print/paper version (pdf)', file: true, route: cachify('documents/Individual Units enrolment print version.pdf'), scroll: true}
+ ,{ label: 'Enrolment fom: Individual unit/s - computer version (Word doc)', file: true, route: cachify('documents/Individual Units enrolment electronic version.docx'), scroll: true}
]
- }
+ }
+ ,'contactus' : {
+ title: 'Contact us'
+
+
+ }
+ ,'404': {
+ title: 'Not found'
+ }
};
-function setActiveTab($location) {
-
- var url = $location.$$url;
- if (!url) url = "whatever";
- var newRoute = $location.$$path.slice(1);
+function setActiveTab(page) {
+ console.log('setting active tab to ' , page);
+ // var url = page.$$url;
+ // if (!url) url = "whatever";
+ var newRoute = page;
// console.log('newRoute', newRoute);
$(".menu > li > a[id*='" + newRoute+ "']").attr("class", "active");
if (lastRoute !== newRoute)
@@ -530,7 +578,7 @@ function setActiveTab($location) {
var headerImages = {
- "/home": {
+ "home": {
"*": "images/slides/tab_professional_development.jpg"
,specialists: "images/slides/home_page_Early_Childhood_Education_and_Care_training.jpg"
,engaging: "images/slides/tab_resources.jpg"
@@ -539,19 +587,19 @@ var headerImages = {
,constructive: "images/slides/home_assessment.jpg"
// ,asqa: "images/slides/home_assessment.jpg"
}
- ,"/resources": {
+ ,"resources": {
"*": "images/slides/tab_resources.jpg"
}
- ,"/aboutus": {
+ ,"aboutus": {
"*": 'images/slides/tab_about_us.jpg'
}
- ,"/sitemap": {
+ ,"sitemap": {
"*": 'images/slides/tab_about_us.jpg'
}
- ,"/pd": {
+ ,"pd": {
"*": "images/slides/tab_professional_development.jpg"
,inspired: "images/slides/PD_Inspired_educator.jpg"
,observing: "images/slides/PD_Observing_and_documenting.jpg"
@@ -562,7 +610,7 @@ var headerImages = {
,risk: "images/slides/PD_managing_risk.jpg"
,customised: ""
}
- ,"/courses": {
+ ,"courses": {
"*": "images/slides/tab_accredited_training.jpg"
,children_ecec: "images/slides/courses_Diploma_Childrens_services.jpg"
,diploma_management: "images/slides/courses_Diploma_Management.jpg"
@@ -573,9 +621,23 @@ var headerImages = {
var lastRoute='whatever';
function DefaultCntl($scope, $routeParams, $location, $anchorScroll) {
- console.log('default controller..');
+ console.log('default controller..', $location, $routeParams);
+ var path = $location.$$path.split('/').filter(function(e) { return e; });
+ var page = path[0] || '404';
+ // console.log('page in default cntl is ', page, path);
+
+
// if ($location.$$path === '/') $location.$$path = '/home';
- $scope.page = greendoor[$location.$$path] || greendoor['/home'];
+
+ // $scope.page = greendoor[$location.$$path] || greendoor['/home'];
+ $scope.page = greendoor[page] || greendoor['404'];
+
+ // console.log('$scope.page =', $scope.page);
+ var section = $routeParams.section || $scope.page.default;
+ // console.log('section in defaultcntl:', section);
+
+ // document.title = 'Firstdoor: ' + page + '/' + section;
+ document.title = getPrettyTitle(page, section);
// $scope.name = "BookCntl";
// $scope.params = $routeParams;
// console.log($location);
@@ -584,7 +646,7 @@ function DefaultCntl($scope, $routeParams, $location, $anchorScroll) {
$(".menu li>ul").removeClass('hide');
},1000);
// console.log('routeparams', $routeParams);
- setActiveTab($location);
+ setActiveTab(page);
// console.log($location);
// var url = $location.$$url;
// if (!url) url = "whatever";
@@ -616,41 +678,60 @@ function DefaultCntl($scope, $routeParams, $location, $anchorScroll) {
// });
// });
$scope.getHeaderImage = function() {
- var page = headerImages[$location.$$path] || headerImages['/home'];
- if (!page) {
+
+ console.log('getheaderimage:', page);
+ var images = headerImages[page] || headerImages['home'];
+ console.log('getheaderimage:', images);
+ if (!images) {
console.warn("WARNING: DefaultCntl: header images for page " +
- $location.$$path + " don't exist");
+ page + " don't exist");
return "";
}
- var imageSrc = page[$location.$$hash] || page["*"];
+ // var imageSrc = page[$location.$$hash] || page["*"];
+ // console.log('section:', $routeParams.section);
+ var imageSrc = images[section] || images["*"];
+ // var imageSrc = page[$routeParams.section] || page["*"];
// console.log(imageSrc);
if (!imageSrc)
- console.warn("WARNING: header image for " + $location.$$hash + " doesn't exist");
+ // console.warn("WARNING: header image for " + $location.$$hash + " doesn't exist");
+ console.warn("WARNING: header image for " + section + " doesn't exist");
// return "images/slides/tab_professional_development.jpg";
return cachify(imageSrc);
};
$scope.isSelected = function(fullPath) {
- if ($location.$$url === '/' + fullPath) return "selected";
+ // if ($location.$$url === '/' + fullPath) return "selected";
+
+ if ($location.$$url === '/' + fullPath || fullPath === page + '/' + section) return "selected";
else return "";
};
$scope.getPageClass = function() {
- var path = $location.$$path;
- if (path) path = path.slice(1);
+ // var path = $location.$$path;
+ var path = page;
+ // if (path) path = path.slice(1);
console.log(path);
return 'doorlinks-' + path;
};
$scope.isShow = function(id) {
- // console.log('id=', id);
+ // console.log('defaultcntl: isshow: id=', id);
// console.log('hash=', $location.$$hash);
- if ($routeParams.page && $routeParams.page === id) return "selected";
- else return $location.$$hash === id ? "selected" : "";
+
+ // if ($routeParams.page && $routeParams.page === id) return true;
+ // else return $routeParams.section === id;
+ return section === id;
+ // if ($routeParams.page && $routeParams.page === id) return "selected";
+ // else return $location.$$hash === id ? "selected" : "";
+ };
+
+ $scope.is404 = function() {
+
+ return !exists[page] || exists[page].indexOf(section) === -1;
};
- console.log('contactus controller');
+ // console.log('contactus controller');
// $scope.result = "now it is working..";
$scope.sent = false;
// Recaptcha.create("6LfL6OASAAAAAM6YHDJmCJ-51zXY1TwCL7pL7vW5",
@@ -752,7 +833,10 @@ function contactusCntl($scope, $routeParams, $location) {
// }
// );
- setActiveTab($location);
+
+ // document.title = 'Firstdoor: Contact us';
+ document.title = getPrettyTitle('contactus');
+ setActiveTab('contactus');
// console.log($location);
// var url = $location.$$url;
// if (!url) url = "whatever";
@@ -862,18 +946,31 @@ EpicCntl.$inject = ['$scope', '$routeParams'];
function HomeCntl($scope, $routeParams, $location) {
// console.log(' Home controller..', $location);
- console.log(' Home controller..');
+ console.log(' Home controller..', $routeParams);
+ // console.log('routeParams:', $routeParams.section, $location);
if (!$location.$$url || $location.$$url === '/') {
- $location.$$url="/home#welcome";
- $location.$$hash = 'welcome';
- $location.$$path = '/home';
+ $location.$$url="/home/welcome";
+ // $location.$$hash = 'welcome';
+ $location.$$path = '/home/welcome';
}
- $scope.page = greendoor[$location.$$path ] || greendoor['/home'];
+ var path = $location.$$path.split('/').filter(function(e) { return e; });
+ var page = path[0] || '404';
+ console.log(page);
+ $scope.page = greendoor[page] || greendoor['404'];
+ console.log(page, $scope.page);
+ var section = $routeParams.section || $scope.page.default;
+ console.log('page and section in homecntl:', page, section);
+ // $scope.page = greendoor[$location.$$path ] || greendoor['/home'];
+
+ // document.title = 'Firstdoor: ' + page + '/' + section;
+ document.title = getPrettyTitle(page, section);
- setActiveTab($location);
+
+
+ setActiveTab(page);
// var newRoute = $location.$$path.slice(1);
// if (!newRoute) newRoute = 'home';
// console.log('Path is:', $location.$$path);
@@ -912,8 +1009,9 @@ function HomeCntl($scope, $routeParams, $location) {
},1000);
$scope.getPageClass = function() {
- var path = $location.$$path;
- if (path) path = path.slice(1);
+ // var path = $location.$$path;
+ var path = page;
+ // if (path) path = path.slice(1);
// console.log(path);
return 'doorlinks-' + path;
};
@@ -925,27 +1023,41 @@ function HomeCntl($scope, $routeParams, $location) {
};
$scope.getHeaderImage = function() {
- var page = headerImages[$location.$$path] || headerImages['/home'];
+ var images = headerImages[page] || headerImages['home'];
- if (!page) {
+ if (!images) {
console.warn("WARNING: homeCnlt: header images for page " +
- $location.$$path + " don't exist");
+ page + " don't exist");
return "";
}
- var imageSrc = page[$location.$$hash] || page["*"];
+
+ // console.log('section:', $routeParams.section);
+ var imageSrc = images[section] || images["*"];
+ // var imageSrc = page[$routeParams.section] || page["*"];
+ // var imageSrc = page[$location.$$hash] || page["*"];
+ // var imageSrc = page[$routeParams.$$hash] || page["*"];
// console.log(imageSrc);
if (!imageSrc)
- console.warn("WARNING: header image for " + $location.$$hash + " doesn't exist");
+ console.warn("WARNING: header image for " + section + " doesn't exist");
// return "images/slides/tab_professional_development.jpg";
return cachify(imageSrc);
};
+ $scope.is404 = function() {
+ console.log (page,section, !exists[page] || exists[page].indexOf(section) === -1);
+ return !exists[page] || exists[page].indexOf(section) === -1;
+ };
+
+
$scope.isShow = function(id) {
- // console.log('id=', id);
+ // console.log('is show: id=', id, section);
+ // console.log('routeParams=', $routeParams.section);
// console.log('hash=', $location.$$hash);
+ // if ($routeParams.page && $routeParams.page === id) return true;
if ($routeParams.page && $routeParams.page === id) return true;
- else return $location.$$hash === id;
+ else return section === id;
+ // else return $routeParams.section === id;
};
$scope.sent = false;
View
8,860 build/www.js/myJsBlock.js
8,860 additions, 0 deletions not shown
View
41 build/www.js/resourcesCntl.js
@@ -56,8 +56,20 @@ function vimeoLoadThumb(index, video_id){
function ResourcesCntl($scope, $route, $routeParams, $location) {
console.log('resource controller');
+ var path = $location.$$path.split('/').filter(function(e) { return e; });
+ var page = path[0] || 'home';
+ console.log('page in resources cntl is ', page, path);
- $scope.page = greendoor[$location.$$path];
+ $scope.page = greendoor[page] || greendoor['home'];
+
+ var section = $routeParams.section || $scope.page.default;
+ console.log('section:', section);
+
+ $scope.page = greendoor[page] || greendoor['home'];
+
+ document.title = getPrettyTitle(page, section);
+
+ // $scope.page = greendoor[$location.$$path];
$(".menu li>ul").addClass('hide');
setTimeout(function() {
$(".menu li>ul").removeClass('hide');
@@ -71,7 +83,7 @@ function ResourcesCntl($scope, $route, $routeParams, $location) {
// $(".menu #" + lastRoute.slice(1)).attr("class", "inactive");
// lastRoute = $location.$$url;
- setActiveTab($location);
+ setActiveTab(page);
// var newRoute = $location.$$path.slice(1);
// $(".menu #" + newRoute).attr("class", "active");
// if (lastRoute !== newRoute)
@@ -168,30 +180,34 @@ function ResourcesCntl($scope, $route, $routeParams, $location) {
// });
$scope.getHeaderImage = function() {
// console.log('get image header for:', $location.$$path, $location.$$hash);
- var page = headerImages[$location.$$path];
- if (!page) {
+ // var images = headerImages[$location.$$path];
+
+ var images = headerImages[page] || headerImages['home'];
+ if (!images) {
console.warn("WARNING: header images for page " +
- $location.$$path + " don't exist");
+ page + " don't exist");
return "";
}
- var imageSrc = page[$location.$$hash] || page["*"];
+ // var imageSrc = page[$location.$$hash] || page["*"];
+ var imageSrc = images[section] || images["*"];
+ // var imageSrc = images[$routeParams.section] || images["*"];
// console.log(imageSrc);
if (!imageSrc)
- console.warn("WARNING: header image for " + $location.$$hash + " doesn't exist");
+ console.warn("WARNING: header image for " + section + " doesn't exist");
// return "images/slides/tab_professional_development.jpg";
return cachify(imageSrc);
};
$scope.getPageClass = function() {
- var path = $location.$$path;
- if (path) path = path.slice(1);
- console.log(path);
+ var path = page;
+ // if (path) path = path.slice(1);
+ // console.log(path);
return 'doorlinks-' + path;
};
$scope.isSelected = function(fullPath) {
- if ($location.$$url === '/' + fullPath) return "selected";
+ if ($location.$$url === '/' + fullPath || fullPath === page + '/' + section) return "selected";
else return "";
};
@@ -199,7 +215,8 @@ function ResourcesCntl($scope, $route, $routeParams, $location) {
// console.log('id=', id);
// console.log('hash=', $location.$$hash);
if ($routeParams.page && $routeParams.page === id) return true;
- else return $location.$$hash === id;
+ else return section === id;
+ // else return $location.$$hash === id;
};
$scope.sent = false;
View
1  build/www.js/router.js
@@ -11,7 +11,6 @@ angular.module('ngView', [],
var baseDir = '/built/';
var mapping =
[
- ["", cachify("built/view-home.html"), HomeCntl]
,["home", cachify("built/view-home.html"), HomeCntl]
,["aboutus", cachify("built/view-aboutus.html")]
,["pd", cachify("built/view-pd.html")]
View
3  firstdoor.org
@@ -1,3 +1,6 @@
+404 for resources/bla enrol/bla contactus/bla
+links to docs on enrol page on phone and tablet (green door goes away then)
+
Don't forget to set the Mailgun pwd as an environment variable: MAILGUN_PWD
http://www.openwebanalytics.com/
View
48 server/server.js
@@ -13,6 +13,8 @@ var server = require('bb-server'),
;
+var develop_mode = process.env.DEVELOP;
+develop_mode = false;
//TODO: limit sending of files to certain mimetypes and/or extensions
//TODO: option to not send mimeless files found in allowable directories.
//TODO: send certain files directly, bypassing cache with certain
@@ -61,20 +63,18 @@ var options = {
//sent out with them and how long resources are kept in the server cache. If
//true defaults to ((m)inutes, (h)ours, (d)ays, (w)weeks, (y)ears):
// ,cache: false
- ,cache: {
- stamped: { expiresIn: '1y' },
- prerender: { expiresIn: '1d'},
- //static resources, should be served from cookieless domain:
-
-
- "css js jpg jpeg gif ico png bmp pict csv doc pdf pls ppt tif tiff eps swf": { expiresIn: "1d" },
- "midi mid ttf eot woff svg svgz webp docx xlsx xls pptx ps" : { expiresIn: "1d" },
- //but possibly not when going through cloudflare:
- // https://support.cloudflare.com/hc/en-us/articles/200169816-Can-I-serve-a-cookieless-domain-or-subdomain-through-CloudFlare-
- "pdf doc docx": { expiresIn: "2h" },
- other: { expiresIn: '0m'}
- // cacheDir: "./cache"
- }
+ // ,cache: {
+ // stamped: { expiresIn: '1y' },
+ // prerender: { expiresIn: '1d'},
+ // //static resources, should be served from cookieless domain:
+ // // "css js jpg jpeg gif ico png bmp pict csv doc pdf pls ppt tif tiff eps swf": { expiresIn: "1d" },
+ // // "midi mid ttf eot woff svg svgz webp docx xlsx xls pptx ps" : { expiresIn: "1d" },
+ // //but possibly not when going through cloudflare:
+ // // https://support.cloudflare.com/hc/en-us/articles/200169816-Can-I-serve-a-cookieless-domain-or-subdomain-through-CloudFlare-
+ // "pdf doc docx": { expiresIn: "2h" },
+ // other: { expiresIn: '0m'}
+ // // cacheDir: "./cache"
+ // }
//if set to true to the server will try to remove a stamp from request paths
//before processing them. This also enables cache control for the response
@@ -105,17 +105,17 @@ var options = {
// ,minify: true //html, js and css
// ,zip: true //compress when enconding is accepted by client
//or for more finegrained control define the recast option instead:
- // ,recast: {
- // transpile: ['jade', 'less', 'stylus', 'sweetjs',
- // // 'typescript', 'coffeescript',
- // 'markdown' ],
- // // transpile: [], //TODO add all current supported file types
+ ,recast: {
+ // transpile: ['jade', 'less', 'stylus', 'sweetjs',
+ // // 'typescript', 'coffeescript',
+ // 'markdown' ],
+ // transpile: [], //TODO add all current supported file types
- // // minify: [],
- // minify: ['js', 'css' ] //js, css, html
- // ,zip: /text|javascript|json/ //regex on the mimetype
- // ,verbose: true
- // }
+ // minify: [],
+ minify: !develop_mode ? ['js', 'css' ] : [] //js, css, html
+ ,zip: !develop_mode ? /text|javascript|json/ : ''//regex on the mimetype
+ ,verbose: develop_mode
+ }
//if spa is true all requests that don't seem to be requests for a file with
//a mimetype are redirected to a request for just one file. By default this
View
9 www/built/view-aboutus.html
@@ -12,7 +12,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)">
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file &amp;&amp; &apos;_self&apos; || &apos;&apos;}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)" ng-repeat="sublink in link.sub">
@@ -154,8 +154,11 @@
<div scroll="" id="policies"></div>
<div ng-show="isShow(&apos;policies&apos;)" id="policies--">
<!--partial:html/policies.html-->
-Download pdf file: <a href="__4290a37d2b/documents/Policies and Procedures May13.pdf">Firstdoor Policies.pdf</a>
+Download pdf file: <a target="_self" href="__4290a37d2b/documents/Policies and Procedures May13.pdf">Firstdoor Policies.pdf</a>
</div>
+
+<div scroll="" id="aboutus404"></div>
+<div ng-show="is404()">This page does not exist..</div>
</div>
<div id="rightBar--" class="span2">
<!--partial:html/rightbar.html-->
@@ -184,7 +187,7 @@
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
</div>
</div>
View
7 www/built/view-courses.html
@@ -11,7 +11,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)">
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file &amp;&amp; &apos;_self&apos; || &apos;&apos;}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)" ng-repeat="sublink in link.sub">
@@ -315,6 +315,9 @@
<p><strong>Fee Protection and Refunds</strong><br>All fees paid in advance are protected. We guarantee the company&rsquo;s sound financial position and safeguard all payments made in advance until the student&rsquo;s successful conclusion of units to the value of the advanced payment. If First Door has to cancel the course a full refund will be given, including all administration fees.</p>
<p>If a student provides one week notice to cancel prior to the course starting date, they will receive a full refund less the non-refundable enrolment fee. Cancellations after the course has begun will be dealt with on a case by case basis to ensure that First Door has done everything within its ability to assist the student in completing the course.</p></div>
</div>
+
+<div scroll=""></div>
+<div ng-show="is404()">This page does not exist..</div>
</div>
<div id="rightBar--" class="span2">
<!--partial:html/rightbar.html-->
@@ -343,7 +346,7 @@
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
</div>
</div>
View
4 www/built/view-enroll.html
@@ -11,7 +11,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)">
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file &amp;&amp; &apos;_self&apos; || &apos;&apos;}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)" ng-repeat="sublink in link.sub">
@@ -68,7 +68,7 @@
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
</div>
</div>
View
9 www/built/view-home.html
@@ -11,7 +11,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)">
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file &amp;&amp; &apos;_self&apos; || &apos;&apos;}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)" ng-repeat="sublink in link.sub">
@@ -132,7 +132,7 @@
<div ng-show="isShow(&apos;asqa&apos;)">
<div id="asqa--">
<!--partial:html/asqa.html-->
-Download pdf file: <a href="__883eed4b2d/documents/ASQA_Audit_Report.pdf">Australian Skills Quality
+Download pdf file: <a href="__883eed4b2d/documents/ASQA_Audit_Report.pdf" target="_self">Australian Skills Quality
Authority audit summary</a>
</div>
</div>
@@ -143,6 +143,9 @@
<div id="quiz--"> </div>
</div>
+
+<div scroll="" id="welcome404"></div>
+<div ng-show="is404()">This page does not exist..</div>
</div>
<div id="rightBar--" class="span2">
<!--partial:html/rightbar.html-->
@@ -171,7 +174,7 @@
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
</div>
</div>
View
34 www/built/view-pd.html
@@ -11,7 +11,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)">
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file &amp;&amp; &apos;_self&apos; || &apos;&apos;}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)" ng-repeat="sublink in link.sub">
@@ -74,10 +74,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_inspired_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide1-show" class="showLink" onclick="showHide(&apos;showhide1&apos;);return false;">Show..</a>
+<a id="showhide1-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide1&apos;);return false;">Show..</a>
<p></p>
<div id="showhide1" class="more">
- <p><a href="#" id="showhide1-hide" class="hideLink" onclick="showHide(&apos;showhide1&apos;);return false;">Hide</a></p>
+ <p><a id="showhide1-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide1&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_inspired_info.md-->
<ol>
@@ -150,10 +150,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_observing_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide4-show" class="showLink" onclick="showHide(&apos;showhide4&apos;);return false;">Show..</a>
+<a id="showhide4-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide4&apos;);return false;">Show..</a>
<p></p>
<div id="showhide4" class="more">
- <p><a href="#" id="showhide4-hide" class="hideLink" onclick="showHide(&apos;showhide4&apos;);return false;">Hide</a></p>
+ <p><a id="showhide4-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide4&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_observing_info.md-->
<ol>
@@ -204,10 +204,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_environment_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide3-show" class="showLink" onclick="showHide(&apos;showhide3&apos;);return false;">Show..</a>
+<a id="showhide3-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide3&apos;);return false;">Show..</a>
<p></p>
<div id="showhide3" class="more">
- <p><a href="#" id="showhide3-hide" class="hideLink" onclick="showHide(&apos;showhide3&apos;);return false;">Hide</a></p>
+ <p><a id="showhide3-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide3&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_environment_info.md-->
<ol>
@@ -273,10 +273,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_coop_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide2-show" class="showLink" onclick="showHide(&apos;showhide2&apos;);return false;">Show..</a>
+<a id="showhide2-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide2&apos;);return false;">Show..</a>
<p></p>
<div id="showhide2" class="more">
- <p><a href="#" id="showhide2-hide" class="hideLink" onclick="showHide(&apos;showhide2&apos;);return false;">Hide</a></p>
+ <p><a id="showhide2-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide2&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_coop_info.md-->
<ol>
@@ -340,10 +340,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_evaluation_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide5-show" class="showLink" onclick="showHide(&apos;showhide5&apos;);return false;">Show..</a>
+<a id="showhide5-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide5&apos;);return false;">Show..</a>
<p></p>
<div id="showhide5" class="more">
- <p><a href="#" id="showhide5-hide" class="hideLink" onclick="showHide(&apos;showhide5&apos;);return false;">Hide</a></p>
+ <p><a id="showhide5-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide5&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_evaluation_info.md-->
<ol>
@@ -382,10 +382,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_children_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide6-show" class="showLink" onclick="showHide(&apos;showhide6&apos;);return false;">Show..</a>
+<a id="showhide6-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide6&apos;);return false;">Show..</a>
<p></p>
<div id="showhide6" class="more">
- <p><a href="#" id="showhide6-hide" class="hideLink" onclick="showHide(&apos;showhide6&apos;);return false;">Hide</a></p>
+ <p><a id="showhide6-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide6&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_children_info.md-->
<ol>
@@ -424,10 +424,10 @@
<p>This workshop relates to the following National Quality Standards and elements:</p></div>
<span id="showhide_pd_risk_info--">
<!--partial:html/showhide.html-->
-<a href="#" id="showhide7-show" class="showLink" onclick="showHide(&apos;showhide7&apos;);return false;">Show..</a>
+<a id="showhide7-show" class="showLink" style="cursor:pointer" onclick="showHide(&apos;showhide7&apos;);return false;">Show..</a>
<p></p>
<div id="showhide7" class="more">
- <p><a href="#" id="showhide7-hide" class="hideLink" onclick="showHide(&apos;showhide7&apos;);return false;">Hide</a></p>
+ <p><a id="showhide7-hide" class="hideLink" style="cursor:pointer" onclick="showHide(&apos;showhide7&apos;);return false;">Hide</a></p>
<!--partial:editable/pd/references/pd_risk_info.md-->
<ol>
@@ -491,6 +491,8 @@
</div>
+<div scroll="" id="pd"></div>
+<div ng-show="is404()">This page does not exist..</div>
</div>
<div id="rightBar--" class="span2">
<!--partial:html/rightbar.html-->
@@ -519,7 +521,7 @@
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
</div>
</div>
View
12 www/built/view-resources.html
@@ -12,7 +12,7 @@
<ul>
<div ng-repeat="link in page.links">
<li ng-class="isSelected(link.route)">
- <a ng-href="/{{link.route}}">{{link.label}}</a>
+ <a ng-href="/{{link.route}}" target="{{link.file &amp;&amp; &apos;_self&apos; || &apos;&apos;}}">{{link.label}} </a>
<ul>
<li ng-class="isSelected(sublink.route)" ng-repeat="sublink in link.sub">
@@ -44,19 +44,19 @@
<div ng-switch="" on="video.provider">
<span ng-switch-when="text" ng-bind-html-unsafe="video.title"></span>
<span ng-switch-default="">
- <a id="videoTitle" href="#" ng-click="open($event, video)" ng-bind-html-unsafe="video.title"> </a>
+ <a id="videoTitle" ng-click="open($event, video)" ng-bind-html-unsafe="video.title" style="cursor:pointer"> </a>
</span>
</div>
<div class="container">
<div class="row">
<div ng-switch="" on="video.provider" class="span1">
- <a ng-switch-when="youtube" href="#" ng-click="open($event, video)">
+ <a ng-switch-when="youtube" style="cursor:pointer" ng-click="open($event, video)">
<div class="video-thumbnail embed-container ratio-4-3 ">
- <img href="#" ng-src="http://img.youtube.com/vi/{{video.id}}/2.jpg" class="mymage" style="max-height:75px;">
+ <img href="" ng-src="http://img.youtube.com/vi/{{video.id}}/2.jpg" class="mymage" style="max-height:75px;">
</div>
</a>
- <a ng-switch-when="vimeo" href="#" ng-click="open($event, video)">
+ <a ng-switch-when="vimeo" style="cursor:pointer" ng-click="open($event, video)">
<div id="{{video.id}}" class="video-thumbnail embed-container ratio-4-3">
{{vimeoLoadThumb($index, video.id)}}
</div>
@@ -129,7 +129,7 @@ <h4 ng-bind-html-unsafe="selectedVideo.title"></h4>
<p>June 16: Foster learning and development</p>
<p>July 7: Healthy food and drinks</p>
<p>July 21: Develop cultural competence</p>
-<p>See <a href="#!/courses#intro">more</a>.</p>
+<p>See <a href="courses/intro">more</a>.</p>
</div>
</div>
View
8,845 www/css/myJsBlock.js
8,845 additions, 0 deletions not shown
View
9,242 www/css/myLinkBlock.css
9,242 additions, 0 deletions not shown
View
37 www/index.html
@@ -5,7 +5,7 @@
<!--[if gt IE 8]><!-->
<html class="no-js" xmlns:ng="http://angularjs.org" lang="en">
<!--<![endif]-->
- <head id="head"><title>Firstdoor - Leaders in developing capability</title><meta charset="utf-8"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"><meta content="First Door recognises the need and value of workplace learning and provides courses to create learning organisations with skilled mentors, leaders and managers. " name="description"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+ <head id="head"><base href="http://localhost:9001" "=""><title>Firstdoor - Leaders in developing capability</title><meta charset="utf-8"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"><meta content="First Door recognises the need and value of workplace learning and provides courses to create learning organisations with skilled mentors, leaders and managers. " name="description"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!--partial:html/ieshim.html-->
<!--[if lte IE 8]>
@@ -53,20 +53,19 @@
"images/slides/tab_professional_development.jpg": "__4dd1975972",
"images/slides/tab_resources.jpg": "__8688fb8a3a",
"images/course_structure_children_services.jpg": "__8c2def39be",
- "built/view-home.html": "__1cccc91057",
- "built/view-home.html": "__1cccc91057",
- "built/view-aboutus.html": "__cae6f20840",
- "built/view-pd.html": "__ac88480cc4",
- "built/view-resources.html": "__8a40017c96",
- "built/view-courses.html": "__9d1f54ddf6",
+ "built/view-home.html": "__e782fdfd92",
+ "built/view-aboutus.html": "__5b5ce8a003",
+ "built/view-pd.html": "__6e184f5fd1",
+ "built/view-resources.html": "__1805ba0551",
+ "built/view-courses.html": "__1b1ed95c62",
"built/view-quiz.html": "__54964bd75a",
"built/view-epic.html": "__2d702de847",
"built/view-chat.html": "__c994de2452",
"built/view-filebrowser.html": "__179c1282dd",
"built/view-contactus.html": "__f54cfbc5e5",
- "built/view-enroll.html": "__b7e4dc1c10",
+ "built/view-enroll.html": "__ab3999c566",
"sitemap.html": "__fbf5575cd4"
- };
+ };/*console.log(path,map[path]);*/
return map[path] ? map[path] + '/' + path : path; }
</script></head>
<body id="ng:app" ng:app="myApp">
@@ -82,7 +81,7 @@
<div id="logo--" class="span5">
<!--partial:html/logo.html-->
-<a href="/"><img ng-src="{{cachify(&apos;images/logo.jpg&apos;)}}" alt="logo"></a>
+<a href=""><img ng-src="{{cachify(&apos;images/logo.jpg&apos;)}}" alt="logo"></a>
</div>
<div id="header-right" class="pull-right span6">
<div id="social--">
@@ -118,7 +117,7 @@
</div>
<div class="menubar row">
- <div id="menu--" class="span10"><div class="ie-dropdown-fix"> <div id="navigation"><ul id="nav" class="menu"><li><a href="/" id="undefined">Home</a><ul><li><a href="home#specialists" class="scroll" id="home#specialists">Specialists in Early Childhood training and development</a></li><li><a href="home#engaging" class="scroll" id="home#engaging">Engaging resources and environments</a></li><li><a href="home#mentor" class="scroll" id="home#mentor">Your personal mentor </a></li><li><a href="home#constructive" class="scroll" id="home#constructive">Constructive and timely assessment</a></li><li><a href="home#asqa" class="scroll" id="home#asqa">Australian Skills Quality Authority audit summary</a></li></ul></li><li><a href="aboutus#vision" id="aboutus#vision">About us</a><ul><li><a href="aboutus#vision" class="scroll" id="aboutus#vision">Our company</a><ul><li><a href="aboutus#vision" id="aboutus#vision">Vision</a></li><li><a href="aboutus#mission" id="aboutus#mission">Mission</a></li><li><a href="aboutus#approach" id="aboutus#approach">Our student approach</a></li><li><a href="aboutus#values" id="aboutus#values">Values</a></li></ul></li><li><a href="aboutus#namelogo" class="scroll" id="aboutus#namelogo">Our name and logo</a></li><li><a href="aboutus#people" class="scroll" id="aboutus#people">Our people</a></li><li><a href="aboutus#policies" class="scroll" id="aboutus#policies">First door policies</a></li></ul></li><li><a href="pd#intro" id="pd#intro">Professional development</a><ul><li><a href="pd#inspired" class="scroll" id="pd#inspired">The inspired educator</a></li><li><a href="pd#observing" class="scroll" id="pd#observing">Observation, documentation, planning and evaluating</a></li><li><a href="pd#environment" class="scroll" id="pd#environment">Environment and experiences</a></li><li><a href="pd#coop" class="scroll" id="pd#coop">Developing cooperative behaviour</a></li><li><a href="pd#evaluation" class="scroll" id="pd#evaluation">Evaluation and reflective practice</a></li><li><a href="pd#children" class="scroll" id="pd#children">Children at risk</a></li><li><a href="pd#risk" class="scroll" id="pd#risk">Identify and manage risk</a></li><li><a href="pd#customised" class="scroll" id="pd#customised">Customised workshop</a></li><li><a href="pd#pdfees" class="scroll" id="pd#pdfees">Fees</a></li></ul></li><li><a href="courses#intro" id="courses#intro">Accredited training</a><ul><li><a href="courses#children_ecec" class="scroll" id="courses#children_ecec">Diploma of Early Childhood Education and Care</a></li><li><a href="courses#diploma_management" class="scroll" id="courses#diploma_management">Diploma of Management </a></li><li><a href="courses#certivtraining" class="scroll" id="courses#certivtraining">Certificate IV in Training and Assessment</a></li></ul></li><li><a href="resources#motivation" id="resources#motivation">Resources</a><ul><li><a href="resources#motivation" class="scroll" id="resources#motivation">Motivation</a></li><li><a href="resources#earlychildhood" class="scroll" id="resources#earlychildhood">Early childhood</a></li><li><a href="resources#learningorganisations" class="scroll" id="resources#learningorganisations">Learning organisations</a></li><li><a href="resources#learning" class="scroll" id="resources#learning">Learning</a></li><li><a href="resources#leadership" class="scroll" id="resources#leadership">Leadership and Management</a></li><li><a href="quiz" class="scroll" id="quiz">Quiz: discover your preferred learning style</a></li></ul></li><li><a href="enrol" class="scroll" id="enrol">Enrol</a></li><li><a href="contactus" class="scroll" id="contactus">Contact us</a></li></ul></div></div><div class="clear"></div></div>
+ <div id="menu--" class="span10"><div class="ie-dropdown-fix"> <div id="navigation"><ul id="nav" class="menu"><li><a href="/" id="undefined">Home</a><ul><li><a href="home/specialists" class="scroll" id="home/specialists">Specialists in Early Childhood training and development</a></li><li><a href="home/engaging" class="scroll" id="home/engaging">Engaging resources and environments</a></li><li><a href="home/mentor" class="scroll" id="home/mentor">Your personal mentor </a></li><li><a href="home/constructive" class="scroll" id="home/constructive">Constructive and timely assessment</a></li><li><a href="home/asqa" class="scroll" id="home/asqa">Australian Skills Quality Authority audit summary</a></li></ul></li><li><a href="aboutus/vision" id="aboutus/vision">About us</a><ul><li><a href="aboutus/vision" class="scroll" id="aboutus/vision">Our company</a><ul><li><a href="aboutus/vision" id="aboutus/vision">Vision</a></li><li><a href="aboutus/mission" id="aboutus/mission">Mission</a></li><li><a href="aboutus/approach" id="aboutus/approach">Our student approach</a></li><li><a href="aboutus/values" id="aboutus/values">Values</a></li></ul></li><li><a href="aboutus/namelogo" class="scroll" id="aboutus/namelogo">Our name and logo</a></li><li><a href="aboutus/people" class="scroll" id="aboutus/people">Our people</a></li><li><a href="aboutus/policies" class="scroll" id="aboutus/policies">First door policies</a></li></ul></li><li><a href="pd/intro" id="pd/intro">Professional development</a><ul><li><a href="pd/inspired" class="scroll" id="pd/inspired">The inspired educator</a></li><li><a href="pd/observing" class="scroll" id="pd/observing">Observation, documentation, planning and evaluating</a></li><li><a href="pd/environment" class="scroll" id="pd/environment">Environment and experiences</a></li><li><a href="pd/coop" class="scroll" id="pd/coop">Developing cooperative behaviour</a></li><li><a href="pd/evaluation" class="scroll" id="pd/evaluation">Evaluation and reflective practice</a></li><li><a href="pd/children" class="scroll" id="pd/children">Children at risk</a></li><li><a href="pd/risk" class="scroll" id="pd/risk">Identify and manage risk</a></li><li><a href="pd/customised" class="scroll" id="pd/customised">Customised workshop</a></li><li><a href="pd/pdfees" class="scroll" id="pd/pdfees">Fees</a></li></ul></li><li><a href="courses/intro" id="courses/intro">Accredited training</a><ul><li><a href="courses/children_ecec" class="scroll" id="courses/children_ecec">Diploma of Early Childhood Education and Care</a></li><li><a href="courses/diploma_management" class="scroll" id="courses/diploma_management">Diploma of Management </a></li><li><a href="courses/certivtraining" class="scroll" id="courses/certivtraining">Certificate IV in Training and Assessment</a></li></ul></li><li><a href="resources/motivation" id="resources/motivation">Resources</a><ul><li><a href="resources/motivation" class="scroll" id="resources/motivation">Motivation</a></li><li><a href="resources/earlychildhood" class="scroll" id="resources/earlychildhood">Early childhood</a></li><li><a href="resources/learningorganisations" class="scroll" id="resources/learningorganisations">Learning organisations</a></li><li><a href="resources/learning" class="scroll" id="resources/learning">Learning</a></li><li><a href="resources/leadership" class="scroll" id="resources/leadership">Leadership and Management</a></li><li><a href="quiz" class="scroll" id="quiz">Quiz: discover your preferred learning style</a></li></ul></li><li><a href="enrol" class="scroll" id="enrol">Enrol</a></li><li><a href="contactus" class="scroll" id="contactus">Contact us</a></li></ul></div></div><div class="clear"></div></div>
<div id="studentLogin--" class="pull-right span2">
<!--partial:html/wisenet-login.html-->
<a id="wisenetLogin" class="btn btn-warning btn-mini pull-right" target="_blank" href="https://student.mywisenet.com.au/mywisenet/login.aspx?key=%2bbj2%2bdgD4O%2fjU4QgaaAB5A%3d%3d">STUDENT LOGIN</a>
@@ -127,7 +126,7 @@
</div>
<div class="fixedbar row">
- <div id="fixedmenu--" class=""><div class="ie-dropdown-fix"> <div id="navigation"><ul id="nav" class="menu"><li><a href="/" id="undefined">Home</a><ul><li><a href="home#specialists" class="scroll" id="home#specialists">Specialists in Early Childhood training and development</a></li><li><a href="home#engaging" class="scroll" id="home#engaging">Engaging resources and environments</a></li><li><a href="home#mentor" class="scroll" id="home#mentor">Your personal mentor </a></li><li><a href="home#constructive" class="scroll" id="home#constructive">Constructive and timely assessment</a></li><li><a href="home#asqa" class="scroll" id="home#asqa">Australian Skills Quality Authority audit summary</a></li></ul></li><li><a href="aboutus#vision" id="aboutus#vision">About us</a><ul><li><a href="aboutus#vision" class="scroll" id="aboutus#vision">Our company</a><ul><li><a href="aboutus#vision" id="aboutus#vision">Vision</a></li><li><a href="aboutus#mission" id="aboutus#mission">Mission</a></li><li><a href="aboutus#approach" id="aboutus#approach">Our student approach</a></li><li><a href="aboutus#values" id="aboutus#values">Values</a></li></ul></li><li><a href="aboutus#namelogo" class="scroll" id="aboutus#namelogo">Our name and logo</a></li><li><a href="aboutus#people" class="scroll" id="aboutus#people">Our people</a></li><li><a href="aboutus#policies" class="scroll" id="aboutus#policies">First door policies</a></li></ul></li><li><a href="pd#intro" id="pd#intro">Professional development</a><ul><li><a href="pd#inspired" class="scroll" id="pd#inspired">The inspired educator</a></li><li><a href="pd#observing" class="scroll" id="pd#observing">Observation, documentation, planning and evaluating</a></li><li><a href="pd#environment" class="scroll" id="pd#environment">Environment and experiences</a></li><li><a href="pd#coop" class="scroll" id="pd#coop">Developing cooperative behaviour</a></li><li><a href="pd#evaluation" class="scroll" id="pd#evaluation">Evaluation and reflective practice</a></li><li><a href="pd#children" class="scroll" id="pd#children">Children at risk</a></li><li><a href="pd#risk" class="scroll" id="pd#risk">Identify and manage risk</a></li><li><a href="pd#customised" class="scroll" id="pd#customised">Customised workshop</a></li><li><a href="pd#pdfees" class="scroll" id="pd#pdfees">Fees</a></li></ul></li><li><a href="courses#intro" id="courses#intro">Accredited training</a><ul><li><a href="courses#children_ecec" class="scroll" id="courses#children_ecec">Diploma of Early Childhood Education and Care</a></li><li><a href="courses#diploma_management" class="scroll" id="courses#diploma_management">Diploma of Management </a></li><li><a href="courses#certivtraining" class="scroll" id="courses#certivtraining">Certificate IV in Training and Assessment</a></li></ul></li><li><a href="resources#motivation" id="resources#motivation">Resources</a><ul><li><a href="resources#motivation" class="scroll" id="resources#motivation">Motivation</a></li><li><a href="resources#earlychildhood" class="scroll" id="resources#earlychildhood">Early childhood</a></li><li><a href="resources#learningorganisations" class="scroll" id="resources#learningorganisations">Learning organisations</a></li><li><a href="resources#learning" class="scroll" id="resources#learning">Learning</a></li><li><a href="resources#leadership" class="scroll" id="resources#leadership">Leadership and Management</a></li><li><a href="quiz" class="scroll" id="quiz">Quiz: discover your preferred learning style</a></li></ul></li><li><a href="enrol" class="scroll" id="enrol">Enrol</a></li><li><a href="contactus" class="scroll" id="contactus">Contact us</a></li></ul></div></div><div class="clear"></div></div>
+ <div id="fixedmenu--" class=""><div class="ie-dropdown-fix"> <div id="navigation"><ul id="nav" class="menu"><li><a href="/" id="undefined">Home</a><ul><li><a href="home/specialists" class="scroll" id="home/specialists">Specialists in Early Childhood training and development</a></li><li><a href="home/engaging" class="scroll" id="home/engaging">Engaging resources and environments</a></li><li><a href="home/mentor" class="scroll" id="home/mentor">Your personal mentor </a></li><li><a href="home/constructive" class="scroll" id="home/constructive">Constructive and timely assessment</a></li><li><a href="home/asqa" class="scroll" id="home/asqa">Australian Skills Quality Authority audit summary</a></li></ul></li><li><a href="aboutus/vision" id="aboutus/vision">About us</a><ul><li><a href="aboutus/vision" class="scroll" id="aboutus/vision">Our company</a><ul><li><a href="aboutus/vision" id="aboutus/vision">Vision</a></li><li><a href="aboutus/mission" id="aboutus/mission">Mission</a></li><li><a href="aboutus/approach" id="aboutus/approach">Our student approach</a></li><li><a href="aboutus/values" id="aboutus/values">Values</a></li></ul></li><li><a href="aboutus/namelogo" class="scroll" id="aboutus/namelogo">Our name and logo</a></li><li><a href="aboutus/people" class="scroll" id="aboutus/people">Our people</a></li><li><a href="aboutus/policies" class="scroll" id="aboutus/policies">First door policies</a></li></ul></li><li><a href="pd/intro" id="pd/intro">Professional development</a><ul><li><a href="pd/inspired" class="scroll" id="pd/inspired">The inspired educator</a></li><li><a href="pd/observing" class="scroll" id="pd/observing">Observation, documentation, planning and evaluating</a></li><li><a href="pd/environment" class="scroll" id="pd/environment">Environment and experiences</a></li><li><a href="pd/coop" class="scroll" id="pd/coop">Developing cooperative behaviour</a></li><li><a href="pd/evaluation" class="scroll" id="pd/evaluation">Evaluation and reflective practice</a></li><li><a href="pd/children" class="scroll" id="pd/children">Children at risk</a></li><li><a href="pd/risk" class="scroll" id="pd/risk">Identify and manage risk</a></li><li><a href="pd/customised" class="scroll" id="pd/customised">Customised workshop</a></li><li><a href="pd/pdfees" class="scroll" id="pd/pdfees">Fees</a></li></ul></li><li><a href="courses/intro" id="courses/intro">Accredited training</a><ul><li><a href="courses/children_ecec" class="scroll" id="courses/children_ecec">Diploma of Early Childhood Education and Care</a></li><li><a href="courses/diploma_management" class="scroll" id="courses/diploma_management">Diploma of Management </a></li><li><a href="courses/certivtraining" class="scroll" id="courses/certivtraining">Certificate IV in Training and Assessment</a></li></ul></li><li><a href="resources/motivation" id="resources/motivation">Resources</a><ul><li><a href="resources/motivation" class="scroll" id="resources/motivation">Motivation</a></li><li><a href="resources/earlychildhood" class="scroll" id="resources/earlychildhood">Early childhood</a></li><li><a href="resources/learningorganisations" class="scroll" id="resources/learningorganisations">Learning organisations</a></li><li><a href="resources/learning" class="scroll" id="resources/learning">Learning</a></li><li><a href="resources/leadership" class="scroll" id="resources/leadership">Leadership and Management</a></li><li><a href="quiz" class="scroll" id="quiz">Quiz: discover your preferred learning style</a></li></ul></li><li><a href="enrol" class="scroll" id="enrol">Enrol</a></li><li><a href="contactus" class="scroll" id="contactus">Contact us</a></li></ul></div></div><div class="clear"></div></div>
<div id="studentLogin--" class="pull-right span2">
<!--partial:html/wisenet-login.html-->
<a id="wisenetLogin" class="btn btn-warning btn-mini pull-right" target="_blank" href="https://student.mywisenet.com.au/mywisenet/login.aspx?key=%2bbj2%2bdgD4O%2fjU4QgaaAB5A%3d%3d">STUDENT LOGIN</a>
@@ -171,17 +170,17 @@
<div class="footer-headline"><h4>Documents</h4></div>
<div class="connect-sub">
<ul>
- <li> <a href="__4290a37d2b/documents/Policies and Procedures May13.pdf">Policies and Procedures</a>
+ <li> <a href="__4290a37d2b/documents/Policies and Procedures May13.pdf" target="_self">Policies and Procedures</a>
</li>
- <li> <a href="__5d755738db/documents/PRIVACY POLICY.pdf">Privacy policy</a>
+ <li> <a href="__5d755738db/documents/PRIVACY POLICY.pdf" target="_self">Privacy policy</a>
</li>
- <li> <a href="__7141e38b0e/documents/FirstDoor_StudentHandbook.pdf">Student handbook</a>
+ <li> <a href="__7141e38b0e/documents/FirstDoor_StudentHandbook.pdf" target="_self">Student handbook</a>
</li>
- <li> <a href="__00aa212baa/documents/Diploma_Early_Childhood_Course_Guide.pdf">Course guide</a>
+ <li> <a href="__00aa212baa/documents/Diploma_Early_Childhood_Course_Guide.pdf" target="_self">Course guide</a>
</li>
- <li> <a href="__c04392cf4d/documents/Dip ECEC enrolment print version.pdf">ECEC Enrolment</a>
+ <li> <a href="__c04392cf4d/documents/Dip ECEC enrolment print version.pdf" target="_self">ECEC Enrolment</a>
</li>
- <li> <a href="__29a0c36205/documents/Individual Units enrolment print version.pdf">Individual Units Enrolment</a>
+ <li> <a href="__29a0c36205/documents/Individual Units enrolment print version.pdf" target="_self">Individual Units Enrolment</a>
</li>
</ul>
</div>
@@ -231,7 +230,7 @@
</div>
</div>
-<script type="text/javascript" src="__18887998c7/js/es5-shim.js"></script><script type="text/javascript" src="__ae49e56999/js/jquery-1.9.1.min.js"></script><script type="text/javascript" src="__0ef59c946d/js/noconsole.js"></script><script type="text/javascript" src="__9a5dfda4c7/js/angular-1.1.4/angular.min.js"></script><script type="text/javascript" src="__48de810090/js/modernizr.js"></script><script type="text/javascript" src="__828379a72e/js/selectnav.js"></script><script type="text/javascript" src="__7f7ba92856/js/bootstrap.js"></script><script type="text/javascript" src="__3f36f35037/js/ui-bootstrap-tpls-0.2.0.js"></script><script type="text/javascript" src="__7d7c44a134/js/epiceditor.min.js"></script><script type="text/javascript" src="__0ea7790d76/js/myjs.js"></script><script type="text/javascript" src="__c2d43ae332/js/controllers.js"></script><script type="text/javascript" src="__dde92ee51a/js/filebrowserCntl.js"></script><script type="text/javascript" src="__b0f506352b/js/videos.js"></script><script type="text/javascript" src="__5b5dee72de/js/resourcesCntl.js"></script><script type="text/javascript" src="__1d5d5e592e/router.js"></script><script type="text/javascript" src="__119ca2ec77/js/jquery.cslider.js"></script><script type="text/javascript" src="__d6b7636309/js/jquery.tabSlideOut.v1.3.js"></script><script type="text/javascript" src="__d0bd79f209/js/feedback.js"></script><script type="text/javascript" src="__82e40d060b/js/jquery.easing.1.3.js"></script><script type="text/javascript" src="__8ce51431f7/js/jquery.flexslider-min.js"></script><script type="text/javascript" src="__f3aeedd2ac/js/showhide.js"></script>
+<script type="text/javascript" src="__18887998c7/js/es5-shim.js"></script><script type="text/javascript" src="__ae49e56999/js/jquery-1.9.1.min.js"></script><script type="text/javascript" src="__0ef59c946d/js/noconsole.js"></script><script type="text/javascript" src="__9a5dfda4c7/js/angular-1.1.4/angular.min.js"></script><script type="text/javascript" src="__48de810090/js/modernizr.js"></script><script type="text/javascript" src="__828379a72e/js/selectnav.js"></script><script type="text/javascript" src="__7f7ba92856/js/bootstrap.js"></script><script type="text/javascript" src="__3f36f35037/js/ui-bootstrap-tpls-0.2.0.js"></script><script type="text/javascript" src="__7d7c44a134/js/epiceditor.min.js"></script><script type="text/javascript" src="__0ea7790d76/js/myjs.js"></script><script type="text/javascript" src="__0c85374051/js/controllers.js"></script><script type="text/javascript" src="__dde92ee51a/js/filebrowserCntl.js"></script><script type="text/javascript" src="__b0f506352b/js/videos.js"></script><script type="text/javascript" src="__c0c69d1d0a/js/resourcesCntl.js"></script><script type="text/javascript" src="__0be41d7e9a/router.js"></script><script type="text/javascript" src="__119ca2ec77/js/jquery.cslider.js"></script><script type="text/javascript" src="__d6b7636309/js/jquery.tabSlideOut.v1.3.js"></script><script type="text/javascript" src="__d0bd79f209/js/feedback.js"></script><script type="text/javascript" src="__82e40d060b/js/jquery.easing.1.3.js"></script><script type="text/javascript" src="__8ce51431f7/js/jquery.flexslider-min.js"></script><script type="text/javascript" src="__f3aeedd2ac/js/showhide.js"></script>
<!--partial:html/google_analytics.html-->
<script>
View
234 www/myJsBlock.js
119 additions, 115 deletions not shown
View
28 www/myLinkBlock.css
@@ -1,4 +1,4 @@
-//*/home/michieljoris/www/sites/firstdoor/www/css/normalize.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/normalize.css*//
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
@@ -534,7 +534,7 @@ table {
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/h5bp.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/h5bp.css*//
/*
* HTML5 Boilerplate
*
@@ -837,7 +837,7 @@ textarea {
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/bootstrap.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/bootstrap.css*//
/*!
* Bootstrap v2.3.0
*
@@ -6691,7 +6691,7 @@ button.close {
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/font-awesome.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/font-awesome.css*//
/*!
* Font Awesome 3.0.1
* the iconic font designed for use with Twitter Bootstrap
@@ -7234,7 +7234,7 @@ ul.icons li [class*=" icon-"] {
.icon-folder-open-alt:before { content: "\f115"; }
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/reset.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/reset.css*//
/*Reset Rules
@@ -7269,7 +7269,7 @@ ul.icons li [class*=" icon-"] {
/*Reset Rules End*/
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/message-top.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/message-top.css*//
.message-top {
/* background-color: #3D9444; */
color: #f3f3f3;
@@ -7278,7 +7278,7 @@ ul.icons li [class*=" icon-"] {
padding: 3px 20px 3px 14px;
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/social.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/social.css*//
.layout-social {
float: right;
margin: 0;
@@ -7346,7 +7346,7 @@ ul.icons li [class*=" icon-"] {
.youtube {background: url(../images/icons/social/youtube.png) no-repeat;}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/contact.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/contact.css*//
.layout-social {
float: right;
margin: 0;
@@ -7378,7 +7378,7 @@ ul.icons li [class*=" icon-"] {
#contact-top a:hover {color: #888;}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/main.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/main.css*//
/* @font-face { */
/* font-family: 'Droid Serif'; */
/* src: url('../font/DroidSerif-Regular.ttf') format('truetype'); */
@@ -8562,7 +8562,7 @@ a {
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/cslider.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/cslider.css*//
.da-slider{
width: 100%;
min-width: 520px;
@@ -8969,7 +8969,7 @@ a {
/* 100%{ left: -50%; opacity: 0; } */
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/chat.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/chat.css*//
.contentBox { padding:5px;
border-radius:5px;
overflow-x: scroll;
@@ -8983,7 +8983,7 @@ a {
#content{ max-height:400px;}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/menu.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/menu.css*//
/*
Document : navigation css
Created on : Jan 4, 2013, 4:07:03 PM
@@ -9136,7 +9136,7 @@ Purpose of the stylesheet follows.
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/flexslider.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/flexslider.css*//
/*
* jQuery FlexSlider v2.0
* http://www.woothemes.com/flexslider/
@@ -9225,7 +9225,7 @@ html[xmlns] .slides {display: block;}
.flex-direction-nav .flex-next {opacity: 1; right: 0;}
}
;
-//*/home/michieljoris/www/sites/firstdoor/www/css/showhide.css*//
+//*/mnt/mint/home/michieljoris/www/sites/firstdoor/www/css/showhide.css*//
/* showhide */
.more {
display: none;
View
14 www/router.js
@@ -12,7 +12,6 @@ angular.module('ngView', [],
var mapping =
[
["home", cachify("built/view-home.html"), HomeCntl]
-,["home", cachify("built/view-home.html"), HomeCntl]
,["aboutus", cachify("built/view-aboutus.html")]
,["pd", cachify("built/view-pd.html")]
,["resources", cachify("built/view-resources.html"), ResourcesCntl]
@@ -37,13 +36,20 @@ angular.module('ngView', [],
];
mapping.forEach(function(m) {
- $routeProvider.when('/' + m[0], {
- templateUrl: '//' + document.location.host + '/' + m[1], controller: m[2] ? m[2] : DefaultCntl });
+ var route ='/' + m[0];
+ $routeProvider.when(route,
+ { templateUrl: '//' + document.location.host + '/' + m[1],
+ controller: m[2] ? m[2] : DefaultCntl });
+ route ='/' + m[0] + '/:section';
+ $routeProvider.when(route,
+ { templateUrl: '//' + document.location.host + '/' + m[1],
+ controller: m[2] ? m[2] : DefaultCntl });
});
+
$routeProvider.otherwise( {
templateUrl: '//' + document.location.host +
- '/built/view-home.html', controller: HomeCntl });
+ cachify('/built/view-home.html'), controller: HomeCntl });
$locationProvider.html5Mode(true);
// console.log($locationProvider.hashPrefix());

No commit comments for this range

Something went wrong with that request. Please try again.