aboutsummaryrefslogtreecommitdiffstats
path: root/gui/app/views/layout/sideNav.html
blob: 4fc99cd4f692a2712b5c8f3290abb3f518219bae (plain)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<div class="naviSide">




    <ul class="nav bs-sidenav">

        <div class="panel-group " role="tablist " aria-multiselectable="true " bs-collapse style="margin-bottom:0px; ">
            <div class="panel panel-default ">
                <div class="panel-heading " role="tab ">
                    <h4 class="panel-title ">
                        <a bs-collapse-toggle style=" text-decoration: none;" ng-click="gotoProject();">
        Project
        </a>
                    </h4>

                </div>

            </div>
        </div>
        <div class="panel-group" role="tablist" aria-multiselectable="true" bs-collapse style="margin-bottom:0px;" ng-model="activeStatus">
            <div class="panel panel-default">
                <div class="panel-heading" role="tab">
                    <h4 class="panel-title">
                        <a bs-collapse-toggle style=" text-decoration: none;">
                            <div style="display:inline;" ng-click="gotoEnviron()">Environment </div>
                            <i class="fa fa-sort-asc" aria-hidden="true" style="margin-left: 71px;display:inline" ng-show="activeStatus==0"></i>
                            <i class="fa fa-sort-desc" aria-hidden="true" style="margin-left: 71px;display:inline" ng-show="activeStatus==-1"></i>
                        </a>
                    </h4>
                </div>
                <div class="panel-collapse" role="tabpanel" bs-collapse-target>
                    <div class="panel-body" style="border-top: 2px solid grey;text-align: right;cursor:pointer" ng-click="gotoOpenrcPage()" ng-class="{active:$state.includes('app.environmentDetail')}">
                        Openrc
                    </div>
                    <div class="panel-body " style="border:none;text-align: right;cursor:pointer" ng-click="gotoUploadPage()" ng-class="{active:$state.includes('app.uploadImage')}">
                        Image
                    </div>
                    <div class="panel-body " style="border:none;text-align: right;cursor:pointer" ng-click="gotoPodPage()" ng-class="{active:$state.includes('app.podUpload')}">
                        Pod File
                    </div>
                    <div class="panel-body " style="border:none;text-align: right;cursor:pointer" ng-click="gotoContainerPage()" ng-class="{active:$state.includes('app.container')}">
                        Container
                    </div>
                    <div class="panel-body " style="border:none;text-align: right;">
                        Others
                    </div>
                </div>
            </div>
        </div>

        <div class="panel-group " role="tablist " aria-multiselectable="true " bs-collapse style="margin-bottom:0px; ">
            <div class="panel panel-default ">
                <div class="panel-heading " role="tab ">
                    <h4 class="panel-title ">
                        <a bs-collapse-toggle style=" text-decoration: none;" ng-click="gotoTestcase()">
         Test Case
        </a>
                    </h4>

                </div>

            </div>
        </div>

        <div class="panel-group " role="tablist " aria-multiselectable="true " bs-collapse style="margin-bottom:0px; ">
            <div class="panel panel-default ">
                <div class="panel-heading " role="tab ">
                    <h4 class="panel-title ">
                        <a bs-collapse-toggle style=" text-decoration: none;" ng-click="gotoSuite()">
        Test Suite
        </a>
                    </h4>

                </div>

            </div>
        </div>



    </ul>





</div>


<style>
    .bs-sidenav {
        margin-top: 21px;
        margin-bottom: 20px;
        width: 124px;
    }

    .naviSide {
        height: 150%;
    }

    .nav {
        margin-bottom: 0;
        padding-left: 0;
        list-style: none;
    }

    .nav>li {
        position: relative;
        display: block;
    }

    li {
        display: list-item;
        text-align: -webkit-match-parent;
    }

    a {
        cursor: pointer;
    }

    a.active {
        background-color: #EEEEEE;
        border-radius: 5px;
        width: 165px;
    }
    /*
    a:hover {
        width: 165px;
    }*/

    .nav>li>a:hover,
    .nav>li>a:focus {
        text-decoration: underline;
        background-color: transparent;
    }

    .active.panel-body {
        background-color: #dfe3e4;
    }
</style>