Explorar o código

账号相关页面(账号主页,密码修改)

chenwen %!s(int64=3) %!d(string=hai) anos
pai
achega
13d9f74d30
Modificáronse 2 ficheiros con 408 adicións e 0 borrados
  1. 267 0
      html/account/account.html
  2. 141 0
      html/account/changepwd.html

+ 267 - 0
html/account/account.html

@@ -0,0 +1,267 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8">
+		<title></title>
+		<script src="../../js/jquery-1.9.1.min.js"></script>
+		<script src="../../js/jquery.i18n.properties.js"></script>
+		<script src="../../assets/js/language.js"></script>
+		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css" rel="stylesheet">
+		<link rel="stylesheet" type="text/css" href="../../assets/plugin/zeroModal/css/zeroModal.css">
+		<link rel="stylesheet" type="text/css" href="../../assets/plugin/zeroModal/css/normalize.css" />
+		
+		<style>
+		   .top{
+			   padding:10px 50px 0px 50px;
+			   border-bottom: 1px solid #e8e8e8;
+			   display: flex;
+			   flex-flow: row nowrap;
+			   justify-content: space-between;
+			   align-items: center;
+			   height: 80px;
+			   box-sizing: border-box;
+			   font-family: Avenir-Black;
+			}
+		   
+		   .top-item{
+			   padding:0px 20px;
+			   line-height: 70px;
+			   font-weight: bold;
+			   cursor: pointer;
+		   }
+		   .top-item-active{
+			   border-bottom: 3px solid #f83d5a;
+			   color: #f83d5a;
+		   }
+		   .us-name-item{
+			   width:160px;
+		   }
+		   
+		   .account-box{
+			 padding:60px;  
+		   }
+		   
+		   .sort-box{
+			   display: flex;
+			   flex-flow: row nowrap;
+			   justify-content: space-between;
+			   align-items: center;
+			   margin:0px 60px;
+			   border-bottom: 1px solid #f2f2f2;
+		   }
+		   
+		   .sort-box .sort-tab{
+			   margin-right: 40px;
+			   padding:10px 6px 10px 10px;
+			   text-align: center;
+			   cursor: pointer;
+			   border-bottom: 2px solid #fff;
+		   }
+		   
+		   .sort-box .sort-tab-active{
+			   border-bottom: 2px solid #000;
+		   }
+		   
+		   .sort-box .sort-tab span{
+			   font-weight: bold;
+			   font-size: 16px;
+			   
+		   }
+		   
+		   .sort-box .sort-tab label{
+			    color:#999;
+				font-size: 14px;
+				margin:0px 5px;
+		   }
+		   
+		   .sort-box .filter-btn{
+			   height:40px;
+			   line-height: 20px;
+			   padding:10px;
+			   border-radius: 5px;
+			   border: 1px solid #ccc;
+			   cursor: pointer;
+		   }
+		   
+		   .project-box{
+		   		padding: 25px 35px 20px 35px;
+		   }
+		   
+		   .thumbnail{
+		   	border:0;
+		   }
+		   #project-photo-row{
+		   	-webkit-column-width:242px; /*Safari and Chrome*/
+		   	-moz-column-width:242px; /*Firefox*/
+		   	-o-column-width:242px; /*Opera*/
+		   	-ms-column-width:242px; /*IE*/
+		   	column-width:242px;
+		   }
+		   #project-photo-row>div{
+		       width:242px; /*宽度根据实际情况调节,应与上面一致*/
+		       overflow:auto; /*防止内容溢出导致布局错位*/
+		   }
+		   
+		   .follow-box{
+			   display: none;
+			   padding: 15px 35px 20px 35px;
+		   }
+		   
+			   
+		   .follow-box .follow-item{
+			   padding:15px 0px;
+			   border-bottom: 1px solid #eee;
+			   display: flex;
+			   flex-flow: row nowrap;
+			   justify-content: space-between;
+			   align-items: flex-start;
+		   }
+		   .follow-btn{
+			   width:100px;
+			   height:36px;
+			   padding:5px 16px;
+			   font-size: 14px;
+			}
+		   .follow-note-time{
+			   color:#999;
+			   font-size:14px;
+		   }
+		   .follow-note-con{
+			    font-size:14px;
+		   }
+		   .follow-box .follow-item .photos-9{
+			   -webkit-column-count:3; /*Safari and Chrome*/
+			   -moz-column-count:3; /*Firefox*/
+			   -o-column-count:3; /*Opera*/
+			   -ms-column-count:3; /*IE*/
+			   column-count:3;
+			   -webkit-column-gap:5px; /*Safari and Chrome*/
+			   -moz-column-gap:5px; /*Firefox*/
+			   -o-column-gap:5px; /*Opera*/
+			   -ms-column-gap:5px; /*IE*/
+			   column-gap:5px;
+			   width:255px;
+		   }
+		   
+		   .photos-9 img{
+			   width: 80px;
+			   height: 80px;
+			   border-radius: 10px;
+			   margin-bottom:5px;
+		   }
+		   
+		</style>
+	</head>
+	<body>
+		<div class="container-fluid" style="padding:0;">
+			<div class="top">
+				<div class="top-item">
+					<img  src="../../assets/img/head_logo.png"/>
+				</div>
+				<div class="top-item">
+					<span>LIBRARY</span>
+				</div>
+				<div class="top-item">
+					<span>MOMENTS</span>
+				</div>
+				<div class="top-item" style="flex:1;"></div>
+				<div class="top-item">
+					<img src="../../assets/img/head_icon_language.png"><span>&nbsp;&nbsp;English</span>
+				</div>
+				<div class="top-item us-name-item  top-item-active">
+					<span>Sign in / Sign up</span>
+				</div>
+				<div class="top-item">
+					<img  src="../../assets/img/head_add.png" style="height: 40px;">
+				</div>
+			</div>
+			
+			<div class="account-box">
+				<img src="../../assets/img/us_red_big.png" />
+				<span style="margin:0px 20px;font-weight: bold;">wang234…@gmail.com</span>
+				<img src="../../assets/img/edit_icon_small.png" />
+			</div>
+			
+			<div class="sort-box">
+				<div class="sort-tab sort-tab-active" data-show='project-box'><span>Favorites</span><label>1212</label></div>
+				<div class="sort-tab" data-show='follow-box'><span>Follow</span><label>43</label></div>
+				<div style="flex:1;"></div>
+				<div class="dropdown">
+					<div class="filter-btn dropdown-toggle" data-toggle="dropdown"><span>Filters</span><img src="../../assets/img/filter.png" style="margin-left:25px;"></div>
+				     <ul class="dropdown-menu dropdown-menu-right filter-menu" aria-labelledby="dropdownMenu1">
+				         <li><a href="#">Last saved to</a></li>
+				        
+				    </ul>
+				</div>
+				
+			</div>
+			
+			<div class="project-box">
+				<div class="row">
+				    <div class="col-md-12" id="project-photo-row">
+				    <!--图片开始-->
+					</div><!--图片结束-->
+				</div>
+			</div>
+			
+			<div class="follow-box">
+				
+			</div>
+			
+		</div>
+		
+		<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+		<script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.35/assets/js/ie10-viewport-bug-workaround.js"></script>
+		<script src="../../js/bootstrap.min.js"></script>
+		<script src="../../assets/plugin/zeroModal/js/zeroModal.js"></script>
+		<script src="../../assets/plugin/template-web.js"></script>
+		<script src="../../assets/js/account.js"></script>
+		<script id="favorite-photos" type="text/html">
+			{{each  photos  photo index}}
+				<div class="col-md-2">
+				    <div class="thumbnail">
+				        <a href="javascript:void(0);">
+							<img src="{{photo.url}}" class="img-responsive img-rounded">
+				        </a>
+				        <div class="caption">
+				            
+				            <p>
+				                <small>{{photo.note}}</small>
+				            </p>
+				        </div> 
+				    </div>
+				</div>
+			{{ /each }}
+		</script>
+		
+		<script id="follow-photos" type="text/html">
+			{{each  list  followitm index}}
+				<div class="follow-item">
+					<div class="photos-9">
+						<img src="../../assets/img/landingpage/SketchPng89e9554a3265a9c1f8d56f3f7dd92e7e0af6a15c8c7b8aa9fddfe992757c51a0.png">
+						<img src="../../assets/img/landingpage/SketchPng4f81a60c9fe9d2ae25bb83fb0252c7bdab23768bbc807bbae7f9e5b04b694bd8.png">
+						<img src="../../assets/img/landingpage/SketchPng7d6f19699512d467d9c2c6735798214c0ad484446e64adfb3f1215fb3d1cf5bb.png">
+						<img src="../../assets/img/landingpage/SketchPng3622edd1182388117b81d016412b296bafd4b2e05706408fc9de0dd39c2c52a6.png">
+						<img src="../../assets/img/landingpage/SketchPngcb1de6df3ae05d75f886fa3734104662e588761124ed01a2a70098de8319fd64.png">
+						<img src="../../assets/img/landingpage/SketchPngdeef997ff688c81e59cf6e882f2970cdc203ead50855f1db4e719e5ed73958b7.png">
+						<img src="../../assets/img/landingpage/SketchPngaca45c5ff6a2d365055c1489e841ff3a83787adf7a31d5a5ee88dcc478e79835.png">
+						<img src="../../assets/img/landingpage/SketchPngb0ddea94e6fe18953526d1a639df71ca6ec7cddd5b5299c13b4e1a273fad4ef1.png">
+						<img src="../../assets/img/landingpage/SketchPngb61811580d481d4def6488e495e5e7ce94fb3a74b302b0d46c348b834d261380.png">
+					</div>
+					<div style="flex:1;padding:0px 20px;">
+						<h5><strong>Title for the project</strong></h5>
+						<p class="follow-note-time">2021.08.11 17:23</p>
+						<p class="follow-note-con">Contrary to popular belief,Lorem Ipsum is not simply random text.It has roots in a piece of classical Latin literature from 45 BC,
+						making it over 2000 years old.Richard McClintock,a Latin professor at Hampden-Sydney College in Virginia,looked up one of the more obscure Latin words,consectetur,from a Lorem lpsum passage,and going through the cites of the word in classical
+						literature,discovered the undoubtable source.
+						</p>
+						<p class="follow-note-con">
+							Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum"(The Extremes of Good and Evil)by Cicero.
+						</p>
+					</div>
+					<button class="btn btn-lg btn-danger btn-block follow-btn" type="button">Following</button>
+				</div>
+			{{/each}}
+		</script>
+	</body>
+</html>

