github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/templates/user/sidebar.html (about) 1 <aside class="aside-lg bg-light lter b-r"> 2 <section class="vbox"> 3 <section class="scrollable"> 4 <div class="wrapper"> 5 <div class="text-center m-b m-t"> 6 <a href="/user/{{userProfile.Username}}/" class="thumb-lg"> 7 <img src="{% if userProfile.AvatarLarge %}{{File(userProfile.AvatarLarge)}}{% else %}/identicon/{{userProfile.Username}}/100/default.png{% endif %}" class="img-circle"></a> 8 <div> 9 <div class="h3 m-t-xs m-b-xs"><a href="/user/{{userProfile.Username}}/">{{userProfile.Username}}</a></div> 10 {% if userProfile.Province || userProfile.City %} 11 <small class="text-muted"> <i class="fa fa-map-marker"></i> 12 {% if userProfile.City %}{{userProfile.City}}, {% endif %} 13 {% if userProfile.Province %}{{userProfile.Province}}{% endif %} 14 </small> 15 {% endif %} 16 </div> 17 </div> 18 {% comment %} 19 <div class="panel wrapper"> 20 <div class="row text-center"> 21 <div class="col-xs-6"> 22 <a href="#"> 23 <span class="m-b-xs h4 block">245</span> 24 <small class="text-muted">粉丝</small> 25 </a> 26 </div> 27 <div class="col-xs-6"> 28 <a href="#"> 29 <span class="m-b-xs h4 block">55</span> 30 <small class="text-muted">关注</small> 31 </a> 32 </div> 33 </div> 34 </div> 35 {% endcomment %} 36 <div class="btn-group btn-group-justified m-b"> 37 {% comment %} 38 <a class="btn btn-success btn-rounded" data-toggle="button"> 39 <span class="text"> <i class="fa fa-eye"></i> 40 关注 41 </span> 42 <span class="text-active"> 43 <i class="fa fa-eye"></i> 44 取消 45 </span> 46 </a> 47 {% endcomment %} 48 <a class="btn btn-dark btn-rounded" href="/connect/{{userProfile.Username}}/"> 49 <i class="fa fa-comment-o"></i> 50 聊天 51 </a> 52 </div> 53 <div> 54 <p class="clear"> 55 <span class="post-span votes pull-right"><a href="javascript:void(0);" onclick="javascript:$.get('/touch/like/user/{{userProfile.Id}}/?ver='+(new Date()).valueOf(), {Action:'get'}, function (data, textStatus){this;$('#userscore-{{userProfile.Id}}').html(data);});" class="vote" data-toggle="tooltip" data-placement="left" data-original-title="请给我投上你最神圣的壹票吧!"><i class="fa fa-chevron-up"></i><span id="userscore-{{userProfile.Id}}" style="padding-left:1em;">{{userProfile.Hotscore}}</span></a> <a href="javascript:" onclick="javascript:$.get('/touch/hate/user/{{userProfile.Id}}/?ver='+(new Date()).valueOf(), {Action:'get'}, function (data, textStatus){this;$('#userscore-{{userProfile.Id}}').html(data);});" class="vote" name="_once"><i class="fa fa-chevron-down"></i></a></span> 56 </p> 57 <small class="text-uc text-xs text-muted">关于我,</small> 58 <p> 59 {% if userProfile.Occupation %}职业:{{userProfile.Occupation}},{% endif %} 60 {% if userProfile.Nickname %}昵称:{{userProfile.Nickname}},{% endif %} 61 性别: <strong> 62 {% if userProfile.Gender > 0 %}男神{%else%} 63 {% if userProfile.Gender < 0 %}女神{% else %}保密{% endif %} 64 {% endif %}</strong> 65 </p> 66 {% if userProfile.Content %} 67 <small class="text-uc text-xs text-muted">个人说明</small> 68 <p>{{userProfile.Content}}</p> 69 {% else %} 70 <small class="text-uc text-xs text-muted">个人说明</small> 71 <p>我还以为我们的交往是建筑在感情之上,想不到,原来亦都只是一盘生意~</p> 72 {% endif %} 73 <div class="line"></div> 74 <small class="text-uc text-xs text-muted">加入时间</small> 75 <p class="m-t-sm"> 76 {%if userProfile.Created%} 77 <i class="icon-time"></i> 78 加入时间 {{Unix2Time(userProfile.Created,"2006.01.02 15:04")}}{%endif%} 79 </p> 80 </div> 81 </div> 82 </section> 83 </section> 84 </aside>