<div class="page-left">
    <ul class="menu">
        <li {{if .SettingBasic}}class="active"{{end}}><a href="{{urlfor "SettingController.Index"}}" class="item"><i class="fa fa-sitemap" aria-hidden="true"></i> 基本信息</a> </li>
    {{if ne .Member.AuthMethod "ldap"}}
        <li {{if .SettingPwd}}class="active"{{end}}><a href="{{urlfor "SettingController.Password"}}" class="item"><i class="fa fa-user-o" aria-hidden="true"></i> 修改密码</a> </li>
    {{end}}
        <li {{if .SettingBook}}class="active"{{end}}><a href="{{urlfor "BookController.Index"}}" class="item"><i class="fa fa-sitemap" aria-hidden="true"></i> 我的项目</a> </li>
        <li {{if .SettingStar}}class="active"{{end}}><a href="{{urlfor "SettingController.Star"}}" class="item"><i class="fa fa-heart-o" aria-hidden="true"></i> 我的收藏</a> </li>
        <li {{if .SettingQrcode}}class="active"{{end}}><a href="{{urlfor "SettingController.Qrcode"}}" class="item"><i class="fa fa-qrcode" aria-hidden="true"></i> 二维码管理</a> </li>
    </ul>
</div>