EPS系统登陆界面

来源:互联网 发布:云组态软件 编辑:程序博客网 时间:2024/05/17 08:52

 

 

  1. <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="EPS 2005 System.aspx.cs" Inherits="_Default" %>
  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 runat="server">
  5.     <title> EPS 2005 System</title>
  6.     <link href="Styles/EPSstyle.css" rel="stylesheet" type="text/css" />
  7. <script language="javascript" type="text/javascript">
  8. </script>
  9. </head>
  10. <body>
  11. <form  id="form1" runat="server">
  12.     <div>
  13.    
  14.      <table class="Table1" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  15.            <tr>
  16.               <td align="center" valign="middle" style="height: 76%; width: 383px;">
  17.                   <table class="Table2" cellspacing="0" cellpadding="0">
  18.                         <tr style="height: 86;">
  19.                             <td style="width: 397px; height: 86px">
  20.                                 <img class="Image1" src="images/EPS_Login_Banner.jpg" /></td>
  21.                         </tr>
  22.                         <tr style="height: 50;">
  23.                             <td style="width: 397px">
  24.                                 <img id="Image2" class="Image2" src="images/EPS_Login_SystemName.jpg" /></td>
  25.                         </tr>
  26.                        
  27.                         <tr>
  28.                             <td style="background-color: #e8e8e8; height: 150; width: 397px;" align="center" valign="top">
  29.                             
  30.                             
  31.                              
  32.                                 <table cellspacing="0" cellpadding="0" border="0" id="TABLE1" >
  33.                                    
  34.                                     <tr>
  35.                                         <td align="right" style="padding-right: 10px; height: 20px" class="BoldFont8pt">
  36.                                             Language</td>
  37.                                         <td align="left" style="height: 20px; width: 115px;">
  38.                                             <select id="select1" onchange="hiddenPic2()" title="Language" style="width:125px;">
  39.                                                  <option id="option2" value="2">中文简体</option>
  40.                                                  <option id="option1" selected="selected" value="1">English</option>
  41.                                             </select>
  42.                                                  <script type="text/javascript">
  43.                                                    function hiddenPic()
  44.                                                    {
  45.                                                       var Select = document.getElementById("select1");
  46.                                                       var img = document.getElementById("Image2");
  47.                                                       if (Select.options.value=="1") 
  48.                                                             img.style.visibility ="visible";  
  49.                                                             
  50.                                                       if (Select.options.value=="2")
  51.                                                             {
  52.                                                                 img.style.visibility="hidden";
  53.                                                                 return;
  54.                                                             }
  55.                                                         
  56.                                                    }
  57.                                                    
  58.                                                         function hiddenPic2()
  59.                                                    {
  60.                                                       var Select = document.getElementById("select1");
  61.                                                       var img = document.getElementById("Image2");
  62.                                                       if (Select.options.value=="1") 
  63.                                                             img.style.display ="block";  
  64.                                                             
  65.                                                       if (Select.options.value=="2")
  66.                                                             {
  67.                                                                 img.style.display="none";
  68.                                                                 return;
  69.                                                             }
  70.                                                         
  71.                                                    }
  72.                                                    
  73.                                                    
  74.                                         </script>
  75.                                             
  76.                                             
  77.                                         </td>
  78.                                     </tr>
  79.                                   
  80.                                     <tr>
  81.                                         <td align="right" style="padding-right: 10px; height: 20;" class="BoldFont8pt">
  82.                                             User Name
  83.                                         </td>
  84.                                         
  85.                                         
  86.                                         
  87.                                         <td align="left" style="width: 115px">
  88.                                             <input name="TextBoxUser" type="text" value="admin" maxlength="50" id="Text1" style="height:17px;width:120px;" /></td>
  89.                                     </tr>
  90.                                   
  91.                                     <tr>
  92.                                         <td align="right" style="padding-right: 10px; height: 20;" class="BoldFont8pt">
  93.                                             Password</td>
  94.                                         <td align="left" style="width: 115px">
  95.                                             <input name="TextBoxPassword" type="password" maxlength="50" class="PlainInput" id="Text2" style="height:17px;width:120px;" /></td>
  96.                                     </tr>
  97.                                     
  98.                                     <tr>
  99.                                         <td style="height: 20px;">
  100.                                             </td>
  101.                                         <td style="height: 20px; width: 115px;">
  102.                                             <input type="submit" onclick="check()" class="Button120" value="Welcome Login" />
  103.                                             <script type="text/javascript">
  104.                                             
  105.                                                 function check()
  106.                                                 {
  107.                                                    var User = document.getElementById("TextBoxUser");
  108.                                                    var Password = document.getElementById("TextBoxPassword");
  109.                                                    if(User.value.length==0) 
  110.                                                     {
  111.                                                       alert("用户名不能为空");
  112.                                                       window.event.returnValue=false;
  113.                                                       return;
  114.                                                     } 
  115.                                                    
  116.                                                     if(Password.value.length==0)  
  117.                                                     { 
  118.                                                       alert("密码不能为空");
  119.                                                       window.event.returnValue=false;
  120.                                         
  121.                                                     }
  122.                                                  }   
  123.                                                 
  124.                                              
  125.                                             </script>
  126.                                              
  127.                                          </td>
  128.                                     </tr>
  129.   
  130.                                 </table>
  131.                                 
  132.                             </td>
  133.                         </tr>
  134.                       
  135.                         <tr>
  136.                             <td style="background-color: #d8d8d8; height: 19px; padding-right: 20px; width: 397px;"
  137.                                 align="right" class="FontVersion">
  138.                                 Version: EPS2005 1.0 </td>
  139.                         </tr>        
  140.                          
  141.                     </table>
  142.                 </td>
  143.             </tr>
  144.         </table>
  145.        
  146.         </div>
  147.          </form>
  148.         
  149.        
  150.    
  151. </body>
  152. </html>

 

原创粉丝点击