-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddjoboffer.aspx
More file actions
49 lines (45 loc) · 2.84 KB
/
addjoboffer.aspx
File metadata and controls
49 lines (45 loc) · 2.84 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
<%@ Page Title="" Language="C#" MasterPageFile="~/General.master" AutoEventWireup="true" CodeFile="addjoboffer.aspx.cs" Inherits="addjoboffer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="title" Runat="Server">Add new job offer - JobFinder</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ExtraHead" Runat="Server">
<link rel="stylesheet" href="css/forms.css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BodyHolder" Runat="Server">
<section class="formcont">
<h2>Add new job offer</h2>
<article class="form">
<section class="inputBlock">
<asp:Label ID="lblTitle" AssociatedControlID="txtTitle" Text="Title:*" runat="server" />
<section class="formInput">
<asp:TextBox ID="txtTitle" runat="server" />
<asp:RequiredFieldValidator ID="reqTitle" CssClass="error" Display="Dynamic" ControlToValidate="txtTitle" ErrorMessage="Please fill out a title" runat="server" />
<asp:CustomValidator ID="custTitle" CssClass="error" Display="Dynamic" ControlToValidate="txtTitle" ErrorMessage="You already have an offer with this tite" OnServerValidate="custTitle_ServerValidate" runat="server" />
</section>
</section>
<section class="inputBlock">
<asp:Label ID="lblRegion" AssociatedControlID="lstRegion" Text="Alternate region:" runat="server" />
<section class="formInput">
<asp:DropDownList ID="lstRegion" runat="server" />
</section>
</section>
<section class="inputBlock">
<asp:Label ID="lblContact" AssociatedControlID="lstContact" Text="Contact:" runat="server" />
<section class="formInput">
<asp:DropDownList ID="lstContact" runat="server" />
</section>
</section>
<section class="inputBlock">
<asp:Label ID="lblDescription" AssociatedControlID="txtDescription" Text="Description:*" runat="server" />
<section class="formInput">
<asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" />
<asp:RequiredFieldValidator ID="reqDescription" CssClass="error" Display="Dynamic" ControlToValidate="txtDescription" ErrorMessage="Please enter a description" runat="server" />
</section>
</section>
<section class="inputBlock clearfix">
<section class="formInput">
<p class="cancelBtn"><a href="Default.aspx">Cancel</a></p>
<p class="submitBtn"><asp:LinkButton ID="lnkSubmit" Text="Submit" OnClick="lnkSubmit_Click" runat="server" /></p>
</section>
</section>
</article>
</section>
</asp:Content>