DS7/DSWeb/Authority/UserAuthority.aspx

160 lines
5.9 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAuthority.aspx.cs" Inherits="DSWeb.Authority.UserAuthority" %>
<!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 id="Head1" runat="server">
<title>用户权限设置</title>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<link href="../theme/page.css" type="text/css" rel="stylesheet" />
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
<!--按钮条-->
<style type="text/css">
.btn-content0
{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
.btncss
{
width:65px;
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;
}
</style>
<script type="text/javascript" language="JavaScript">
function $(id)
{
return document.getElementById(id);
}
function moveOptionAll(e1, e2)
{
try
{
for(var i=0;i<e1.options.length;i++)
{
var e = e1.options[i];
e2.options.add(new Option(e.text, e.value));
e1.remove(i);
i=i-1
}
}
catch(e){}
}
function moveOption(e1, e2)
{
try
{
for(var i=0;i<e1.options.length;i++)
{
if(e1.options[i].selected)
{
var e = e1.options[i];
e2.options.add(new Option(e.text, e.value));
e1.remove(i);
i=i-1
}
}
}
catch(e){}
}
function getvalue(geto)
{
var allvalue = "";
for(var i=0;i<geto.options.length;i++)
{
allvalue +=geto.options[i].value + ",";
}
return allvalue;
}
function changepos(obj,index)
{
if(index==-1)
{
if (obj.selectedIndex>0)
{
obj.options(obj.selectedIndex).swapNode(obj.options(obj.selectedIndex-1))
}
}
else if(index==1)
{
if (obj.selectedIndex<obj.options.length-1)
{
obj.options(obj.selectedIndex).swapNode(obj.options(obj.selectedIndex+1))
}
}
}
</script>
</head>
<body style="background-color: #ECF2FF">
<form id="formTSysTemplateSet" runat="server" style="background-color: #ECF2FF">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img">
<asp:ImageButton ID="ibEnter" runat="server" OnClick="btnEnter_Click" ToolTip="保存" ImageUrl="~/images/icons/save.gif" CssClass="btnimg"/>
</div>
</div>
<div>
<table>
<tr>
<td></td>
</tr>
<tr>
<td width=250px style="font-weight: bold; font-size: 14px;" class="cssfont">用户代码+姓名</td>
<td width=200px style="font-weight: bold; font-size: 14px;" class="cssfont">权限模块</td>
<td width=65px></td>
<td width=200px style="font-weight: bold; font-size: 14px;" class="cssfont">设置权限</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td valign=top>
<asp:ListBox ID="ListBox1" runat="server" Width=100% Height=400px AutoPostBack="True" onselectedindexchanged="ListBox1_SelectedIndexChanged" CssClass="cssfont"></asp:ListBox>
</td>
<td valign=top>
<asp:ListBox ID="ListBox2" runat="server" Width=100% Height=400px SelectionMode="Multiple" CssClass="cssfont"></asp:ListBox>
</td>
<td align=center>
<TABLE height=300px>
<TR>
<TD>
<asp:Button ID="Button1" runat="server" Text="全选" Width=65px onclick="Button1_Click" CssClass="btncss"/>
</TD>
</TR>
<TR>
<TD>
<asp:Button ID="Button2" runat="server" Text="" Width=65px onclick="Button2_Click" CssClass="btncss"/>
</TD>
</TR>
<TR>
<TD>
<asp:Button ID="Button4" runat="server" Text="" Width=65px onclick="Button4_Click" CssClass="btncss"/>
</TD>
</TR>
<TR>
<TD>
<asp:Button ID="Button3" runat="server" Text="重置" Width=65px onclick="Button3_Click" CssClass="btncss"/>
</TD>
</TR>
</TABLE>
</td>
<td valign=top>
<asp:ListBox ID="ListBox3" runat="server" Width=100% Height=400px SelectionMode="Multiple" CssClass="cssfont"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="4" align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>