AddOther.aspx 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddOther.aspx.cs" Inherits="AddOther" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head id="Head1" runat="server">
  5. <title></title>
  6. <link href="js/tableCSS.css" rel="stylesheet" type="text/css" />
  7. <link href="js/ASPNET2BaseCss.css" rel="stylesheet" type="text/css" />
  8. <style>
  9. #maindiv{
  10. width:900px;
  11. height:auto;
  12. border:#06F 1px groove;
  13. margin:0 auto;
  14. margin-top:10px;
  15. border-radius:15px;
  16. box-shadow:#CCC 6px 6px;
  17. padding:10px;
  18. font-size:12px;
  19. background-color:White;
  20. }
  21. #menu1{
  22. background-color:#E7F4F8;
  23. border:#03C 1px dotted;
  24. border-radius:8px;
  25. color:#FFF;
  26. padding:3px;
  27. box-shadow:#859CAD 4px 4px;
  28. text-align:left;
  29. color:#333399;
  30. }
  31. #stNav
  32. {
  33. padding:5px;
  34. margin-top:6px;
  35. background-color:#87B6E9;
  36. text-align:center;
  37. border:#F00 1px thick;
  38. box-shadow:#859CAD 3px 3px;
  39. border-radius:10px;
  40. }
  41. table
  42. {box-shadow:#859CAD 3px 3px;
  43. border-radius:10px;
  44. }
  45. .style1
  46. {
  47. height: 12px;
  48. width: -255%;
  49. }
  50. .style2
  51. {
  52. height: 39px;
  53. }
  54. .Input3
  55. {}
  56. #XQ
  57. {
  58. width: 148px;
  59. }
  60. #JC
  61. {
  62. width: 132px;
  63. }
  64. .style3
  65. {
  66. height: 12px;
  67. width: 13%;
  68. }
  69. .style4
  70. {
  71. width: 13%;
  72. }
  73. </style>
  74. <script>
  75. function checkbox(checkbox_name, table_tr_name) {
  76. var ckData = []; //selection checkbox array
  77. var ckstr = ""; //selection checkbox string
  78. var ckArr = document.getElementsByName(checkbox_name);
  79. var text = document.getElementById("TextBox5");
  80. for (var i = 0; i < ckArr.length; i++) {
  81. if (ckArr[i].checked) {
  82. ckData.push(ckArr[i].value);
  83. ckstr += ckArr[i].value;
  84. }
  85. }
  86. if (ckstr.length > 0) {
  87. // document.getElementById(table_tr_name).style.backgroundColor = "#FB9C97";
  88. document.getElementById(table_tr_name).style.backgroundColor = "#86D0F9";
  89. }
  90. else
  91. { document.getElementById(table_tr_name).style.backgroundColor = ""; }
  92. text.value = text.value + ckstr;
  93. }
  94. </script>
  95. </head >
  96. <body bgcolor="#006666">
  97. <form id="form1" runat="server">
  98. <div id="maindiv">
  99. <div id="stNav">
  100. &nbsp;&nbsp;&nbsp;<table width='96%' height='111' border='1' align="center" cellspacing='1' bordercolor="#C1E7FD" bgcolor="#F4FCFF">
  101. <!--DWLayoutTable-->
  102. <tr bgcolor="#E2F2FC" >
  103. <td height='33' colspan="2" align="center">
  104. <font color="#FF0000" size="4" face="黑体">督导项目记录</font> </td>
  105. </tr>
  106. <TR>
  107. <TD colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</TD>
  108. </TR>
  109. <tr align='center'>
  110. <td align='center' valign='middle' nowrap class="style3">
  111. 督导姓名 </td>
  112. <td width=85% align='left' valign='middle' class="style1">
  113. <asp:TextBox ID="TextBox1" runat="server" Width="120px" Height="26px" CssClass="Input3"></asp:TextBox>
  114. &nbsp;督导时间:<asp:TextBox ID="ZJ" Width="120px" Height="26px" runat="server"></asp:TextBox>
  115. &nbsp; 督导地点:<asp:TextBox ID="DD" Width="120px" Height="26px" runat="server"></asp:TextBox>
  116. &nbsp;系部:<asp:DropDownList ID="XB" Width="120px" Height="26px" CssClass="Input3" runat="server">
  117. <asp:ListItem>计算机系</asp:ListItem>
  118. <asp:ListItem>机械系</asp:ListItem>
  119. <asp:ListItem>电气系</asp:ListItem>
  120. <asp:ListItem>外语系</asp:ListItem>
  121. <asp:ListItem>经管系</asp:ListItem>
  122. <asp:ListItem>基础部</asp:ListItem>
  123. </asp:DropDownList>
  124. </td>
  125. </tr>
  126. <tr align='center'>
  127. <td align='center' valign='middle' class="style3"> 内容</td>
  128. <td width=85% align='left' valign='middle' class="style1">
  129. <asp:DropDownList ID="DropDProg" Width="150px" Height="26px"
  130. CssClass="Input3" runat="server">
  131. <asp:ListItem>督导会议</asp:ListItem>
  132. <asp:ListItem>教学评课</asp:ListItem>
  133. <asp:ListItem>督学情况</asp:ListItem>
  134. <asp:ListItem>教学检查</asp:ListItem>
  135. <asp:ListItem>项目评审</asp:ListItem>
  136. <asp:ListItem>培训交流</asp:ListItem>
  137. <asp:ListItem>其它</asp:ListItem>
  138. </asp:DropDownList>
  139. &nbsp;主要参与人员:<asp:TextBox ID="BJ" Width="480px" Height="26px" runat="server"></asp:TextBox>
  140. &nbsp;</td>
  141. </tr>
  142. <tr align='center'>
  143. <td height='12' align='center' valign='middle' class="style4"> 星期</td>
  144. <td align='left' valign='middle'>
  145. <label>
  146. <asp:DropDownList ID="XQ" runat="server" Width="120px" Height="26px" >
  147. <asp:ListItem>一</asp:ListItem>
  148. <asp:ListItem>二</asp:ListItem>
  149. <asp:ListItem>三</asp:ListItem>
  150. <asp:ListItem>四</asp:ListItem>
  151. <asp:ListItem>五</asp:ListItem>
  152. <asp:ListItem>六</asp:ListItem>
  153. <asp:ListItem>日</asp:ListItem>
  154. </asp:DropDownList>
  155. &nbsp;
  156. 节&nbsp;&nbsp;次&nbsp;:
  157. <asp:DropDownList ID="JC" runat="server" Width="120px" Height="26px" >
  158. <asp:ListItem>第1-2节</asp:ListItem>
  159. <asp:ListItem>第3-4节</asp:ListItem>
  160. <asp:ListItem>第5-6节</asp:ListItem>
  161. <asp:ListItem>第7-8节</asp:ListItem>
  162. <asp:ListItem>第9-10节</asp:ListItem>
  163. <asp:ListItem>第11-12节</asp:ListItem>
  164. <asp:ListItem>第1节</asp:ListItem>
  165. <asp:ListItem>第2节</asp:ListItem>
  166. <asp:ListItem>第3节</asp:ListItem>
  167. <asp:ListItem>第4节</asp:ListItem>
  168. <asp:ListItem>第5节</asp:ListItem>
  169. <asp:ListItem>第6节</asp:ListItem>
  170. <asp:ListItem>第7节</asp:ListItem>
  171. <asp:ListItem>第8节</asp:ListItem>
  172. <asp:ListItem>第9节</asp:ListItem>
  173. <asp:ListItem>第10节</asp:ListItem>
  174. <asp:ListItem>第11节</asp:ListItem>
  175. <asp:ListItem>第12节</asp:ListItem>
  176. </asp:DropDownList>
  177. &nbsp;说明
  178. <asp:TextBox ID="PF" Width="320px" Height="26px"
  179. runat="server"></asp:TextBox>
  180. </label>
  181. </td>
  182. </tr>
  183. <tr align='center'>
  184. <td height='12' align='center' valign='middle' class="style4"><p>内容记录</p>
  185. </td>
  186. <td width=85% align='left' valign='middle'>
  187. <asp:TextBox ID="TextBox5" runat="server" TextMode="MultiLine"
  188. Width="663px" CssClass="Input3" Height="107px"></asp:TextBox>
  189. <BR> </td>
  190. </tr>
  191. <tr align='center'>
  192. <td height='12' align='center' valign='middle' class="style4"><p>图片附件1</p> </td>
  193. <td width=85% align='left' valign='middle'> 在保存文本信息后上传 </td>
  194. </tr>
  195. <tr align='center'>
  196. <td height='12' align='center' valign='middle' class="style4"><p>图片附件2</p> </td>
  197. <td width=85% align='left' valign='middle'> 在保存文本信息后上传 </td>
  198. </tr>
  199. <tr align='center'>
  200. <td height='12' align='center' valign='middle' class="style4"><p>文件附件</p> </td>
  201. <td width=85% align='left' valign='middle'> 在保存文本信息后上传 </td>
  202. </tr>
  203. <tr align='center'>
  204. <td height='12' align='center' valign='middle' class="style4"><p>建议或结果</p>
  205. </td>
  206. <td width=85% align='left' valign='middle'>
  207. <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine"
  208. Width="663px" CssClass="Input3" Height="107px"></asp:TextBox>
  209. <br />
  210. <asp:Image ID="Image1" runat="server" ImageUrl="~/images/sg.png" />
  211. <BR>
  212. </td>
  213. </tr>
  214. <tr align='center'>
  215. <td colspan="2" align='center' valign='middle' class="style2"> &nbsp;<asp:Button
  216. ID="Button1" runat="server" CssClass="Input3" Height="26px"
  217. Text=" 保存记录 " onclick="Button1_Click" />
  218. <asp:Button ID="Button2" runat="server" CssClass="Input3" Height="26px"
  219. Text="上传附件" Width="99px" onclick="Button2_Click" />
  220. </td>
  221. </tr>
  222. </table><br />
  223. </div>
  224. <div id="menu1">
  225. <asp:Literal ID="Literal1" runat="server"></asp:Literal>
  226. </div>
  227. </form>
  228. </body>
  229. </html>