blob: ca5797e470ded34aad9eb3e1f8ff3382d065b5df (
plain)
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
|
<com:TContent ID="Main">
<h2>Time Entry</h2>
<div class="loghours">
<fieldset>
<legend>Log your hours</legend>
<div class="project">
<com:TLabel ForControl="projects" Text="Project:" />
<span class="required">*</span><br />
<com:TDropDownList ID="projects" AutoPostBack="true" OnSelectedIndexChanged="projects_Changed" />
</div>
<div class="category">
<com:TLabel ForControl="category" Text="Category:" />
<span class="required">*</span><br />
<com:TDropDownList ID="category" />
</div>
<div class="day">
<com:TLabel ForControl="day" Text="Day:" />
<span class="required">*</span><br />
<com:TDatePicker ID="day" InputMode="DropDownList" />
</div>
<div class="hours">
<com:TLabel ForControl="hours" Text="Hours:" />
<span class="required">*</span><br />
<com:TTextBox ID="hours" />
<com:TRequiredFieldValidator
ControlToValidate="hours"
Display="None"
CssClass="validator"
ValidationGroup="hours-add"
ControlCssClass="required-input"
ErrorMessage="Please enter your work hours." />
<com:TRangeValidator
ControlToValidate="hours"
DataType="Float"
MinValue="0"
MaxValue="9999"
CssClass="validator"
Display="None"
ValidationGroup="hours-add"
ControlCssClass="required-input1"
ErrorMessage="Hours must be between 0 and 9999" />
</div>
<div class="description">
<com:TLabel ForControl="description" Text="Description:" /><br/>
<com:TTextBox ID="description" TextMode="MultiLine" />
</div>
<div class="addEntry">
<com:TValidationSummary AutoUpdate="false" ValidationGroup="hours-add" />
<com:TButton Text="Add Entry" ValidationGroup="hours-add" OnClick="AddNewEntry" />
</div>
</fieldset>
</div>
<div class="timesheet">
<fieldset>
<legend>Time Sheet For:
<com:TDropDownList ID="projectMembers" CssClass="sheetfor"
AutoPostBack="True" OnSelectedIndexChanged="showTimeSheet" />
</legend>
<com:Application.pages.TimeTracker.TimeEntryList ID="entryList" />
</fieldset>
</div>
</com:TContent>
|