source: contrib/ProjectManager/templates/default/list.xet @ 3594

Revision 3594, 6.3 KB checked in by afernandes, 13 years ago (diff)

Ticket #1416 - Disponibilizado o módulo ProjectManager? para a comunidade

  • Property svn:executable set to *
Line 
1<?xml version="1.0"?>
2<!-- $Id: list.xet 23488 2007-03-07 12:31:48Z ralfbecker $ -->
3<overlay>
4        <template id="projectmanager.list.rows" template="" lang="" group="0" version="1.3.001">
5                <grid width="100%">
6                        <columns>
7                                <column/>
8                                <column/>
9                                <column/>
10                                <column/>
11                                <column disabled="@no_role0"/>
12                                <column disabled="@no_role1"/>
13                                <column disabled="@no_role2"/>
14                                <column disabled="@no_role3"/>
15                                <column disabled="@no_role4"/>
16                                <column/>
17                                <column/>
18                                <column disabled="@no_pm_used_budget_pm_planned_budget"/>
19                                <column disabled="@no_pm_used_time_pm_planned_time"/>
20                                <column/>
21                                <column/>
22                                <column/>
23                        </columns>
24                        <rows>
25                                <row class="th">
26                                        <nextmatch-sortheader label="Project ID" id="pm_number"/>
27                                        <nextmatch-sortheader label="Title" id="pm_title"/>
28                                        <nextmatch-sortheader label="Priority" align="center" id="pm_priority"/>
29                                        <nextmatch-sortheader label="Owner" id="pm_creator"/>
30                                        <nextmatch-header label="@roles[0]" id="role0"/>
31                                        <nextmatch-header label="@roles[1]" id="role1"/>
32                                        <nextmatch-header label="@roles[2]" id="role2"/>
33                                        <nextmatch-header label="@roles[3]" id="role3"/>
34                                        <nextmatch-header label="@roles[4]" id="role4"/>
35                                        <vbox options="0,0">
36                                                <nextmatch-sortheader label="Startdate" id="pm_real_start"/>
37                                                <nextmatch-sortheader label="planned" id="pm_planned_start" class="planned"/>
38                                        </vbox>
39                                        <vbox options="0,0">
40                                                <nextmatch-sortheader label="Enddate" id="pm_real_end"/>
41                                                <nextmatch-sortheader label="planned" id="pm_planned_end" class="planned"/>
42                                        </vbox>
43                                        <vbox options="0,0">
44                                                <nextmatch-sortheader label="Budget" id="pm_used_budget"/>
45                                                <nextmatch-sortheader class="planned" label="planned" id="pm_planned_budget"/>
46                                        </vbox>
47                                        <vbox options="0,0">
48                                                <nextmatch-sortheader label="Times" id="pm_used_time"/>
49                                                <nextmatch-sortheader class="planned" label="planned" id="pm_planned_time"/>
50                                        </vbox>
51                                        <nextmatch-sortheader label="Status" id="pm_completion" align="center"/>
52                                        <nextmatch-sortheader label="last modified" id="pm_modified"/>
53                                        <hbox align="center" class="noPrint">
54                                                <description value="Actions" align="center"/>
55                                                <button image="check" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('checked[]')); return false;" needed="1"/>
56                                        </hbox>
57                                </row>
58                                <row class="row">
59                                        <description id="${row}[pm_number]" no_lang="1"/>
60                                        <description id="${row}[pm_title]" no_lang="1" options=",projectmanager.uiprojectelements.index&amp;pm_id=$row_cont[pm_id]" statustext="Select this project and show it's elements"/>
61                                        <description no_lang="1" id="${row}[pm_priority]" align="center"/>
62                                        <menulist>
63                                                <menupopup type="select-account" id="${row}[pm_creator]" readonly="true"/>
64                                        </menulist>
65                                        <listbox type="select-account" id="${row}[role0]" readonly="true" rows="2"/>
66                                        <listbox type="select-account" id="${row}[role1]" readonly="true" rows="2"/>
67                                        <listbox type="select-account" id="${row}[role2]" readonly="true" rows="2"/>
68                                        <listbox type="select-account" id="${row}[role3]" readonly="true" rows="2"/>
69                                        <listbox type="select-account" id="${row}[role4]" readonly="true" rows="2"/>
70                                        <vbox options="0,0">
71                                                <date id="${row}[pm_real_start]" readonly="true"/>
72                                                <date id="${row}[pm_planned_start]" readonly="true" class="planned"/>
73                                        </vbox>
74                                        <vbox options="0,0">
75                                                <date id="${row}[pm_real_end]" readonly="true"/>
76                                                <date id="${row}[pm_planned_end]" readonly="true" class="planned"/>
77                                        </vbox>
78                                        <vbox readonly="true">
79                                                <textbox type="float" readonly="true" id="${row}[pm_used_budget]" max="2"/>
80                                                <textbox type="float" readonly="true" no_lang="1" id="${row}[pm_planned_budget]" max="2" class="planned"/>
81                                        </vbox>
82                                        <vbox readonly="true">
83                                                <date-duration readonly="true" id="${row}[pm_used_time]" options="@duration_format"/>
84                                                <date-duration readonly="true" id="${row}[pm_planned_time]" class="planned" options="@duration_format"/>
85                                        </vbox>
86                                        <image src="${row}[pm_completion]" label="$row_cont[pm_completion]" no_lang="1" align="center"/>
87                                        <vbox readonly="true" options="0,0">
88                                                <date-time id="${row}[pm_modified]" readonly="true"/>
89                                                <menulist>
90                                                        <menupopup type="select-account" id="${row}[pm_modifier]" readonly="true"/>
91                                                </menulist>
92                                        </vbox>
93                                        <hbox align="center" class="noPrint">
94                                                <button image="ganttchart" label="Ganttchart" id="ganttchart[$row_cont[pm_id]]" statustext="View ganttchart of this project"/>
95                                                <button image="view" label="View" id="view[$row_cont[pm_id]]" statustext="View this project"/>
96                                                <button id="edit[$row_cont[pm_id]]" image="edit" label="Edit" statustext="Edit this project"/>
97                                                <button id="delete[$row_cont[pm_id]]" image="delete" label="Delete" statustext="Delete this project" onclick="return confirm('Delete this project');"/>
98                                                <checkbox id="checked[]" options="$row_cont[pm_id]" statustext="Select multiple projects for a further action"/>
99                                        </hbox>
100                                </row>
101                        </rows>
102                </grid>
103        </template>
104        <template id="projectmanager.list" template="" lang="" group="0" version="0.4.001">
105                <grid width="100%">
106                        <columns>
107                                <column/>
108                        </columns>
109                        <rows>
110                                <row disabled="!@msg">
111                                        <description class="redItalic" id="msg" align="center" no_lang="1"/>
112                                </row>
113                                <row>
114                                        <nextmatch options="projectmanager.list.rows" id="nm"/>
115                                </row>
116                                <row class="noPrint">
117                                        <hbox>
118                                                <hbox>
119                                                        <menulist>
120                                                                <menupopup id="template" no_lang="1" statustext="Create a new empty project or use a template" options="Empty"/>
121                                                        </menulist>
122                                                        <button label="Add" id="add" statustext="Add a new project"/>
123                                                </hbox>
124                                                <hbox align="right">
125                                                        <button id="gantt_checked" image="ganttchart" label="Ganttchart" statustext="Created a ganttchart from the checked projects"/>
126                                                        <button id="delete_checked" image="delete" label="Delete" statustext="Delete all checked projects" onclick="return confirm('Delete all checked projects');"/>
127                                                        <button image="arrow_ltr" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" class="check_all_arrow"/>
128                                                </hbox>
129                                        </hbox>
130                                </row>
131                        </rows>
132                </grid>
133                <styles>
134                        .check_all_arrow input { margin-right: 10px; }
135                </styles>
136        </template>
137</overlay>
Note: See TracBrowser for help on using the repository browser.