<div class="statusbar-overlay"></div>
<div class="panel-overlay"></div>
<!-- Begin: Left Side Panel -->
<div class="panel panel-left panel-reveal">
<div class="panel-header" style="background-color: #ed1b2f; height: 57px">
<a href="akun.html">
<div class="user-info item-link close-panel" style="text-align: unset;text-transform: unset">
<div class="row" style="margin-top: -3px;">
<div class="col-25 foto-user">
</div>
<div class="col-75" style="margin-top: 15px;">
<div class="user-name color-white" style="margin-left: 15px;text-transform: unset;">myname</div>
<div class="user-location" style="margin-left: 15px;text-transform: unset;font-size: 12px;">
<i class="fa fa-phone" style="color: white;"></i>
<span class="color-white">081234306725</span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="list-block no-hairlines no-hairlines-between" style="margin-top: 0px;">
<ul>
<li>
<div class="item-content">
<div class="item-inner" style="margin-left: 0px;padding: 0px">
<div class="item-title color-gray">EvalPay</div>
</div>
</div>
</li>
<li>
</ul>
</div>
</div>
var FotoP = localStorage.getItem("FotoP");
var isi_html = "";
if(FotoP == null){
isi_html += ' <img class="img-circle user-photo" src="img/user2.jpg" width="60" height="60" alt="Avatar" />';
}else{
isi_html += ' <img class="img-circle user-photo" src="'+ FotoP +'" width="60" height="60" alt="Avatar" />';
}
$$(".foto-user").html(isi_html);
我的侧面板中有个人头像,更改了个人头像后,只有侧面板中的个人头像无法更新...
我将侧面板放在index.html
和home.html
的内容中