gridEl: null,
checked: [],
objects: {},
+ windowSize: null,
size: {
- widthNormal : '437px',
+ widthNormal : '53%',
heightNormal : '325px',
- widthHalf : '437px',
+ widthHalf : '53%',
heightHalf : '586px',
- widthFull : '899px',
- heightFull : '586px'
+ widthFull : '100%',
+ heightFull : '586px',
+ menuWidth: '75px'
},
elements : {
this.window = $(this.windowId + this.elements.containerSuffix);
this.tools = $(this.windowId + this.elements.toolsButtonSuffix);
this.options = $(this.windowId + this.elements.optionsButtonSuffix);
-
+
if(data.hasOwnProperty('showId')) {
this.showEl = $(data.showId);
} else {
},
isNormalSize: function() {
- return (this.window.getWidth() + 'px' == this.size.widthNormal && this.window.getHeight() + 'px' == this.size.heightNormal);
+ return (this.windowSize == this.size.widthNormal && this.window.getHeight() + 'px' == this.size.heightNormal);
},
isHalfSize: function() {
- return (this.window.getWidth() + 'px' == this.size.widthHalf && this.window.getHeight() + 'px' == this.size.heightHalf);
+ return (this.windowSize == this.size.widthHalf && this.window.getHeight() + 'px' == this.size.heightHalf);
},
isFullSize: function() {
- return (this.window.getWidth() + 'px' == this.size.widthFull && this.window.getHeight() + 'px' == this.size.heightFull);
+ return (this.windowSize == this.size.widthFull && this.window.getHeight() + 'px' == this.size.heightFull);
},
normalSizeWindow: function() {
new Effect.Morph(this.window, {style : 'width: ' + this.size.widthNormal + '; height: ' + this.size.heightNormal + ';', duration : 0.4});
+ this.windowSize = this.size.widthNormal;
},
halfSizeWindow: function() {
new Effect.Morph(this.window, {style : 'width: ' + this.size.widthHalf + '; height: ' + this.size.heightHalf + ';', duration : 0.4});
+ this.windowSize = this.size.widthHalf;
},
fullSizeWindow: function() {
new Effect.Morph(this.window, {style : 'width: ' + this.size.widthFull + '; height: ' + this.size.heightFull + ';', duration : 0.4});
+ this.windowSize = this.size.widthFull;
},
hideOtherWindows: function() {
});
}
});
+
+function setContentWidth() {
+ var content_width = $('container').getWidth() - $('menu-left').getWidth() - 1;
+ $('content').setStyle({'width': content_width + 'px'});
+}
+
+
+Event.observe(window, 'resize', function() {
+ setContentWidth();
+});
+
+document.observe("dom:loaded", function() {
+ setContentWidth();
+});
<%[ Date To: ]%> <com:TDatePicker ID="DateTo" DateFormat="yyyy-MM-dd" Width="80px" />
</span>
<span><%[ Client: ]%></span>
- <com:TActiveDropDownList ID="Clients" CssClass="textbox" AutoPostBack="false" Width="160px" />
+ <com:TActiveDropDownList ID="Clients" CssClass="textbox" AutoPostBack="false" Width="160px" Style="display: inline" />
<span><%[ Job name: ]%></span>
- <com:TActiveDropDownList ID="Jobs" CssClass="textbox" AutoPostBack="false" Width="160px" />
+ <com:TActiveDropDownList ID="Jobs" CssClass="textbox" AutoPostBack="false" Width="160px" Style="display: inline" />
<p><%[ Legend: ]%></p>
<div id="legend"></div>
<div id="graphs_content">
</script>
<com:TActivePanel ID="ConsoleContainer" DefaultButton="Enter" Style="text-align: left; display: none;">
<com:TActiveTextBox ID="OutputListing" TextMode="MultiLine" CssClass="console" ReadOnly="true" />
- <com:TActiveTextBox ID="CommandLine" TextMode="SingleLine" CssClass="textbox" Width="760px" Style="margin: 3px 5px; float: left" />
+ <com:TActiveTextBox ID="CommandLine" TextMode="SingleLine" CssClass="textbox" Width="760px" Style="margin: 3px 7px; float: left" />
<com:TActiveButton ID="Enter" Text="<%[ Enter ]%>" OnCallback="sendCommand">
<prop:ClientSide.OnLoading>
$('<%=$this->CommandLine->ClientID%>').disabled = true;
}
input.textbox-auto, select.textbox-auto, textarea.textbox-auto {
- width: 100%;
border: 1px solid black;
font-size: 14px;
display: table-cell;
textarea.textbox-auto {
resize: vertical;
- width: 406px;
+ width: 100%;
font-size: 11px;
}
}
#container {
margin: 0 auto;
- width: 975px;
+ min-width: 975px;
+ max-width: 100%;
+ border-right: 1px solid black;
+ background-color: #585758;
}
#top {
margin: 0 auto;
- width: 975px;
+ min-width: 975px;
+ max-width: 100%;
height: 51px;
background-image: url('bls_top.png');
- background-repeat: no-repeat;
+ background-repeat: repeat-x;
+ border-left: 1px solid black;
+ border-right: 1px solid black;
+ border-top-left-radius: 7px;
+ border-top-right-radius: 7px;
clear: both;
}
}
#menu-left {
- float: left;
+ position: absolute;
width: 74px;
- /*height: 498px;*/
height: 600px;
background-color: #546e83;
border-left: 1px solid black;
+ z-index: 200;
+ /* Workaround for FF and switch Graphs and Workspace areas */
+ bottom: auto !important;
}
#content {
- float: left;
- width: 899px;
- /*height: 498px;*/
+ position: relative;
+ top: 0;
+ left: 75px;
+ width: 100%;
height: 600px;
- background-color: #585758;
- border-right: 1px solid black;
+ z-index: 100;
}
#directors, #panel_switcher {
}
div.configuration {
- width: 443px;
- /*height: 473px;*/
+ width: 45%;
height: 575px;
- margin: 12px 0;
- z-index: 5;
- position: relative;
- left: 446px;
- top: 0px;
+ margin: 12px;
+ float: right;
background-color: #898889;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
#configuration {
position: absolute;
+ width: 100%;
}
#configuration div.field select {
div.configuration-progress {
background: rgba(182,182,182,0.7) url('progress.gif') no-repeat center center;
- width: 443px;
+ width: 45%;
height: 575px;
z-index: 10;
position: absolute;
top: 12px;
- left: 446px;
+ right: 12px;
display: none;
border-radius: 10px;
}
#console {
clear: left;
- width: 973px;
+ min-width: 973px;
+ max-width: 100%;
min-height: 20px;
margin: 0 auto;
padding: 5px 0;
}
#bottom {
- width: 975px;
+ max-width: 100%;
+ min-width: 975px;
height: 11px;
margin: 0 auto;
- background: transparent url('bls_bottom.png') no-repeat top left;
+ background: transparent url('bls_bottom.png') repeat-x top left;
+ border-left: 1px solid black;
+ border-right: 1px solid black;
+ border-bottom-left-radius: 7px;
+ border-bottom-right-radius: 7px;
}
#message-box {
.field-full {
display: block;
min-height: 200px;
+ width: 98%;
}
.validator, .validate {
div.slide-window-element, div.slide-window-element:hover {
float: left;
- width: 210px;
+ width: 224px;
color: white;
}
div.slide-window-element:hover, div.slide-window-element-detail:hover {
float: left;
- width: 210px;
+ width: 224px;
background-color: #686A6C;
cursor: pointer;
}
}
div.configuration-window-content {
- padding: 10px 12px;;
+ padding: 10px 12px;
+ width: 96%;
}
div.slide-window-options {
}
textarea.console {
- width: 952px;
+ width: 98%;
height: 200px;
display: block;
margin: 5px auto;
#graphs {
height: 600px;
- width: 954px;
+ min-width: 954px;
+ max-width: 100%;
padding: 10px;
margin: 0 auto;
font-size: 11px;
#graphs_content {
margin: 0 auto;
- width: 906px;
+ width: 98%;
height: 425px;
}