| 1 |
lars |
1 |
<com:TContent ID="Main">
|
|
|
2 |
<h2>Project Details</h2>
|
|
|
3 |
|
|
|
4 |
<fieldset class="project"><legend>Project Configuration</legend>
|
|
|
5 |
<p>Define the project and specify which users will be part of the project.
|
|
|
6 |
Then add categories to the project to help keep track of specific areas of
|
|
|
7 |
product. Press the <tt>SAVE</tt> button at the bottom for your configuration
|
|
|
8 |
to take effect.</p>
|
|
|
9 |
<div class="projectInfo">
|
|
|
10 |
<h2>Project Information</h2>
|
|
|
11 |
<div class="projectName">
|
|
|
12 |
<com:TLabel ForControl="projectName" Text="Project Name"/>
|
|
|
13 |
<span class="required">*</span><br />
|
|
|
14 |
<com:TTextBox ID="projectName" />
|
|
|
15 |
<com:TRequiredFieldValidator
|
|
|
16 |
ControlToValidate="projectName"
|
|
|
17 |
Display="None"
|
|
|
18 |
CssClass="validator"
|
|
|
19 |
ValidationGroup="project-edit"
|
|
|
20 |
ControlCssClass="required-input"
|
|
|
21 |
ErrorMessage="Please enter a project name."/>
|
|
|
22 |
|
|
|
23 |
</div>
|
|
|
24 |
<div class="manager">
|
|
|
25 |
<com:TLabel ForControl="manager" Text="Project Manager" />
|
|
|
26 |
<span class="required">*</span><br />
|
|
|
27 |
<com:TDropDownList ID="manager" />
|
|
|
28 |
</div>
|
|
|
29 |
<div class="completionDate">
|
|
|
30 |
<com:TLabel ForControl="completionDate" Text="Estimated complete date:"/>
|
|
|
31 |
<span class="required">*</span><br />
|
|
|
32 |
<com:TDatePicker ID="completionDate" InputMode="DropDownList" />
|
|
|
33 |
</div>
|
|
|
34 |
<div class="estimateHours">
|
|
|
35 |
<com:TLabel ForControl="estimateHours" Text="Estimated Duration (in hours):"/>
|
|
|
36 |
<span class="required">*</span><br />
|
|
|
37 |
<com:TTextBox ID="estimateHours" />
|
|
|
38 |
<com:TRequiredFieldValidator
|
|
|
39 |
ControlToValidate="estimateHours"
|
|
|
40 |
Display="None"
|
|
|
41 |
CssClass="validator"
|
|
|
42 |
ValidationGroup="project-edit"
|
|
|
43 |
ControlCssClass="required-input"
|
|
|
44 |
ErrorMessage="Please enter the project duration." />
|
|
|
45 |
<com:TRangeValidator
|
|
|
46 |
ControlToValidate="estimateHours"
|
|
|
47 |
DataType="Float"
|
|
|
48 |
MinValue="0"
|
|
|
49 |
MaxValue="9999"
|
|
|
50 |
CssClass="validator"
|
|
|
51 |
Display="None"
|
|
|
52 |
ValidationGroup="project-edit"
|
|
|
53 |
ControlCssClass="required-input1"
|
|
|
54 |
ErrorMessage="Duration must be between 0 and 9999" />
|
|
|
55 |
</div>
|
|
|
56 |
<div class="description">
|
|
|
57 |
<com:TLabel ForControl="description" Text="Description:" /><br />
|
|
|
58 |
<com:TTextBox ID="description" TextMode="MultiLine" />
|
|
|
59 |
</div>
|
|
|
60 |
</div>
|
|
|
61 |
|
|
|
62 |
<div class="projectMembers">
|
|
|
63 |
<h2>Specify Project Members</h2>
|
|
|
64 |
<p>Select a resource. Use ctrl+click to select multiple resources at once:</p>
|
|
|
65 |
<com:TListBox ID="members" SelectionMode="Multiple" />
|
|
|
66 |
</div>
|
|
|
67 |
|
|
|
68 |
<com:TPanel CssClass="projectCategory" ID="projectCategoryColumn">
|
|
|
69 |
<h2>Define Project Categories for Project Management</h2>
|
|
|
70 |
|
|
|
71 |
<p>Categories can be added in two ways. You can <strong>ADD</strong> a category
|
|
|
72 |
by specifying name, abbreviation, and duration -
|
|
|
73 |
the amount of hours that may be charged under the category. Or,
|
|
|
74 |
You can <strong>COPY</strong> categories that already have been defined in
|
|
|
75 |
another project to this project. </p>
|
|
|
76 |
|
|
|
77 |
<com:Application.pages.TimeTracker.CategoryDataList ID="categories" />
|
|
|
78 |
|
|
|
79 |
<div class="fromProject">
|
|
|
80 |
<com:TLabel ForControl="projectList" Text="Add categories from another project:" />
|
|
|
81 |
<com:TDropDownList ID="projectList" />
|
|
|
82 |
<com:TButton Text="Copy" OnClick="copyButton_clicked" />
|
|
|
83 |
</div>
|
|
|
84 |
|
|
|
85 |
</com:TPanel>
|
|
|
86 |
|
|
|
87 |
<div class="actions">
|
|
|
88 |
|
|
|
89 |
<com:TValidationSummary AutoUpdate="false" ValidationGroup="project-edit" />
|
|
|
90 |
<p>Press the <tt>SAVE</tt> button for your configuration to take effect.
|
|
|
91 |
<com:TPlaceHolder Visible=<%= $this->deleteButton->Visible %>>
|
|
|
92 |
Press the <tt>DELETE</tt> button to delete the current project.
|
|
|
93 |
</com:TPlaceHolder>
|
|
|
94 |
</p>
|
|
|
95 |
<div class="buttons">
|
|
|
96 |
<com:TButton Text="Save" CssClass="save"
|
|
|
97 |
OnClick="saveButton_clicked" ValidationGroup="project-edit"/>
|
|
|
98 |
<com:TButton ID="deleteButton" Text="Delete" OnClick="deleteButton_clicked"
|
|
|
99 |
Attributes.onclick="if(!confirm('Are you sure?')) return false;" />
|
|
|
100 |
</div>
|
|
|
101 |
</div>
|
|
|
102 |
</fieldset>
|
|
|
103 |
|
|
|
104 |
</com:TContent>
|