summaryrefslogtreecommitdiffstats
path: root/gui/app/views/testcasechoose.html
blob: 12fb28c906605764c50382a7f5e014c333e1d05f (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
<div class="content">

    <div>
        Test case list
        <button class="btn btn-default" style="margin-left:20px;" ng-click="openDialog()">
                                    <div ng-show="!loadingOPENrc">Create </div>
                                     <img src="images/loading2.gif" width="25" height="25" ng-if="loadingOPENrc" />
                                    </button>


        <hr/> You have choose :
        <div ng-repeat="selected in suitReconstructList" style="display:inline;" class="item">{{selected}}</div>
        <hr/>

        <!--<div ng-repeat="env in environmentList">
            {{env.name}}
        </div>-->
        <div dir-paginate="test in testcaselist.testcases | itemsPerPage: 10">
            <div style="display:flex;flex-direction:row;">
                <span class="glyphicon glyphicon-check" aria-hidden="true" ng-click="constructTestSuit(test.Name)" ng-show="testsuiteList.indexOf(test.Name)>-1"></span>
                <span class="glyphicon glyphicon-unchecked" aria-hidden="true" ng-click="constructTestSuit(test.Name)" ng-show="testsuiteList.indexOf(test.Name)==-1"></span>
                <div style="margin-left:50px;"> {{test.Name}}</div>
                <div style="font-size:10px;margin-left:100px">{{test.Description}}</div>

            </div>
            <hr style="margin-top:5px;margin-bottom:5px;" />
        </div>
        <center>
            <dir-pagination-controls></dir-pagination-controls>
        </center>



    </div>
    <toaster-container></toaster-container>

    <style>
        .item {
            background-color: #3498db;
            color: #fff;
            width: 150px;
            border-radius: 5px;
            padding-left: 10px;
            margin-left: 2px;
            margin-top: 3px;
            padding: 4px;
        }
    </style>