-
Notifications
You must be signed in to change notification settings - Fork 1
/
Index.cshtml
138 lines (101 loc) · 6.61 KB
/
Index.cshtml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@model IEnumerable<Dnn.Modules.DnnJobBoard.Models.Item>
@using DotNetNuke.Web.Mvc.Helpers
@using Dnn.Modules.DnnJobBoard.Models
<div id="job-list" class="row">
<div class="col-sm-3 col-sm-offset-1 col-sm-push-8">
<div class="well inno-jb-listing-filter">
<h5>Filter by Job Type</h5>
<hr />
<div class="filter-checkbox-list">
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_0" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$0" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$0\',\'\')', 0)" value="Permanent Casual" />
<label for="dnn_ctr598_View_cblJobTypeFilters_0">Permanent Casual</label>
</div>
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_1" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$1" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$1\',\'\')', 0)" value="Permanent Full Time" />
<label for="dnn_ctr598_View_cblJobTypeFilters_1">Permanent Full Time</label>
</div>
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_2" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$2" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$2\',\'\')', 0)" value="Permanent Part Time" />
<label for="dnn_ctr598_View_cblJobTypeFilters_2">Permanent Part Time</label>
</div>
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_3" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$3" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$3\',\'\')', 0)" value="Permanent Relief" />
<label for="dnn_ctr598_View_cblJobTypeFilters_3">Permanent Relief</label>
</div>
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_4" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$4" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$4\',\'\')', 0)" value="Temporary Full Time" />
<label for="dnn_ctr598_View_cblJobTypeFilters_4">Temporary Full Time</label>
</div>
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_5" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$5" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$5\',\'\')', 0)" value="Temporary Part Time" />
<label for="dnn_ctr598_View_cblJobTypeFilters_5">Temporary Part Time</label>
</div>
<div class="filter-group">
<input id="dnn_ctr598_View_cblJobTypeFilters_6" type="checkbox" name="dnn$ctr598$View$cblJobTypeFilters$6" onclick="javascript:setTimeout('__doPostBack(\'dnn$ctr598$View$cblJobTypeFilters$6\',\'\')', 0)" value="Temporary Relief" />
<label for="dnn_ctr598_View_cblJobTypeFilters_6">Temporary Relief</label>
</div>
</div>
</div>
</div>
<!--<div id="Items-@Dnn.ModuleContext.ModuleId">-->
<div class="col-sm-8 col-sm-pull-4 inno-jb-listing-main">
@if (Model == null || Model.Count() == 0)
{
<p>No jobs found.</p>
}
else
{
<div class="jobboard-list">
@foreach (var item in Model)
{
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="jobTitle h2">@item.JobTitle</h2>
<h6>Posted on: @item.PostingDate.ToString(@Dnn.LocalizeString("StandardDateFormat"))</h6>
@if (Dnn.ModuleContext.IsEditable)
{
<a href="@Url.Action("Edit", "Item", new { ctl = "Edit", itemId = item.ItemId })" class="btn btn-info">@Dnn.LocalizeString("EditItem")</a>
<a href="javascript:confirmDelete(@item.ItemId)" class="btn btn-danger" >@Dnn.LocalizeString("DeleteItem")</a>
}
</div>
<div class="panel-body">
@if (item.JobSummary != null) {
<p class="lead">@item.JobSummary</p>
}
else {
}
<ul class="job-details-list">
<li><label>Job Posting Close Date:</label> @(item.PostingCloseDate.HasValue ? item.PostingCloseDate.Value.ToString(Dnn.LocalizeString("StandardDateFormat")) : Dnn.LocalizeString("NoCloseDate")) </li>
@if (item.EmploymentTerm != null) {
<li><label>Job Type:</label> @item.EmploymentTerm</li>
}
else {
}
@if (item.PostingNumber != null) {
<li><label>Posting ID:</label> @item.PostingNumber</li>
}
else {
}
@if (item.Region != null) {
<li><label>Location:</label> @item.Region</li>
}
else {
}
@if (item.RateOfPay != null) {
<li><label>Compensation:</label> @item.RateOfPay</li>
}
else {
}
@if (item.Benefits != null) {
<li><label>Benefits:</label> @item.Benefits</li>
}
else {
}
</ul>
<p class="text-center"><a class="jobboard-view-details" href="@Url.Action("Details", "Item", new { ctl = "Details", itemId = item.ItemId })">@Dnn.LocalizeString("ViewItem") »</a></p>
</div>
</div>
}
</div>
}