var ConfigurationWindowClass = new Class.create({
initialize: function(id) {
this.window_id = id + 'configuration';
- this.progress_id = id + 'configuration-progress';
+ this.progress_id = 'configuration-progress';
this.lock = false;
},
is_progress: function() {
return $(this.progress_id).getStyle('display') == 'block';
}
-});
\ No newline at end of file
+});
elements : {
containerSuffix : '-slide-window-container',
configurationWindows : 'div.configuration',
+ configurationProgress: 'div.configuration-progress',
contentItems : 'slide-window-element',
contentAlternatingItems : 'slide-window-element-alternating',
toolsButtonSuffix : '-slide-window-tools',
isConfigurationOpen: function() {
var is_open = false;
- $$(this.elements.configurationWindows).each(function(el) {
+ $$(this.elements.configurationWindows, this.elements.configurationProgress).each(function(el) {
+ console.log(el);
if(el.getStyle('display') == 'block') {
is_open = true;
throw $break;
}.bind(el));
});
}
-});
\ No newline at end of file
+});
<com:Application.Portlets.JobList ID="JobWindow" ShowID="<%=$this->JobBtn->ClientID%>" WindowTitle="<%[ Jobs ]%>" />
<com:Application.Portlets.JobRunList ID="JobRunWindow" ShowID="<%=$this->JobRunBtn->ClientID%>" WindowTitle="<%[ Jobs for run ]%>" />
<div id="configuration">
+ <div id="configuration-box">
+ <div id="configuration-progress" class="configuration-progress"></div>
+ </div>
<com:Application.Portlets.VolumeConfiguration ID="VolumeConfiguration" />
<com:Application.Portlets.StorageConfiguration ID="StorageConfiguration" />
<com:Application.Portlets.ClientConfiguration ID="ClientConfiguration" />
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->ClientElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->ClientTableElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->ClientConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->ClientWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<div id="<%=$this->ClientID%>configuration" class="configuration">
- <div id="<%=$this->ClientID%>configuration-progress" class="configuration-progress"></div>
<div id="<%=$this->ClientID%>configuration-window-container" class="configuration-window-container">
<com:TActivePanel DefaultButton="ApplyChanges" CssClass="configuration-window-content">
<com:TImageButton ImageUrl="<%=$this->getPage()->getTheme()->getBaseUrl()%>/icon_close.png" ImageAlign="right" Attributes.onclick="ConfigurationWindow<%=$this->ClientID%>.hide(); return false;" ToolTip="<%[ Close]%>" />
</div>
<script type="text/javascript">
var ConfigurationWindow<%=$this->ClientID%> = new ConfigurationWindowClass('<%=$this->ClientID%>');
-</script>
\ No newline at end of file
+</script>
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->JobWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->JobWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->JobElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->JobWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->JobWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->JobWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->JobWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->JobTableElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->JobConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->JobWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->JobWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->JobElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->JobTableElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->JobRunConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->JobRunWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->PoolElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->PoolTableElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->PoolConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->PoolWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->StorageElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->StorageTableElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->StorageConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->StorageWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->VolumeElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
<prop:ClientSide.OnComplete>
ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.show();
ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.progress(false);
- if(<%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.isFullSize()) {
- <%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.resetSize();
- }
</prop:ClientSide.OnComplete>
</com:TCallback>
<script type="text/javascript">
var request = <%= $this->VolumeTableElementCall->ActiveControl->Javascript %>;
if(ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.is_progress() == false) {
ConfigurationWindow<%=$this->getPage()->VolumeConfiguration->getMaster()->ClientID%>.progress(true);
+ if(<%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.isFullSize()) {
+ <%=$this->getPage()->VolumeWindow->ShowID%>SlideWindow.resetSize();
+ }
request.dispatch();
}
});
margin: 12px 0;
z-index: 5;
position: relative;
- left: 447px;
- top: 0;
+ left: 446px;
+ top: 0px;
background-color: #898889;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
display: none;
}
+#configuration {
+ position: absolute;
+}
+
#configuration div.field select {
width: 178px;
}
height: 575px;
z-index: 10;
position: absolute;
- top: 0;
- left: 0;
+ top: 12px;
+ left: 446px;
display: none;
border-radius: 10px;
}
border-right: 1px solid black;
border-top: 1px solid black;
margin: 3px 0;
-}
\ No newline at end of file
+}