1 <%@ MasterClass="Application.Portlets.SlideWindow" %>
2 <com:TContent ID="SlideWindowContent">
3 <com:TActivePanel ID="RepeaterShow">
4 <com:TActiveRepeater ID="Repeater">
6 <com:TPanel ID="StorageElement" CssClass="slide-window-element">
7 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/server-storage-icon.png" alt="" /><%=@$this->DataItem->name%>
8 <input type="hidden" name="<%=$this->ClientID%>" value="<%=isset($this->DataItem->storageid) ? $this->DataItem->storageid : ''%>" />
11 </com:TActiveRepeater>
13 <com:TActivePanel ID="DataGridShow">
16 AutoGenerateColumns="false"
18 OnSortCommand="sortDataGrid"
20 CssClass="window-section-detail-smallrow"
21 ItemStyle.CssClass="slide-window-element"
22 AlternatingItemStyle.CssClass="slide-window-element-alternating"
24 <com:TActiveTemplateColumn HeaderText="<%[ Storage name ]%>" SortExpression="name">
26 <div><%=$this->getParent()->Data['name']%></div>
27 <input type="hidden" name="<%=$this->getParent()->ClientID%>" value="<%=$this->getParent()->Data['storageid']%>" />
29 </com:TActiveTemplateColumn>
30 <com:TActiveTemplateColumn HeaderText="<%[ Autochanger ]%>" SortExpression="autochanger" ItemStyle.HorizontalAlign="Center">
32 <%=$this->getParent()->Data['autochanger'] == 1 ? Prado::localize('Yes') : Prado::localize('No')%>
34 </com:TActiveTemplateColumn>
35 </com:TActiveDataGrid>
37 <com:TCallback ID="DataElementCall" OnCallback="Page.StorageWindow.configure">
38 <prop:ClientSide.OnComplete>
39 ConfigurationWindow.getObj('StorageWindow').show();
40 ConfigurationWindow.getObj('StorageWindow').progress(false);
41 </prop:ClientSide.OnComplete>