+ 141 - 0
html/account/changepwd.html

@@ -0,0 +1,141 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8">
+		<title></title>
+		<script src="../../js/jquery-1.9.1.min.js"></script>
+		<script src="../../js/jquery.i18n.properties.js"></script>
+		<script src="../../assets/js/language.js"></script>
+		<script src="../../js/jquery.validate.min.js"></script>
+		<script src="../../assets/js/language_validator.js"></script>
+		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css" rel="stylesheet">
+		<link rel="stylesheet" type="text/css" href="../../assets/plugin/zeroModal/css/normalize.css" />
+		<link rel="stylesheet" type="text/css" href="../../assets/plugin/zeroModal/css/zeroModal.css">
+		<style>
+		   .top{
+			   padding:10px 50px 0px 50px;
+			   border-bottom: 1px solid #e8e8e8;
+			   display: flex;
+			   flex-flow: row nowrap;
+			   justify-content: space-between;
+			   align-items: center;
+			   height: 80px;
+			   box-sizing: border-box;
+			   font-family: Avenir-Black;
+			}
+		   
+		   .top-item{
+			   padding:0px 20px;
+			   line-height: 70px;
+			   font-weight: bold;
+			   cursor: pointer;
+		   }
+		   .top-item-active{
+			   border-bottom: 3px solid #f83d5a;
+			   color: #f83d5a;
+		   }
+		   .us-name-item{
+			   width:160px;
+		   }
+		   .form-box{
+			   width:300px;
+			   margin:50px auto;
+		   }
+		   .form-group-custom .input-tool-icon{
+		   			  width:30px;
+		   			  height:30px;
+		   			  text-align: center;
+		   			  line-height: 30px;
+		   			  position: absolute;
+		   			  top: 35px;
+		   			  right: 5px;
+		   			  color:#999;
+		   			  font-size: 14px;
+		   			  z-index: 100;
+		   			  /* padding: 10px; */
+		   			  cursor:pointer;
+		   			 /* background-color: #1B6D85; */
+		   			 display: none;
+		    }
+		    .form-group-custom{
+		   			 position: relative;
+		   			 margin-bottom: 30px;
+		    }
+		    .form-group-custom .form-control {
+		   			  height: 48px;
+		   			  line-height: 48px;
+		   			  padding-right: 42px;
+		   			  /* margin-bottom: 30px; */
+		    }
+		    .login-tit{
+		   			  font-size: 28px;
+		   			  font-weight: bold;
+		   			  margin:30px 0px 50px;
+		   			 
+		    }
+		    .form-group-custom  label[for]{
+		   			  font-weight: bold;
+		    }
+		    .form-group-custom  label[for][class='error']{
+		    		font-weight: normal;
+		    				font-size:14px;
+		    				color:#F27474;
+		    }
+		</style>
+	</head>
+	<body>
+		<div class="container-fluid" style="padding:0;">
+			<div class="top">
+				<div class="top-item">
+					<img  src="../../assets/img/head_logo.png"/>
+				</div>
+				<div class="top-item">
+					<span>LIBRARY</span>
+				</div>
+				<div class="top-item">
+					<span>MOMENTS</span>
+				</div>
+				<div class="top-item" style="flex:1;"></div>
+				<div class="top-item">
+					<img src="../../assets/img/head_icon_language.png"><span>&nbsp;&nbsp;English</span>
+				</div>
+				<div class="top-item us-name-item  top-item-active">
+					<span>Sign in / Sign up</span>
+				</div>
+				<div class="top-item">
+					<img  src="../../assets/img/head_add.png" style="height: 40px;">
+				</div>
+			</div>
+			
+			<div class="form-box">
+				<h4 style="margin-bottom: 50px;font-weight: bold;">Change password</h4>
+				<form class="signin-form">
+					<div class="form-group form-group-custom">
+					  <label for="email">Old password</label>
+					  <input type="password" class="form-control" id="oldpwd" name="oldpwd" placeholder="Enter your old password" required>
+					  <span class="input-tool-icon glyphicon glyphicon-eye-open"></span>
+					</div>
+					
+					<div class="form-group form-group-custom">
+					  <label for="pwd">Password</label>
+					  <input type="password" class="form-control" id="pwd" name="pwd" placeholder="Enter your new password" required>
+					  <span class="input-tool-icon glyphicon glyphicon-eye-open"></span>
+					</div>
+					
+					<div class="form-group form-group-custom">
+					  <label for="pwd">Confirm new password</label>
+					  <input type="password" class="form-control" id="pwdagain" name="pwdagain" placeholder="Enter your new password again" required equalTo="#pwd">
+					  <span class="input-tool-icon glyphicon glyphicon-eye-open"></span>
+					</div>
+					
+					<button class="btn btn-lg btn-danger btn-block create-btn" type="submit">Change</button>
+				</form>
+			</div>
+		</div>
+		
+		<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
+		<script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.35/assets/js/ie10-viewport-bug-workaround.js"></script>
+		<script src="../../assets/js/changepwd.js"></script>
+		<script src="../../assets/plugin/zeroModal/js/zeroModal.js"></script>
+	</body>
+</html>