<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkView.aspx.cs" MasterPageFile="~/Admin/MasterPage.master"
    Inherits="PowerEasy.Module.General.WebSite.Admin.Work.WorkView" Title="表单数据" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" CurrentNode="查看表单数据"
        runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
    <style type="text/css">
    /*表单填写*/
.form_center dl dt div.formfill{
	float:right;
	background:url(Images/icon_man.gif) left center no-repeat;
	display:inline-block;
	padding-left:20px;
	font:bold 12px/32px "宋体";
	color:#690;
}
.border1,.border2,.border3,.border4/*外框*/{
	border:none;
	background:#FFF;
}
.border1 td input.inputtext{
	width:160px;
}
.border1 tr.tdbg2 td input.inputtext{
	width:80px;
}
.border2 td input.inputtext{
	width:80%;
}
.border2 td.tdpic input.inputtext{
	width:100px;
}
.border2 td.tdpic table tr.tdbg td{
	width:100px;
}
.border3 td input.inputtext{
	width:98%
}
.border4 td input.inputtext{
	width:100px
}
.border4 tr.tdbg2 td input.inputtext{
	width:100%
}
.border4 td.td3 input.inputtext{
	width:200px
}
.border1 tr.tdbg2 td.td4 input.inputtext,.border4 td.td4 input.inputtext{
	width:100%
}
.tdbg td,.tdbg2 td/*行*/{
	background:#dff0fb;
}

.tdbgleft/*列*/{
	text-align:right;
	color:#006699;
	background:none;
}
.tdbgcenter/*列*/{
	color:#006699;
	text-align:center;
}
.tdbgbottom/*底行*/{
	background:none;
}
    </style>
        <pe:ExtendedAdminRepeater ID="RepModel" runat="server" TemplateControlPath="~/Admin/Controls/FieldControl/WorkViewTemplateControl.ascx" OnItemDataBound="RepModel_OnItemDataBound">
            <ItemTemplate>
                <tr id='Tab' runat="server" class='tdbg'>
                    <td class='tdbgleft' align='right' style="width: 20%;">
                        <div class="DivWordBreak">
                            <strong>
                                <%# Eval("FieldAlias")%>
                                ：&nbsp;</strong><br />
                            <%# Eval("Tips") %>
                        </div>
                    </td>
                    <td class='tdbg' align='left'>
                        <pe:AdminFieldControl ID="Field" runat="server" LoadControlId="FieldView" EnableNull='<%# (bool)Eval("EnableNull") %>'
                            FieldAlias='<%# Eval("FieldAlias")%>' Tips='<%# Eval("Tips") %>' FieldName='<%#Eval("FieldName")%>'
                            ControlType='<%# Eval("FieldType") %>' FieldLevel='<%# Eval("FieldLevel") %>'
                            Description='<%# Eval("Description")%>' Settings='<%# ((PowerEasy.Module.General.Model.CommonModel.FieldInfo)Container.DataItem).Settings %>'
                            Value='<%# Eval("DefaultValue")%>'>
                        </pe:AdminFieldControl>
                    </td>
                </tr>
            </ItemTemplate>
        </pe:ExtendedAdminRepeater>
          <p style="text-align: center">
        <input type="button" class="inputbutton" value="返回" onclick="window.history.go(-1)" />
    </p>
</asp:Content>
