1 <%@ MasterClass="Application.Portlets.SlideWindow" %>
2 <com:TContent ID="SlideWindowContent">
3 <script type="text/javascript">
4 document.observe("dom:loaded", function() {
5 jobRunConfigurationWindow = ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>;
6 jobRunSlideWindowObj = <%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow;
7 jobRunSlideWindowObj.setConfigurationObj(jobRunConfigurationWindow);
10 <com:TActivePanel ID="RepeaterShow">
11 <com:TActiveRepeater ID="Repeater">
13 <%=($this->getPage()->JobRunWindow->oldDirector != $this->DataItem['director']) ? '<div class="window-section"><span>Director: ' . $this->DataItem['director'] . '<span></div>': ''%>
14 <com:TPanel ID="JobRunElement" CssClass="slide-window-element" >
15 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/job-icon.png" alt="" /> <%=@$this->DataItem['name']%>
16 <input type="hidden" name="<%=$this->ClientID%>" value="<%=isset($this->DataItem['name']) ? $this->DataItem['name'] : ''%>" />
19 <%=!($this->getPage()->JobRunWindow->oldDirector = $this->DataItem['director'])%>
21 </com:TActiveRepeater>
23 <com:TActivePanel ID="DataGridShow">
26 AutoGenerateColumns="false"
28 OnSortCommand="sortDataGrid"
30 CssClass="window-section-detail"
31 ItemStyle.CssClass="slide-window-element"
32 AlternatingItemStyle.CssClass="slide-window-element-alternating"
34 <com:TActiveTemplateColumn HeaderText="Job name" SortExpression="name">
36 <div><%=$this->getParent()->DataItem['name']%></div>
37 <input type="hidden" name="<%=$this->getParent()->ClientID%>" value="<%=$this->getParent()->DataItem['name']%>" />
39 </com:TActiveTemplateColumn>
40 <com:TActiveBoundColumn
41 SortExpression="director"
44 ItemStyle.HorizontalAlign="Center"
46 </com:TActiveDataGrid>
48 <com:TCallback ID="DataElementCall" OnCallback="Page.JobRunWindow.configure">
49 <prop:ClientSide OnComplete="jobRunConfigurationWindow.show();jobRunConfigurationWindow.progress(false);" />