1 <%@ MasterClass="Application.Portlets.ConfigurationPanel"%>
2 <com:TContent ID="ConfigurationWindowContent">
3 <h4><%[ Storage name: ]%> <com:TActiveLabel ID="StorageName" /><com:TActiveLabel ID="StorageID" Visible="false" /></h4>
4 <span class="text tab tab_active" rel="storage_actions_tab"><%[ Actions ]%></span>
5 <span class="text tab" rel="storage_console_tab"><%[ Console status ]%></span>
7 <div id="storage_actions_tab">
8 <com:TValidationSummary
10 CssClass="validation-error-summary"
11 ValidationGroup="AutoChangerGroup"
14 HeaderText="<%[ There is not possible to run selected action because: ]%>" />
15 <com:TActivePanel ID="AutoChanger" Visible="false" Style="margin-bottom: 10px">
17 <div class="text"><com:TLabel ForControl="Drive" Text="<%[ Drive number: ]%>" /></div>
19 <com:TActiveTextBox ID="Drive" AutoPostBack="false" Text="0" MaxLength="3" CssClass="textbox-short" />
20 <com:TActiveCustomValidator ID="DriveValidator" ValidationGroup="AutoChangerGroup" ControlToValidate="Drive" ErrorMessage="<%[ Drive number must be integer. ]%>" ControlCssClass="validation-error" Display="None" OnServerValidate="driveValidator" />
24 <div class="text"><com:TLabel ForControl="Slot" Text="<%[ Slot number: ]%>" /></div>
26 <com:TActiveTextBox ID="Slot" AutoPostBack="false" Text="0" MaxLength="3" CssClass="textbox-short" />
27 <com:TActiveCustomValidator ID="SlotValidator" ValidationGroup="AutoChangerGroup" ControlToValidate="Slot" ErrorMessage="<%[ Slot number must be integer. ]%>" ControlCssClass="validation-error" Display="None" OnServerValidate="slotValidator" />
31 <div class="button-center">
32 <com:BActiveButton ID="Mount" OnClick="mount" ValidationGroup="AutoChangerGroup" CausesValidation="true" Text="<%[ Mount ]%>">
33 <prop:ClientSide.OnSuccess>
34 ConfigurationWindow.getObj('StorageWindow').progress(false);
35 if (Prado.Validation.isValid(Prado.Validation.getForm(), 'AutoChangerGroup') === true) {
36 ConfigurationWindow.getObj('StorageWindow').switchTab('storage_console_tab');
38 </prop:ClientSide.OnSuccess>
40 <com:BActiveButton ID="Release" OnClick="release" Text="<%[ Release ]%>" ValidationGroup="AutoChangerGroup" CausesValidation="true">
41 <prop:ClientSide.OnSuccess>
42 ConfigurationWindow.getObj('StorageWindow').progress(false);
43 if (Prado.Validation.isValid(Prado.Validation.getForm(), 'AutoChangerGroup') === true) {
44 ConfigurationWindow.getObj('StorageWindow').switchTab('storage_console_tab');
46 </prop:ClientSide.OnSuccess>
48 <com:BActiveButton ID="Umount" OnClick="umount" ValidationGroup="AutoChangerGroup" CausesValidation="true" Text="<%[ Umount ]%>">
49 <prop:ClientSide.OnSuccess>
50 ConfigurationWindow.getObj('StorageWindow').progress(false);
51 if (Prado.Validation.isValid(Prado.Validation.getForm(), 'AutoChangerGroup') === true) {
52 ConfigurationWindow.getObj('StorageWindow').switchTab('storage_console_tab');
54 </prop:ClientSide.OnSuccess>
56 <com:BActiveButton ID="Status" OnClick="status" Text="<%[ Status ]%>">
57 <prop:ClientSide.OnSuccess>
58 ConfigurationWindow.getObj('StorageWindow').progress(false);
59 ConfigurationWindow.getObj('StorageWindow').switchTab('storage_console_tab');
60 </prop:ClientSide.OnSuccess>
64 <div id="storage_console_tab" style="display: none">
65 <div class="field-full">
66 <com:TActiveTextBox ID="ShowStorage" TextMode="MultiLine" CssClass="textbox-auto" Style="height: 475px" ReadOnly="true" />