<!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;
		   }
		   
		   .project-box .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:142px;
		 }
		 #project-photo-row>div{
		     width:182px; /*宽度根据实际情况调节，应与上面一致*/
		     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-box .follow-item .follow-btn{
			   width:100px;
			   height:36px;
			   padding:5px 16px;
			   font-size: 14px;
			}
		   .follow-box .follow-item .follow-note-time{
			   color:#999;
			   font-size:14px;
		   }
		   .follow-box .follow-item .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;
			    height:255px;
		   }
		   
		   .follow-box .follow-item .photos-9 img{
			   width: 80px;
			   height: 80px;
			   border-radius: 10px;
			   margin-bottom:5px;
		   }
		   
		</style>
	</head>
	<body>
		<div id="head" ></div>
		<script>
			$(function() {
				$("#head").load("../head.html",function(){
					$("#common-navbar-head .active").removeClass("active")
					$("#common-navbar-head .head_li_user").addClass("active")
				});
			})
		</script>
		<main class="jpmain" style="margin-top:85px;margin-bottom: 0px;">
		<div class="container-fluid  jpcontainer" style="    max-width: 1300px;">
			
			
			<div class="account-box">
				<img src="../../assets/img/us_red_big.png" />
				<span style="margin:0px 20px;font-weight: bold;" class="userName" ></span>
				<a href="../company/register.html"><img src="../../assets/img/edit_icon_small.png" /></a>
			</div>
			
			<div class="sort-box">
				<div class="sort-tab sort-tab-active" data-show='project-box'><span  class="i18n-text" i18n="account_Favorites">Favorites</span><label>1212</label></div>
				<div class="sort-tab" data-show='follow-box'><span  class="i18n-text" i18n="account_Follow">Follow</span><label>43</label></div>
				<div style="flex:1;"></div>
				<div class="dropdown">
					<div class="filter-btn dropdown-toggle" data-toggle="dropdown"><span  class="i18n-text" i18n="account_Filters">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  class="i18n-text" i18n="account_Last saved to" 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>
		</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">
						{{each  followitm.list img index2}}
						<img src="{{img}}">
						{{/each}}
					</div>
					<div style="flex:1;padding:0px 20px;">
						<h5><strong>{{followitm.Project_name}}</strong></h5>
						<p class="follow-note-time">{{followitm.date}}</p>
						<p class="follow-note-con">{{followitm.txt}}
						</p>
					
					</div>
					<button class="btn btn-lg  btn-block follow-btn follow-btn2 i18n-text" i18n="account_Edit" style=" {{followitm.read?'display: none;':''}}" type="button">Edit</button>
					
					<button class="btn btn-lg btn-danger btn-block follow-btn  i18n-text" i18n="account_Following"  style=" {{!followitm.read?'display: none;':''}}" type="button">Following</button>
				</div>
			{{/each}}
		</script>
	</body>
</html>
