<div class="main-nav d-flex align-items-start flex-column">
  <div class="logo"><img src="/public/static/img/logo.png"></div>
  <div class="nav-top">
    <ul class="nav nav-pills nav-stacked bg-nav">
      <!--系统维护信息-->
      <li class="bg-danger" style="display: none;"><a class="text-white maintain-icon"><i
            class="fa fa-wrench "></i><span class="bg-danger maintain-info">系统将于 2019年3月10日 14:09
            开始停机维护，持续30分钟。</span></a></li>
      <!--系统维护信息 end-->
      <li {{if eq .Channel "todo"}}class="active" {{end}}>
        <a href="/todolist" data-toggle="tooltip" data-placement="right" title="" data-original-title="待办事项"><i
            class="fas fa-chalkboard"></i><span>待办</span></a>
      </li>

      <li {{if eq .Channel "contract"}}class="active" {{end}}>
        <a href="/contract" data-toggle="tooltip" data-placement="right" title="" data-original-title="合同管理"><i
            class="fas fa-book-open"></i><span>合同管理</span></a>
      </li>
      
      <li class=""><a href="anquan.html" data-toggle="tooltip" data-placement="right" title=""
          data-original-title="安全巡检"><i class="fas fa-users-cog"></i><span>安全巡检</span></a></li>
      <li class=""><a href="zhiliang.html" data-toggle="tooltip" data-placement="right" title=""
          data-original-title="质量巡检"><i class="fas fa-toolbox"></i><span>质量巡检</span></a></li>


      <li {{if eq .Channel "bidsection"}}class="active" {{end}}>
        <a href="/bidsection" data-toggle="tooltip" data-placement="right" title="" data-original-title="标段"><i
            class="fas fa-list-ul"></i><span>项目</span></a>
      </li>
    </ul>
  </div>
  <div class="nav-bottom mt-auto">
    <ul class="nav nav-pills nav-stacked bg-nav">
      <li {{if eq .Channel "project"}}class="active" {{end}}>
        <a href="/project" data-toggle="tooltip" data-placement="right" title="" data-original-title="项目设置"><i
            class="fa fa-cogs"></i><span>项目设置</span></a>
      </li>
    </ul>
    <div class="dropright my-1 ml-1">
      <a href="" class="btn btn-sm btn-light" data-toggle="dropdown" aria-haspopup="false" aria-expanded="false">
        {{.Account.Account}}
      </a>
      <div class="dropdown-menu">
        <a href="/account" class="dropdown-item">账号资料</a>
        <a href="#" class="dropdown-item">账号安全</a>
        <div class="dropdown-divider"></div>
        <a href="http://doc.zhzdwd.com/docs/measure" target="_blank" class="dropdown-item">用户手册</a>
        <a href="#" class="dropdown-item">退出登录</a>
      </div>
    </div>
  </div>
</div>