AddAdmin.aspx 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddAdmin.aspx.cs" Inherits="Admin_AddAdmin" %>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head id="Head1" runat="server">
  4. <title>刘友生应用程序集之考试系统</title>
  5. <style>
  6. #main{
  7. width:420px;
  8. height:320px;
  9. border:#06F 1px groove;
  10. margin:0 auto;
  11. margin-top:100px;
  12. border-radius:15px;
  13. box-shadow:#003 6px 6px;
  14. padding:10px;
  15. font-size:12px;
  16. background-color:#C9E2F1;
  17. }
  18. #title{
  19. background-image: url(images/touming.gif) ;
  20. background-color: #2864F0;
  21. border: #03C 1px dotted;
  22. border-radius: 8px;
  23. height: 80px;
  24. color: #FFF;
  25. padding: 3px;
  26. box-shadow: #859CAD 4px 4px;
  27. text-align: center;
  28. background-repeat: no-repeat;
  29. background-position: left;
  30. }
  31. h1{
  32. font-size:30px;
  33. font-family:"黑体";
  34. text-align:center;
  35. color:#FFF;
  36. text-shadow:#000 2px 2px 5px, #FFFFFF -1px -1px 8px,2px 2px 6px #000000;
  37. }
  38. #selectData
  39. {
  40. margin:0 auto;
  41. padding:5px;
  42. margin-top:8px;
  43. background-color:#72ACE7;
  44. height:210px;
  45. text-align:center;
  46. border:#FFF 1px dashed;
  47. box-shadow:#036 5px 5px;
  48. border-radius:10px;
  49. color:#FFF;
  50. }
  51. #info{
  52. padding:5px;
  53. margin-top:6px;
  54. border:#03C 1px dotted;
  55. border-radius:8px;
  56. text-align:center;
  57. color:#FFF;
  58. height:60px;
  59. background-color:#1443AF;
  60. border:#F00 1px thick;
  61. box-shadow:#859CAD 5px 5px;
  62. border-radius:10px;
  63. }
  64. table{
  65. margin:0 auto;
  66. }
  67. tr{
  68. font-size:14px;
  69. color:#FFF;
  70. text-align:center;
  71. font-family:"黑体";
  72. }
  73. td{
  74. margin:3px;
  75. border-bottom:#FC6 1px dotted;
  76. }
  77. .listmenu
  78. {
  79. width:260px;
  80. height:32px;
  81. font-size:14px;
  82. background-color:#72ACE7;
  83. color:#FFF;
  84. }
  85. .input{
  86. width:120px;
  87. height:32px;
  88. margin:0px 10px 0px 10px;
  89. color:#009;
  90. background-color:#86D0F9;
  91. border:#03F 1px dotted;
  92. border-radius:5px;
  93. box-shadow:3px 3px #999999;
  94. display:- webdit-box;
  95. }
  96. input:hover{
  97. font-size:14px;
  98. color:#FFF;
  99. font-family:"黑体";
  100. background-color:#4D9BE1;
  101. }
  102. #footer{
  103. width:420px;
  104. height:60px;
  105. border:#06F 1px groove;
  106. margin:0 auto;
  107. padding-top:15px;
  108. margin-top:30px;
  109. color:#CCC;
  110. text-align:center;
  111. border-radius:15px;
  112. }
  113. a{
  114. color:#CCC;
  115. }
  116. </style>
  117. <script language="javascript" type="text/javascript">
  118. // <![CDATA[
  119. function button2_onclick() {
  120. }
  121. // ]]>
  122. </script>
  123. </head>
  124. <body bgcolor="#006666">
  125. <form id="form1" runat="server">
  126. <div id="main">
  127. <div id="title"> <h1>添加教师及管理员</h1></div>
  128. <div id="selectData">
  129. <table width="90%" height="198" border="0" cellpadding="0" cellspacing="0">
  130. <tr>
  131. <td width="30%">用户名</td>
  132. <td width="70%"> <asp:TextBox ID="UserName" class="input"
  133. style="width:235px;padding-left:15px; " runat="server"></asp:TextBox>
  134. </td>
  135. </tr>
  136. <tr>
  137. <td>密码</td>
  138. <td> <asp:TextBox ID="PassWord" class="input"
  139. style="width:235px;padding-left:15px; " runat="server"></asp:TextBox> </td>
  140. </tr>
  141. <tr>
  142. <td>用户类型</td>
  143. <td>
  144. <asp:DropDownList style="width:250px;" class="input" ID="UserType"
  145. runat="server" Height="36px" Width="250px">
  146. </asp:DropDownList>
  147. </td>
  148. </tr>
  149. <tr>
  150. <td>用户部门</td>
  151. <td>
  152. <asp:DropDownList style="width:250px;" class="input" ID="DropDownList1"
  153. runat="server" Height="36px" Width="250px">
  154. <asp:ListItem>院级管理员</asp:ListItem>
  155. <asp:ListItem>计算机系</asp:ListItem>
  156. <asp:ListItem>经管系</asp:ListItem>
  157. <asp:ListItem>外语系</asp:ListItem>
  158. <asp:ListItem>机械系</asp:ListItem>
  159. <asp:ListItem>电气系</asp:ListItem>
  160. <asp:ListItem>基础部</asp:ListItem>
  161. <asp:ListItem>系管理员</asp:ListItem>
  162. </asp:DropDownList>
  163. </td>
  164. </tr>
  165. <tr>
  166. <td colspan="2">
  167. <asp:Button ID="Button1" runat="server" Text="添加" class="input"
  168. onclick="Button1_Click" />
  169. &nbsp;</td>
  170. </tr>
  171. </table>
  172. </div>
  173. <div id="footer"> Copyright © <a href="mailto:290578102.qq.com">踏雪工作室</a> <br />
  174. <p>版权所有 &#169; 2013 广东松山职业技术学院计算机系 刘友生 </div>
  175. </div>
  176. </form>
  177. </body>
  178. </html>