This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .flex { | |
| display: flex | |
| } | |
| .flex--centered { | |
| justify-content: center; | |
| } | |
| .flex--aligned { | |
| align-items: center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "title": "Sports Turf Management", | |
| "code": "AHCTRF305A", | |
| "modules": [{ | |
| "id": 1, | |
| "title": "Repair sports turf", | |
| "sections": [{ | |
| "id": 50, | |
| "title": "Introduction", | |
| "file": "intro.md", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-view> | |
| <ion-nav-title> | |
| {{ section.title }} | |
| <small>{{ title }}</small> | |
| </ion-nav-title> | |
| <ion-nav-buttons side="right"> | |
| <button class="button button-icon button-clear" ng-click="toggleFavourite()"> | |
| <i class="fa header__icon favourite" ng-class="isFavourited ? 'fa-star' : 'fa-star-o'"></i> | |
| </button> | |
| </ion-nav-buttons> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Components</title> | |
| <script src="lib/handlebars/handlebars.runtime.min.js"></script> | |
| <script src="js/templates.js"></script> | |
| <link rel="stylesheet" id="stylesheet"/> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Press ? for help | |
| .. (up a dir) | |
| </jcorbett/dev/exp-header/ | |
| ▸ _config/ | |
| ▸ _environments/ | |
| ▸ img/ | |
| ▸ node_modules/ | |
| ▾ public/ | |
| ▾ components/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "title": "Sports Turf Management", | |
| "code": "AHCTRF305A", | |
| "modules": [{ | |
| "id": 1, | |
| "title": "Repair sports turf", | |
| "sections": [{ | |
| "id": 1, | |
| "title": "Prepare for monitoring activities", | |
| "file": "prepare-for-monitoring-activities.md" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| app.controller('SectionCtrl', function($scope, $ionicModal) { | |
| $scope.user = { | |
| name: 'Jason Corbett', | |
| activeCourse: 'Sports Turf Management', | |
| activeCourseLevel: 'Certificate III', | |
| activeCourseCode: 'AHC31310' | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-modal-view> | |
| <ion-nav-bar> | |
| <ion-nav-buttons side="right"> | |
| <button class="button button-clear button-positive" ng-click="closeModal($event)">Cancel</button> | |
| </ion-nav-buttons> | |
| </ion-nav-bar> | |
| <ion-content class="has-header"> | |
| <div class="quiz island"> | |
| <div ng-repeat="questions in quiz"> | |
| <h2 class="quiz__question"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "student": { | |
| "firstName": "Jason", | |
| "lastName": "Corbett", | |
| "courses": [ | |
| courses[1] | |
| ], | |
| "activeCourse": courses[1], | |
| "activeModule": module[2], | |
| "completedModules": [module[0], module[1]] | |
| "uploads": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var psi = require('psi'); | |
| var testUrl = 'http://www.expedia.com/Cancun-Hotels.d179995.Travel-Guide-Hotels?psislp=1'; | |
| module.exports = { | |
| getScore: function() { | |
| psi(testUrl, function (err, data) { | |
| console.log(data.score); | |
| }); | |
| } | |
| }; |