-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRecruiterHome.aspx
More file actions
98 lines (98 loc) · 6.36 KB
/
RecruiterHome.aspx
File metadata and controls
98 lines (98 loc) · 6.36 KB
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
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="SmartStart.Master" CodeBehind="RecruiterHome.aspx.cs" Inherits="CAPRES.RecruiterHome" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
<h2 class="text-center">Candidates</h2>
<p class="text-center"><em>To add a single candidate, use the textboxes in the table.
To add multiple candidates, upload a text file with this format:</em> Candidate ID|Email</p>
<div class="container-fluid">
<h4 class="text-center">
<asp:Label ID="lblMessage" runat="server" CssClass="error-label"></asp:Label>
</h4>
<div class="input-group input-group-lg">
<asp:TextBox ID="txtSearch" runat="server" CssClass="form-control" placeholder="Please input your search terms (candidate ID, email, status)."></asp:TextBox>
<span class="input-group-btn">
<asp:LinkButton ID="btnSearch" runat="server" CssClass="btn btn-info" Text="SEARCH" ToolTip="SEARCH" OnClick="btnSearch_Click">
<span class="glyphicon glyphicon-search"></span>
</asp:LinkButton>
<asp:LinkButton ID="btnResetSearch" runat="server" CssClass="btn btn-info" Text="RESET" ToolTip="RESET" OnClick="btnResetSearch_Click">
<span class="glyphicon glyphicon-repeat"></span>
</asp:LinkButton>
</span>
</div>
<br />
<div class="table-responsive">
<asp:GridView ID="gvCandidates" runat="server"
CssClass="table table-bordered table-condensed"
PagerStyle-CssClass="pagination-ys" PagerStyle-HorizontalAlign="Center" AutoGenerateColumns="false"
DataKeyNames="candidate_id" AllowPaging="True" AllowSorting="true"
onpageindexchanging="gvCandidates_PageIndexChanging" ShowFooter="true"
onsorting="gvCandidates_Sorting"
onrowdatabound="gvCandidates_RowDataBound">
<Columns>
<asp:TemplateField HeaderText="CANDIDATE ID <i class='glyphicon glyphicon-sort'></i>" SortExpression="candidate_id">
<ItemTemplate>
<asp:Label ID="lblCandidateId" runat="server" Text='<%# Eval("candidate_id") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtCandidateId" runat="server" CssClass="form-control" type="number" required placeholder="e.g. 1001" min="0"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="EMAIL <i class='glyphicon glyphicon-sort'></i>" SortExpression="email">
<ItemTemplate>
<asp:Label ID="lblCandidateEmail" runat="server" Text='<%# Eval("email") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtCandidateEmail" runat="server" CssClass="form-control" MaxLength="50" required placeholder="e.g. example@test.com"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="STATUS <i class='glyphicon glyphicon-sort'></i>" SortExpression="status">
<ItemTemplate>
<asp:Label ID="lblCandidateStatus" runat="server" Text='<%# Eval("status") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtCandidateStatus" runat="server" CssClass="form-control text-center" Text="pending" ReadOnly="true">
</asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ACTION">
<ItemTemplate>
<div class="btn-group btn-group-lg">
<asp:LinkButton ID="btnViewApplication" runat="server" CssClass="btn btn-success" Text="VIEW APPLICATION"
UseSubmitBehavior="false" OnClick="btnViewApplication_Click" ToolTip="VIEW APPLICATION">
<span class="glyphicon glyphicon-file"></span>
</asp:LinkButton>
<asp:LinkButton ID="btnResendEmail" runat="server" CssClass="btn btn-default" Text="RESEND EMAIL"
UseSubmitBehavior="false" OnClick="btnResendEmail_Click" ToolTip="RESEND EMAIL">
<span class="glyphicon glyphicon-envelope"></span>
</asp:LinkButton>
</div>
</ItemTemplate>
<FooterTemplate>
<asp:LinkButton ID="btnRegister" runat="server" CssClass="btn btn-lg btn-block btn-primary btn-gridview"
onclick="btnRegister_Click" ToolTip="ADD">
<span class="glyphicon glyphicon-plus-sign"></span>
</asp:LinkButton>
</FooterTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
<div class="input-group input-group-lg">
<span class="input-group-btn">
<label class="btn btn-default btn-file" for="fuCandidates">
<asp:FileUpload ID="fuCandidates" runat="server" ToolTip="BROWSE" />
<span class="glyphicon glyphicon-folder-open"></span>
</label>
</span>
<asp:Textbox ID="txtFileUpload" runat="server" CssClass="form-control" ReadOnly="true" placeholder="Please choose a text file to upload.">
</asp:Textbox>
<span class="input-group-btn">
<asp:LinkButton ID="btnUpload" runat="server" CssClass="btn btn-info" Text="UPLOAD" ToolTip="UPLOAD"
onclick="btnUpload_Click" UseSubmitBehavior="false">
<span class="glyphicon glyphicon-cloud-upload"></span>
</asp:LinkButton>
</span>
</div>
</div>
</asp:Content>