<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowMsg4Device.aspx.cs" Inherits="GigaTech.CMS.Web.Common.DMZ.Device.ShowMsg4Device" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
        <script src="/Scripts/jquery-1.6.4.min.js"></script>
</head>
             <script language="javascript">
                 Ext.onReady(function () {
                     Ext.QuickTips.init();

                     var oneTbar = new Ext.Toolbar({
                         border: false,
                         style: {
                             background: '#FFFFCC'
                         },
                         items: [{
                             xtype: 'tbtext',
                             text: '<font size=3><%=GetGlobalResourceObject("CMSResource", "Subject")%>：<%=subject%></font>'
                     }]
                 });

                 var twoTbar = new Ext.Toolbar({
                     border: false,
                     style: {
                         background: '#FFFFCC'
                     },
                     items: [{
                         xtype: 'tbtext',
                         text: '<font size=3><%=GetGlobalResourceObject("CMSResource", "Date")%>：<%=dt%></font>'
                 }]
             });


                 Ext.create('Ext.container.Viewport', {
                     layout: {
                         type: 'fit'
                     },
                     items: [{
                         xtype: 'panel',
                         tbar: {
                             xtype: 'container',
                             items: [oneTbar, twoTbar]
                         },
                         items: [
                             {
                                 xtype: "panel",
                                 html:'<%=content%>'
                             }
                         ]
                 }
                 ]
             });
             });
     </script>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>
