74 lines
3.5 KiB
Plaintext
74 lines
3.5 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProjectPictureEdit.aspx.cs"
|
|
Inherits="FineUIPro.Web.common.ProjectSet.ProjectPictureEdit" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head runat="server">
|
|
<title>编辑项目图片</title>
|
|
<base target="_self" />
|
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
<Rows>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:TextBox ID="txtProjectPictureCode" runat="server" Label="<%$ Resources:Lan,ProjectPictureCode %>"
|
|
MaxLength="50" LabelWidth="150px" Required="true" ShowRedStar="true" FocusOnPageLoad="true">
|
|
</f:TextBox>
|
|
<f:TextBox ID="txtProjectPictureName" runat="server" Label="<%$ Resources:Lan,ProjectPictureName %>"
|
|
MaxLength="100" LabelWidth="180px" Required="true" ShowRedStar="true" FocusOnPageLoad="true">
|
|
</f:TextBox>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:DatePicker ID="txtCreateDate" runat="server" Label="<%$ Resources:Lan,CreateDate %>" LabelAlign="Right" LabelWidth="150px">
|
|
</f:DatePicker>
|
|
<f:CheckBox ID="cbIsShow" runat="server" Label="<%$ Resources:Lan,IsShow %>" LabelAlign="Right" LabelWidth="180px">
|
|
</f:CheckBox>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:TextArea ID="txtRemark" runat="server" Label="<%$ Resources:Lan,Remark %>" LabelWidth="150px"
|
|
MaxLength="500">
|
|
</f:TextArea>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:FileUpload ID="filePhoto" runat="server" ButtonText="<%$ Resources:Lan,ProjectPicture %>"
|
|
ButtonOnly="true" AutoPostBack="true" OnFileSelected="filePhoto_FileSelected" >
|
|
</f:FileUpload>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:Image ID="imgPhoto" CssClass="userphoto" runat="server" BoxFlex="1" MarginLeft="10px">
|
|
</f:Image>
|
|
</Items>
|
|
</f:FormRow>
|
|
</Rows>
|
|
<Toolbars>
|
|
<f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Center" runat="server">
|
|
<Items>
|
|
<f:Label runat="server" Text="说明:只有.jpg格式的图片才能在首页显示"></f:Label>
|
|
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
|
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="<%$ Resources:Lan,Save %>"
|
|
ValidateForms="SimpleForm1" OnClick="btnSave_Click">
|
|
</f:Button>
|
|
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="<%$ Resources:Lan,Close %>"
|
|
runat="server" Icon="SystemClose">
|
|
</f:Button>
|
|
</Items>
|
|
</f:Toolbar>
|
|
</Toolbars>
|
|
</f:Form>
|
|
</form>
|
|
</body>
|
|
</html>
|