暑期完善 短学期实践工程 内容记录一

因先前一直在备考雅思,前不久刚刚告一段落,最近终于有时间把短学期内的工程内容捡起来完善。因为时隔已久不少技术性的内容遗忘情况还是挺重的。

近期主要优化完善了登录/注册页面的代码,添加了背景图片和一些细节上的改动,增加了返回主界面的按钮,修复了登录、注册两个功能块有时不能跳转的BUG,更改了使用的CSS样式并解决了有时样式不能正常显示等问题

下面附上代码


 

   "<%=basePath%>">

   "utf-8">

   "X-UA-Compatible" content="IE=edge">

   注册与登录

 

   "https://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet">

  

  

   "stylesheet" href="css/animate.css">

  

   "stylesheet" href="css/icomoon.css">

  

   "stylesheet" href="css/themify-icons.css">

  

   "stylesheet" href="css/bootstrap.css">

 

  

   "stylesheet" href="css/magnific-popup.css">

 

  

   "stylesheet" href="css/owl.carousel.min.css">

   "stylesheet" href="css/owl.theme.default.min.css">

 

  

   "stylesheet" href="css/loginstyle.css">

 

  

  

 

  

  

     

  

"gtco-loader">

  

   <divid="page">

 

  

   <divclass="page-inner">

  

  

  

"gtco-header" class="gtco-cover" role="banner" style="background-image: url(images/loginpage.jpg)">

     

"overlay">

     

"gtco-container">

       

"row">

          

"col-md-12 col-md-offset-0 text-left">

             

 

             

"row row-mt-15em">

                

"col-md-7 mt-text animate-box" data-animate-effect="fadeInUp">

                    "intro-text-small"><h2>欢迎注册会员

                   

成为会员享受多重服务

  

                

 

                

"col-md-4 col-md-push-1 animate-box" data-animate-effect="fadeInRight">

                   

"form-wrap">

                     

"tab">

                        

                        

"tab-content">

                           

"tab-content-inner active" data-content="signup">

                              

"Login" action="<%=basePath%>go/register" autocomplete="on" method="post">

                                 

"row form-group">

                                   

"col-md-12">

                                      

                                       "text" class="form-control" name="username" id="username" placeholder="请输入用户名" required="required"/>

                                       "red">${unameError }

                                   

                                 

                                 

"row form-group">

                                   

"col-md-12">

                                      

                                       "password" class="form-control" name="pwd" id="pwd" placeholder="请输入密码" required="required"/>

                                   

                                 

 

                                 

"row form-group">

                                   

"col-md-12">

                                       "submit" class="btn btn-primary" value="注册">

                                   

                                 

                              

                           

 

 

                           

"tab-content-inner" data-content="login" id="login">

                              

"<%=basePath%>go/login" autocomplete="on" method="post">

                                 

"row form-group">

                                   

"col-md-12">

                                      

                                       "text" class="form-control" name="username" id="username" placeholder="请输入用户名" required="required"/>

                                        "red">${unameErr }

                                   

                                 

                                 

"row form-group">

                                   

"col-md-12">

                                      

                                       "password" class="form-control" name="pwd" id="pwd" placeholder="请输入密码" required="required"/>

                                        "red">${pwdErr }

                                   

                                 

 

                                 

"row form-group">

                                   

"col-md-12">

                                       "submit" class="btn btn-primary" value="登录" >

                                   

                                 

                              

                           

 

                        

                     

                   

                

             

                   

             

          

       

     

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

你可能感兴趣的:(暑期完善 短学期实践工程 内容记录一)