{% load i18n %}

<div class="col-md-3 left_col">
    <div class="left_col scroll-view">     
        <div class="navbar nav_title" style="border: 0;">
              <span href="#" class="site_title"><img src="/media/{{company_logo}}" style='height:50px;'>
                  <span style='font-size:14px;'  >
                        {% if user.company %}
                            {{user.company.name}}
                        {% else %}
                            {% trans '基础信息' %}
                        {% endif %}
                  </span>
              </span>
        </div>
        <div class="clearfix"></div>    
        <!-- sidebar menu -->
        <div id="sidebar-menu" class="main_menu_side hidden-print main_menu" style='margin-top:30px;'>
        
                    <div class="menu_section">
                        <h3>{% trans '基础信息' %}</h3>
                        <ul class="nav side-menu">
                          <li><a><i class="fa fa-home"></i> {% trans '企业管理' %} <span class="fa fa-chevron-down"></span></a>
                            <ul class="nav child_menu">                               
                                <li><a class='l-a' href="/obj/list/companycfg/">{% trans '企业设置' %}</a></li>
                                <li><a class='l-a' href="/obj/list/activities/">{% trans '企业营销活动' %}</a></li>
                                <li><a class='l-a' href="/thirdparty/vendor/list/">{% trans '第三方设置' %}</a></li>
                                <li><a class='l-a' href="/thirdparty/redirect/list/">{% trans '第三方跳转' %}</a></li>



                                <!--
                                <li><a class='l-a' href="/company/delete/demo/stk/">{% trans '清除演示数据' %}</a></li>
                                -->
                                
                            </ul>
                          </li>
                        </ul>                            
                    </div>


                    <div class="menu_section">
                        <h3>{% trans '角色授权' %}</h3>
                        <ul class="nav side-menu">
                          <li><a><i class="fa fa-wrench"></i> {% trans '系统菜单' %} <span class="fa fa-chevron-down"></span></a>
                            <ul class="nav child_menu">   
                                <li><a class='l-a'  href="/rbac/action/add_group/">{% trans  '新建组别' %}</a></li>
                                <li><a class='l-a' href="/rbac/list/menu/">{% trans '菜单管理' %}</a></li>  
                            </ul>
                          </li>
                        </ul>     
                       
                    </div>

                    <div class="menu_section">
                        <h3>{% trans '码数据管理' %}</h3>
                        <ul class="nav side-menu"> 
                            <li><a><i class="fa fa-cloud-upload"></i> {% trans '瓶盖码数据' %} <span class="fa fa-chevron-down"></span></a>
                            <ul class="nav child_menu">
                                <li><a class='l-a' href="/bottlecap/infor/view/">{% trans  '瓶盖码查询' %}</a></li>
                                
                                <li><a class='l-a' href="/bottlecap/factory/view/">{% trans  '瓶盖厂信息' %}</a></li>   
                                <li><a class='l-a' href="/bottlecap/inform/list/">{% trans   '业务单信息' %}</a></li>  
                                <li><a class='l-a' href="/bottlecap/inform/postpone/">{% trans '数据上传延迟' %}</a></li> 

                                <li><a class='l-a' href="/bottlecap/zip/twincode/">{% trans '面底绑定上传' %}</a></li> 

                                <li><a class='l-a' href="/mes/product/bind/productcap/html/">{% trans '带瓶盖产品维护' %}</a></li> 
                                <li><a class='l-a' href="/bottlecap/zip/uploadlog/">{% trans   '瓶盖厂绑定数据上传日志' %}</a></li>
                            </ul>
                        </ul>                            
                    </div>






                    <div class="menu_section">
                        <h3>{% trans '系统工具' %}</h3>
                        <ul class="nav side-menu">     
                            <li><a><i class="fa fa-cogs"></i> {% trans '产线工具' %} <span class="fa fa-chevron-down"></span></a>
                            <ul class="nav child_menu">
                                <li><a class='l-a' href="/mes/bottlecap/makeup/1/view/">{% trans  '瓶盖追加绑定' %}</a></li>     
                                <li><a class='l-a' href="/mes/bottlecap/makeup/1/redis_html/">{%  trans 'Redis绑定查询' %}</a></li>  
                                <li><a class='l-a' href="/utils/label/encode/">{% trans  '瓶盖码加解密' %}</a></li> 
                            </ul>

                            <li><a><i class="fa fa-gear"></i> {% trans '其它工具' %} <span class="fa fa-chevron-down"></span></a>
                            <ul class="nav child_menu">
                                <li><a class='l-a' href="/utils/adm/analyser/">{% trans  '经纬度解析行政区划' %}</a></li> 
                            </ul>
                        </ul>     
                       
                    </div>                    
                    
               
        </div>
        <!-- /sidebar menu -->


        <!-- /menu footer buttons -->
        <div class="sidebar-footer hidden-small">
              <a data-toggle="tooltip" data-placement="top" title="Settings">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="{% trans '全屏显示' %}">
                <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="Lock">
                <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="{% trans '退出登录' %}"  href="/user/logout/">
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
              </a>
        </div>
        <!-- /menu footer buttons -->

    </div>

</div>
