88 lines
4.0 KiB
Plaintext
88 lines
4.0 KiB
Plaintext
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SystemJiaoSeAdd.aspx.cs" Inherits="SystemManage_SystemJiaoSeAdd" %>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
|
||
|
|
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
|
||
|
|
<script language="javascript">
|
||
|
|
var a;
|
||
|
|
function PrintTable()
|
||
|
|
{
|
||
|
|
document.getElementById("PrintHide") .style.visibility="hidden"
|
||
|
|
print();
|
||
|
|
document.getElementById("PrintHide") .style.visibility="visible"
|
||
|
|
}
|
||
|
|
|
||
|
|
function CheckAll(){
|
||
|
|
if(a==1)
|
||
|
|
{
|
||
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
||
|
|
{
|
||
|
|
var e = form1.elements[i];
|
||
|
|
e.checked =false;
|
||
|
|
}
|
||
|
|
a=0;
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
||
|
|
{
|
||
|
|
var e = form1.elements[i];
|
||
|
|
e.checked =true;
|
||
|
|
}
|
||
|
|
a=1;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<form id="form1" runat="server">
|
||
|
|
<div>
|
||
|
|
<table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
|
||
|
|
<tr>
|
||
|
|
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;"> <img src="../images/BanKuaiJianTou.gif" />
|
||
|
|
<a class="hei" href="../Main/MyDesk.aspx">桌面</a> >> 系统管理 >> 添加角色
|
||
|
|
</td>
|
||
|
|
<td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
|
||
|
|
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/Submit.jpg"
|
||
|
|
OnClick="ImageButton1_Click" />
|
||
|
|
<img src="../images/Button/JianGe.jpg" />
|
||
|
|
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" /> </td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td height="3px" colspan="2" style="background-color: #ffffff"></td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
<table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
|
||
|
|
|
||
|
|
<tr>
|
||
|
|
<td align="right" style="width: 170px; background-color: #D6E2F3; height: 25px;" >
|
||
|
|
角色名称:</td>
|
||
|
|
<td style="background-color: #ffffff; height: 25px; padding-left:5px;" >
|
||
|
|
<asp:TextBox ID="TextBox1" runat="server" Width="350px"></asp:TextBox>
|
||
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
|
||
|
|
ErrorMessage="*该项不可以为空"></asp:RequiredFieldValidator></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
||
|
|
备注信息:</td>
|
||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
||
|
|
<asp:TextBox ID="TextBox2" runat="server" Width="350px"></asp:TextBox></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
||
|
|
权限配置:</td>
|
||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
||
|
|
<input id="CheckBoxAll" onclick="CheckAll()" type="checkbox" />全选</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td colspan="2" style="padding-left: 5px; height: 25px; background-color: #ffffff;
|
||
|
|
text-align: center" background="../images/BGLine.png">
|
||
|
|
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="8" RepeatDirection="Horizontal" Width="100%">
|
||
|
|
|
||
|
|
|
||
|
|
</asp:CheckBoxList></td>
|
||
|
|
</tr>
|
||
|
|
</table></div>
|
||
|
|
</form>
|
||
|
|
</body>
|
||
|
|
</html>
|