forked from siteserver/SS.Form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodalFormAdd.aspx
57 lines (48 loc) · 2.42 KB
/
modalFormAdd.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<%@ Page Language="C#" Inherits="SS.Form.Pages.ModalFormAdd" %>
<!DOCTYPE html>
<html style="background:#fff">
<head>
<meta charset="utf-8">
<link href="assets/plugin-utils/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/plugin-utils/css/plugin-utils.css" rel="stylesheet" type="text/css" />
<link href="assets/plugin-utils/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="assets/plugin-utils/css/ionicons.min.css" rel="stylesheet" type="text/css" />
</head>
<body style="padding: 0;background:#fff">
<div style="padding: 20px 0;">
<div class="container">
<form id="form" runat="server" class="form-horizontal">
<asp:Literal id="LtlMessage" runat="server"></asp:Literal>
<div class="form-group">
<label class="col-md-3 control-label">名称</label>
<div class="col-md-6">
<asp:TextBox class="form-control" Columns="25" MaxLength="50" id="TbTitle" runat="server" />
</div>
<div class="col-md-3">
<asp:RequiredFieldValidator ControlToValidate="TbTitle" errorMessage=" *" foreColor="red" display="Dynamic" runat="server"
/>
<asp:RegularExpressionValidator runat="server" ControlToValidate="TbTitle" ValidationExpression="[^',]+" errorMessage=" *"
foreColor="red" display="Dynamic" />
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">说明</label>
<div class="col-md-6">
<asp:TextBox class="form-control" TextMode="Multiline" Columns="25" MaxLength="50" id="TbDescription" runat="server" />
</div>
<div class="col-md-3">
</div>
</div>
<div class="modal-footer">
<asp:Button class="btn btn-primary" onclick="Submit_OnClick" runat="server" Text="保 存"></asp:Button>
<button type="button" class="btn btn-default m-l-10" onclick="window.parent.layer.closeAll()">取 消</button>
</div>
</form>
</div>
</div>
</body>
</html>
<script src="assets/plugin-utils/js/jquery.min.js"></script>
<script src="assets/plugin-utils/js/bootstrap.min.js"></script>
<script src="assets/layer/layer.min.js" type="text/javascript"></script>
<script src="assets/sweetalert/sweetalert.min.js" type="text/javascript"></script>