forked from rjj940221/codfest_gpg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
applicants.html
87 lines (84 loc) · 4.26 KB
/
applicants.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<script>console.log("application lis opend");</script>
<md-sidenav class="md-sidenav-left" md-component-id="left" md-whiteframe="4">
<md-toolbar class="site-content-toolbar" ng-click="close()">
<div class="md-toolbar-tools">
<h2 class="md-toolbar-item">Options</h2>
<span flex></span>
</div>
</md-toolbar>
<md-content layout-padding>
<md-list flex>
<md-list-item><md-button href="#/create_job" aria-label="create a job">Create a job</md-button></md-list-item>
<md-list-item><md-button href="#/my_jobs" aria-label="My jobs">My jobs</md-button></md-list-item>
<md-list-item><md-button href="#/jobs" aria-label="My applications">back to jobs</md-button></md-list-item>
</md-list>
<p>
Here be words and buttons to give yee options
</p>
</md-content>
</md-sidenav>
<div ng-controller="applicants__" layout="column" flex>
<md-toolbar class="site-content-toolbar md-whiteframe-glow-z2">
<div class="md-toolbar-tools">
<md-button class="md-icon-button md-toolbar-item" aria-label="Settings" ng-click="toggleLeft()">
<md-icon md-svg-src="svg/ic_menu_white_24px.svg"></md-icon>
</md-button>
<div layout="row" layout-align="center center">
<a href="#/"><h1 class="md-toolbar-item">Home</h1></a>
<md-icon md-svg-icon="svg/ic_chevron_right_white_24px.svg" style="color: inherit" aria-hidden="true"></md-icon>
</div>
<h2 class="md-toolbar-item">Jobs</h2>
<span flex></span>
<md-button class="md-icon-button md-toolbar-item" aria-label="Account" ng-click="toggleAccount()">
<md-icon md-svg-src="svg/ic_account_circle_white_24px.svg"></md-icon>
</md-button>
</div>
</md-toolbar>
<md-content flex layout-padding>
<md-list flex>
<md-list-item class="jobs-item" md-whiteframe="2" ng-repeat="app in applicants">
<div layout="column" layout-align="space-around" flex>
<div flex layout="row" layout-align="space-between center">
<h2 class="jobs-text">{{app.first_name}} {{app.surname}}</h2>
<span class="badge" ng-hide="job.recruiter"></span>
</div>
<div layout="row" layout-wrap layout-align="space-between center" flex>
<p layout="row" layout-align="begin" class="jobs-text">
{{app.last_qualification}}
</p>
</div>
<div layout="row" layout-wrap layout-align="space-between center" flex>
<p layout="row" layout-align="begin" class="jobs-text">
{{app.status}}
</p>
</div>
<div>
<md-menu>
<md-button aria-label="Job Menu" class="md-icon-button" ng-click="openMenu($mdOpenMenu, $event)">
<md-icon md-menu-origin="" md-svg-icon="svg/ic_menu_white_12px.svg"></md-icon>
</md-button>
<md-menu-content width="4">
<!--<md-menu-item>
<md-button href="#" >
View User Profile
</md-button>
</md-menu-item>-->
<md-menu-item>
<md-button ng-click="setOffer(app, 'offer')">
Make Offer
</md-button>
</md-menu-item>
<md-menu-item>
<md-button ng-click="setOffer(app, 'rejected')">
Reject
</md-button>
</md-menu-item>
</md-menu-content>
</md-menu>
</div>
</div>
</md-list-item>
</md-list>
</md-content>
</div>