diff --git a/src/assets/scripts/app/index.js b/src/assets/scripts/app/index.js
index 797426b..a0935ed 100644
--- a/src/assets/scripts/app/index.js
+++ b/src/assets/scripts/app/index.js
@@ -14,6 +14,7 @@ angular.module('NomitWisp',
'nwAdsDetails',
'nwProfile',
'nwSignup',
+ 'nwHistory',
ngRoute
])
@@ -41,6 +42,10 @@ angular.module('NomitWisp',
controller: 'SignupController',
templateUrl: 'assets/scripts/signup/signup.html'
})
+ .when('/history', {
+ controller: 'HistoryController',
+ templateUrl: 'assets/scripts/history/history.html'
+ })
// .when('/users', {
// controller: 'UsersController',
// templateUrl: ''
diff --git a/src/assets/scripts/history/history.controller.js b/src/assets/scripts/history/history.controller.js
new file mode 100644
index 0000000..7919dea
--- /dev/null
+++ b/src/assets/scripts/history/history.controller.js
@@ -0,0 +1,11 @@
+/** @ngInject */
+const HistoryController = ($scope, UserService) => {
+ $scope.$on('loadUserSuccess', function (event, user) {
+ $scope.user = user;
+ });
+ // Service to fetch the history
+
+ UserService.loadUser();
+}
+
+export default HistoryController;
\ No newline at end of file
diff --git a/src/assets/scripts/history/history.html b/src/assets/scripts/history/history.html
new file mode 100644
index 0000000..34c00a1
--- /dev/null
+++ b/src/assets/scripts/history/history.html
@@ -0,0 +1,72 @@
+
+
+
+
+ History
+
+
+
+
+
+
+ | # |
+ Position |
+ Company |
+ Industry |
+ Submission Date |
+ Application Status |
+
+
+
+
+ | 1 |
+ Graphic Design Intern |
+ Sierra Delta Creative |
+ Design |
+ 07 Jan 2019 |
+
+
+ ON
+
+ |
+
+
+ | 2 |
+ Barista Intern |
+ Brunetti |
+ Hospitality |
+ 21 Jan 2019 |
+
+
+ OFF
+
+ |
+
+
+ | 3 |
+ Web Developer Intern |
+ Agile Talent |
+ IT / Software Engineering |
+ 23 Jan 2019 |
+
+
+ CLOSED
+
+ |
+
+
+ | 4 |
+ Kitchen Hand Intern |
+ Yarra River Grill |
+ Hospitality |
+ 25 Jan 2019 |
+
+
+ CANCELLED
+
+ |
+
+
+
+
+
\ No newline at end of file
diff --git a/src/assets/scripts/history/index.js b/src/assets/scripts/history/index.js
new file mode 100644
index 0000000..58fdc44
--- /dev/null
+++ b/src/assets/scripts/history/index.js
@@ -0,0 +1,10 @@
+import angular from 'angular';
+import HistoryController from './history.controller';
+//import ProfileService from './profile.service';
+
+angular.module('nwHistory', [])
+ .config(['$httpProvider', function($httpProvider) {
+ $httpProvider.defaults.withCredentials = true;
+ }])
+ .controller(HistoryController.name, HistoryController)
+ //.factory(ProfileService.name, ProfileService);
\ No newline at end of file
diff --git a/src/assets/scripts/index.js b/src/assets/scripts/index.js
index edb9c39..61d55b1 100755
--- a/src/assets/scripts/index.js
+++ b/src/assets/scripts/index.js
@@ -27,5 +27,6 @@ import './ads';
import './ads-details';
import './profile';
import './signup';
+import './history';
import './app';
\ No newline at end of file
diff --git a/src/assets/scripts/nwSidebar/nwSidebar.html b/src/assets/scripts/nwSidebar/nwSidebar.html
index 48d3f2f..085e7fa 100644
--- a/src/assets/scripts/nwSidebar/nwSidebar.html
+++ b/src/assets/scripts/nwSidebar/nwSidebar.html
@@ -274,8 +274,8 @@
-
-