1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!-- Left side column. contains the logo and sidebar -->
 
<aside class="main-sidebar">
 
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <shiro:hasRole name="admin">
            <!-- Sidebar Menu -->
            <ul class="sidebar-menu" data-widget="tree">
                <li class="header"><font style="color: white; font-size: medium;">目录</font></li>
                <li class="treeview">
                    <a href="#">
                        <img src="${ctx }/static/images/10.png" width="20px;" height="20px;">&nbsp;
                        <span>任务管理</span>
                        <span class="pull-right-container"> 
                            <i class="fa fa-angle-left pull-right"></i>
                        </span> 
                    </a>
                    <ul class="treeview-menu">
                        <%-- <li><a href="${ctx }/tasks/alltasks?taskstate=0">&nbsp;&nbsp;&nbsp;&nbsp;任务详情</a></li> --%>
                        <li><a href="${ctx }/tasks/alltasks?taskstate=1">&nbsp;&nbsp;&nbsp;&nbsp;未完成任务</a></li>
                        <li><a href="${ctx }/tasks/alltasks?taskstate=2">&nbsp;&nbsp;&nbsp;&nbsp;已完成任务</a></li><!-- 
                        <li><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;昨日统计</a></li>     -->                
                    </ul>
                </li>
                <%-- <li class="treeview">
                    <a href="#">
                        <img src="${ctx }/static/images/8.png" width="20px;" height="20px;">&nbsp;
                        <span>上片管理</span>
                        <span class="pull-right-container"> 
                            <i class="fa fa-angle-left pull-right"></i>
                        </span> 
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="${ctx }/loadTask/loadHtml?line=1">&nbsp;&nbsp;&nbsp;&nbsp;上片台1</a></li>
                        <li><a href="${ctx }/loadTask/loadHtml?line=2">&nbsp;&nbsp;&nbsp;&nbsp;上片台2</a></li>
                        <li><a href="${ctx }/loadTask/loadHtml?line=3">&nbsp;&nbsp;&nbsp;&nbsp;上片台3</a></li>
                        <li><a href="${ctx }/loadTask/loadHtml?line=4">&nbsp;&nbsp;&nbsp;&nbsp;上片台4</a></li>
                        <li><a href="${ctx }/loadTask/loadHtml?line=5">&nbsp;&nbsp;&nbsp;&nbsp;上片台5</a></li>
                        <li><a href="${ctx }/loadTask/loadHtml?line=6">&nbsp;&nbsp;&nbsp;&nbsp;上片台6</a></li>
                        <li><a href="${ctx }/loadTask/loadHtml?line=7">&nbsp;&nbsp;&nbsp;&nbsp;上片台7</a></li>                            
                    </ul>
                </li> --%>
                <li class="treeview">
                    <a href="#">
                        <img src="${ctx }/static/images/8.png" width="20px;" height="20px;">&nbsp;
                        <span>设备管理</span>
                        <span class="pull-right-container"> 
                            <i class="fa fa-angle-left pull-right"></i>
                        </span> 
                    </a>
                    <ul class="treeview-menu"><%-- 
                        <li><a href="${ctx }/Config/infomathion">&nbsp;&nbsp;&nbsp;&nbsp;交互信息</a></li> --%>
                        <li><a href="${ctx }/tasks/loadrackinfo">&nbsp;&nbsp;&nbsp;&nbsp;上片工位</a></li>
                        <li><a href="${ctx }/tasks/loadrackinfo2">&nbsp;&nbsp;&nbsp;&nbsp;吊装工位</a></li>            
                        <li><a href="${ctx }/Config/minche">&nbsp;&nbsp;&nbsp;&nbsp;设备状态</a></li>
                        <%-- <li><a href="${ctx }/Config/manualOperation">&nbsp;&nbsp;&nbsp;&nbsp;手动页面</a></li>         --%>                    
                    </ul>
                </li>
                
            </ul>
        </shiro:hasRole>
 
        <div
            style="position: absolute; bottom: 0px; height: 50px; width: 100%; background-color: #174852">
            <div
                style="height: 20px; width: 40%; padding-top: 15px; float: left;">
                <!-- User Account Menu -->
                <a href="${ctx }/home"> <!-- The user image in the navbar--> <img
                    src="${ctx}/static/images/HOME.jpg"
                    style="width: 30px; height: 30px; border-radius: 50%;">
                </a>
            </div>
 
            <div
                style="height: 20px; width: 30%; float: left; padding-top: 15px;">
                <!-- Menu Toggle Button -->
                <a href="${ctx }/device/deviceManage"> <!-- The user image in the navbar-->
                    <img src="${ctx}/static/images/setting.jpg" class="user-image"
                    alt="User Image"
                    style="width: 30px; height: 30px; border-radius: 50%;">
                </a>
            </div>
 
            <div
                style="height: 20px; width: 20%; float: right; padding-top: 15px;">
                <!-- Menu Toggle Button -->
                <a href="${ctx }/logout"> <!-- The user image in the navbar--> <img
                    src="${ctx}/static/images/out.jpg" class="user-image"
                    alt="User Image"
                    style="width: 30px; height: 30px; border-radius: 50%;">
                </a>
            </div>
        </div>
    </section>
    <!-- /.sidebar -->
</aside>