Merge "Add more parameters in iperf3 taml"
[yardstick.git] / gui / app / views / testcaselist.html
1 <div class="content">
2     <!--testcaselist-->
3     <i class="fa fa-arrow-left fa-1x" aria-hidden="true" style="color: #999;cursor:pointer" ng-click="goBack()">Back</i>
4
5     <div>
6         Test Cases
7         <button class="btn btn-default" style="margin-left:20px;" ngf-select="uploadFiles($file, $invalidFiles)" ngf-max-size="5MB">
8                                     <div ng-show="!loadingOPENrc">Upload</div>
9                                      <img src="images/loading2.gif" width="25" height="25" ng-if="loadingOPENrc" />
10                                     </button>
11
12         <!--<div ng-show="displayOpenrcFile!=null || displayOpenrcFile!=undefined">
13             {{displayOpenrcFile.name}} last modified: {{filelastModified}}
14         </div>-->
15         <hr/>
16
17         <!--<div ng-repeat="env in environmentList">
18             {{env.name}}
19         </div>-->
20         <div dw-loading="key" dw-loading-options="{text:'loading'}">
21         <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;background-color: #f9f9f9">
22             <div style="font-weight:600">Name</div>
23             <div style="font-weight:600;margin-right:20px;">Action</div>
24
25         </div>
26
27         <div dir-paginate="test in testcaselist.testcases | itemsPerPage: 10">
28             <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;">
29                 <div>
30
31                    <a style="color:#4dc5cf" ng-click="gotoDetail(test.Name)">
32                        {{test.Name}}
33                    </a>
34                     </div>
35                 <div style="font-size:10px;">{{test.Description}}</div>
36                 <div>
37                     <!-- <button class="btn btn-default btn-sm" ng-click="openDeleteEnv(test.Name,'test case')">Delete</button> -->
38                     <div class="btn-group" uib-dropdown is-open="status.isopen" >
39                             <button id="single-button" type="button" class="btn btn-default btn-sm" uib-dropdown-toggle>
40                             delete <span class="caret"></span>
41                         </button>
42                             <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">
43                                 <li role="menuitem"><a ng-click="openDeleteEnv(test.Name,'test case')">delete</a></li>
44
45                             </ul>
46                         </div>
47                 </div>
48
49             </div>
50
51         </div>
52         <center>
53             <dir-pagination-controls></dir-pagination-controls>
54         </center>
55         </div>
56
57
58
59
60
61
62
63     </div>
64
65
66
67
68 </div>
69
70 <toaster-container></toaster-container>
71
72 <style>
73     .deepColor {
74         background-color: #f9f9f9;
75     }
76
77     .form-control {
78         border-radius: 5px;
79         width: 300px;
80         margin-bottom: 10px;
81     }
82
83     .uploadbutton {
84         background-color: #007ACC;
85         color: #fff;
86         border: 0px;
87         border-radius: 5px;
88         height: 27px;
89     }
90
91     .edit-title {
92         border: 0px;
93         background-color: #ffffff;
94         margin-bottom: 5px;
95     }
96
97     .null-edit-title {
98         border: 1px solid #e5e6e7;
99         border-radius: 5px;
100         margin-bottom: 3px;
101     }
102
103     .item-info {
104         display: flex;
105         flex-direction: row;
106     }
107
108     .delete-img {
109         width: 19px;
110         height: 19px;
111         opacity: 0.8;
112         margin-left: 5px;
113         margin-top: 4px;
114         cursor: pointer;
115     }
116
117     .nextButton {
118         margin-top: 30px;
119         border: none;
120         border-radius: 5px;
121         padding: 6px;
122         background-color: #339933;
123         color: #ffffff;
124         text-align: center;
125         /* margin-left: 300px; */
126     }
127
128     .bs-sidenav {
129         margin-top: 40px;
130         margin-bottom: 20px;
131         width: 124px;
132     }
133
134     .nav {
135         margin-bottom: 0;
136         padding-left: 0;
137         list-style: none;
138     }
139
140     .nav>li {
141         position: relative;
142         display: block;
143     }
144
145     li {
146         display: list-item;
147         text-align: -webkit-match-parent;
148     }
149
150     a {
151         cursor: pointer;
152     }
153
154     a.active {
155         background-color: #EEEEEE;
156         border-radius: 5px;
157     }
158 </style>