]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Web/Portlets/JobRunList.tpl
823f578f849c54860016e83b02bb2ea143e994f7
[bacula/bacula] / gui / baculum / protected / Web / Portlets / JobRunList.tpl
1 <%@ MasterClass="Application.Web.Portlets.SlideWindow" %>
2 <com:TContent ID="SlideWindowContent">
3         <com:TActivePanel ID="RepeaterShow">
4         <com:TActiveRepeater ID="Repeater">
5                 <prop:ItemTemplate>
6                         <%=($this->getPage()->JobRunWindow->oldDirector != $this->DataItem['director']) ? '<div class="window-section"><span>' . Prado::localize('Director:') . ' ' . $this->DataItem['director']  . '<span></div>': ''%>
7                         <com:TPanel ID="JobRunElement" CssClass="slide-window-element" >
8                                 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/job-icon.png" alt="" /> <%=@$this->DataItem['name']%>
9                                 <input type="hidden" name="<%=$this->ClientID%>" value="<%=isset($this->DataItem['name']) ? $this->DataItem['name'] : ''%>" />
10
11                         </com:TPanel>
12                         <%=!($this->getPage()->JobRunWindow->oldDirector = $this->DataItem['director'])%>
13                 </prop:ItemTemplate>
14         </com:TActiveRepeater>
15         </com:TActivePanel>
16         <com:TActivePanel ID="DataGridShow">
17         <com:TActiveDataGrid
18                 ID="DataGrid"
19                 AutoGenerateColumns="false"
20                 AllowSorting="false"
21                 OnSortCommand="sortDataGrid"
22                 CellPadding="5px"
23                 CssClass="window-section-detail-smallrow"
24                 ItemStyle.CssClass="slide-window-element"
25                 AlternatingItemStyle.CssClass="slide-window-element-alternating"
26         >
27                 <com:TActiveTemplateColumn HeaderText="<%[ Job name ]%>" SortExpression="name">
28                         <prop:ItemTemplate>
29                                 <div><%=$this->getParent()->DataItem['name']%></div>
30                                 <input type="hidden" name="<%=$this->getParent()->ClientID%>" value="<%=$this->getParent()->DataItem['name']%>" />
31                         </prop:ItemTemplate>
32                 </com:TActiveTemplateColumn>
33                 <com:TActiveBoundColumn
34                                 SortExpression="director"
35                                 HeaderText="<%[ Director ]%>"
36                                 DataField="director"
37                                 ItemStyle.HorizontalAlign="Center"
38                         />
39         </com:TActiveDataGrid>
40         </com:TActivePanel>
41         <com:TCallback ID="DataElementCall" OnCallback="Page.JobRunWindow.configure">
42                 <prop:ClientSide.OnComplete>
43                         ConfigurationWindow.getObj('JobRunWindow').show();
44                         ConfigurationWindow.getObj('JobRunWindow').progress(false);
45                 </prop:ClientSide.OnComplete>
46         </com:TCallback>
47 </com:TContent>