<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%: Html.Language("AirConditioningControl")%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div title='<%: Html.Language("AirConditioningControl")%>' class="easyui-panel" data-options="fit:true,border:false">
		<div class="easyui-layout" data-options="fit:true">
			<div data-options="region:'north',border:false">
				<div class="datagrid-toolbar" style="padding:5px 0px 5px 10px;">
					<label><%: Html.Language("AccordingToRoomNumber")%></label>
					<input id="cbxRoomNumber" class="easyui-combobox" style="width:80px;" 
						data-options="
							url: '/Host/LoadDataForRoomNumberCombobox/',
							editable: false,
							valueField: 'ID',
							textField: 'RoomNumber',
							onSelect: cbxRoomNumberOnSelect
							" />

					<label><%: Html.Language("AccordingToPressFloor")%></label>
					<input id="cbtGroup" class="easyui-combotree" style="width:110px;" 
						data-options="
							url:'/Group/LoadDataForGroupComboTree/',
							editable:false,
							lines:true
							" />

					<label><%: Html.Language("AccordingToRoomStatus")%></label>
					<input id="cbxRoomStatus" class="easyui-combobox" style="width:80px;" 
						data-options="
							url:'/RoomStatus/LoadDataForRoomStatusCombobox/',
							editable:false,
							panelHeight:'auto',
							valueField:'ID',
							textField:'Name'
							" />
					
					<label><%: Html.Language("AccordingToRoomType")%></label>
					<input id="cbxRoomType" class="easyui-combobox" style="width:80px;" 
						data-options="
							url:'/RoomType/LoadDataForRoomTypeCombobox/',
							editable:false,
							panelHeight:'auto',
							valueField:'ID',
							textField:'Name',
							onSelect: cbxRoomTypeOnSelect
							" />
				</div>
			</div>

			<div region="center" border="false">
				<% Html.RenderPartial("AirConditionControl"); %>
			</div>
		</div>
	</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
