You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
5.4 KiB
Plaintext
115 lines
5.4 KiB
Plaintext
3 years ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserGridEdit.aspx.cs" Inherits="DSWeb.UserSettings.UserGridEdit" %>
|
||
|
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||
|
<head runat="server">
|
||
|
<title>用户Grid编辑</title>
|
||
|
<style type="text/css">
|
||
|
html,body{font-size:12px;margin:0px;height:100%;}
|
||
|
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
|
||
|
.btn
|
||
|
{
|
||
|
width:100px;
|
||
|
BORDER-RIGHT: #2C59AA 1px solid;
|
||
|
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
|
||
|
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
|
||
|
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
|
||
|
BORDER-BOTTOM: #2C59AA 1px solid
|
||
|
}
|
||
|
#itemcontainer{
|
||
|
margin:0px 8px 0px 8px;
|
||
|
padding:4px 0px 0px 0px;
|
||
|
height:100%;
|
||
|
width:100%;
|
||
|
}
|
||
|
|
||
|
#itemcontainer ul{
|
||
|
clear:left;
|
||
|
margin:0px;
|
||
|
padding:0px;
|
||
|
border:0px;
|
||
|
list-style-type:none;
|
||
|
text-align:center;
|
||
|
display:inline;
|
||
|
width:100%;
|
||
|
float:left;
|
||
|
padding-left:10px;
|
||
|
}
|
||
|
|
||
|
#itemcontainer li {
|
||
|
float:left;
|
||
|
display:block;
|
||
|
margin:0px;
|
||
|
padding:0px;
|
||
|
text-align:left;
|
||
|
padding-top:5px;
|
||
|
}
|
||
|
|
||
|
|
||
|
</style>
|
||
|
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
|
||
|
<script src="../js/json2.js" type="text/javascript"></script>
|
||
|
<script src="../js/UserGridEdit.js" type="text/javascript"></script>
|
||
|
</head>
|
||
|
<body onload="initJsSource();">
|
||
|
<form id="form1" runat="server">
|
||
|
<div style="width:100%;height:400px;float:left; margin-top:10px;padding-left:10px;">
|
||
|
<div style="width:30%;float:left;">
|
||
|
<div id="dvAddedTitle" style="width:100%;">列表字段</div>
|
||
|
<div id="dvAdded" style="width:100%;height:400px;">
|
||
|
<select id="sel_added" style="width:100%;height:100%;" multiple="multiple" class="txtTab" onchange="checkItem(this.options[this.options.selectedIndex].value)">
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style="width:30px;float:left; text-align:center;">
|
||
|
<div style="padding-top:50px;" onclick="itemUp();"><a href="javascript:void(0)" style="list-style-type:none;"><img src="../images/btn_off_up.gif" width="16px" title="顺序向前" style="border:0px;"/></a></div>
|
||
|
<div style="padding-top:10px;" onclick="itemDown();"><a href="javascript:void(0)" style="list-style-type:none;"><img src="../images/btn_off_down.gif" width="16px" title="顺序向后" style="border:0px;"/></a></div>
|
||
|
</div>
|
||
|
<div style="width:50%;float:left;">
|
||
|
<div id="Div1" style="width:100%;">显示字段</div>
|
||
|
<div id="itemcontainer">
|
||
|
<ul>
|
||
|
<li style="width:15%; text-align:right;">字段标题:</li>
|
||
|
<li style="width:40%"><input type="text" id="txt_title" runat="server" style="width:100%" class="txtTab" disabled=1/></li>
|
||
|
<li style="width:45%"><div id="dvTitleError" style="padding-left:10px;padding-top:3px;text-align:left;"></div></li>
|
||
|
</ul>
|
||
|
<ul>
|
||
|
<li style="width:15%;text-align:right;">对齐方式:</li>
|
||
|
<li style="width:40%"><select id="sel_align" style="width:100%" class="txtTab" onchange="saveState(this.options[this.options.selectedIndex].value,'align')">
|
||
|
<option value="center">居中</option>
|
||
|
<option value="left">向左对齐</option>
|
||
|
<option value="right">向右对齐</option>
|
||
|
</select></li>
|
||
|
<li style="width:45%;"><div id="dvAlignError" style="padding-left:10px;padding-top:3px;text-align:left;"></div></li>
|
||
|
|
||
|
</ul>
|
||
|
<ul>
|
||
|
<li style="width:15%;text-align:right;">显示宽度:</li>
|
||
|
<li style="width:40%"><input type="text" id="txt_width" style="width:100%" class="txtTab" maxlength="4" onblur="saveState(this.value,'width')"/></li>
|
||
|
<li style="width:45%;"><div id="dvWidthError" style="padding-left:10px;padding-top:3px;text-align:left;"></div></li>
|
||
|
</ul>
|
||
|
<ul>
|
||
|
<li style="width:15%;text-align:right;">是否隐藏:</li>
|
||
|
<li style="width:40%"><input type="checkbox" id="ck_hidden" onclick="checkVisible(this);"/></li>
|
||
|
<li style="width:45%;"><div id="dvVisibleError" style="padding-left:10px;padding-top:3px;text-align:left;"></div></li>
|
||
|
</ul>
|
||
|
<ul>
|
||
|
<li style="width:15%;text-align:right;">顺序编号:</li>
|
||
|
<li style="width:40%"><div id="dvNo" style="width:100%;"></div></li>
|
||
|
<li style="width:45%;"><div id="dvNoError" style="padding-left:10px;padding-top:3px;text-align:left;"></div></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style="width:100%;float:left; padding-top:30px; padding-left:10px;">
|
||
|
<asp:Button ID="btn_save" runat="server" onclick="btn_save_Click" Text="保存" CssClass="btn"/>
|
||
|
</div>
|
||
|
<input type="hidden" id="h_origcache" runat="server" />
|
||
|
<input type="hidden" id="h_gridcache" runat="server" />
|
||
|
<input type="hidden" id="h_cachegrid" runat="server" />
|
||
|
<input type="hidden" id="h_scirptsource" runat="server" />
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|