2 <i class="fa fa-arrow-left fa-1x" aria-hidden="true" style="color: #999;cursor:pointer" ng-click="goBack()">Back</i>
8 <div style="display:inline">Name <input type="text" ng-model="taskDetailData.name" style="width:200px" /></div>
10 <button class="btn btn-default" ng-click="runAtask()" style="float:right;margin-right:10px;">Run</button>
15 <div data-title="Environment" bs-pane>
16 <div style="margin-top:10px">
17 <div style="display:inline">Choose Environment : {{envName}}</div>
18 <button class="btn btn-default" style="display:inline;float:right;margin-right:10px;margin-top: -4px;" ng-click="addEnvToTask()">Confirm</button>
21 <div dir-paginate="env in environmentList | orderBy:'-id' | itemsPerPage: 10 ">
22 <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;" ng-class="{deepColor: $index%2==0}">
23 <div> {{env.name}}</div>
24 <!--<button class="btn btn-default btn-sm" ng-click="gotoDetail('false',env.uuid)">detail</button>-->
25 <span class="glyphicon glyphicon-check" aria-hidden="true" ng-click="constructTestSuit(env.uuid,env.name)" ng-show="selectEnv==env.uuid"></span>
26 <span class="glyphicon glyphicon-unchecked" aria-hidden="true" ng-click="constructTestSuit(env.uuid,env.name)" ng-show="selectEnv!=env.uuid"></span>
29 <!--<hr style="margin-top:5px;margin-bottom:5px;" />-->
32 <dir-pagination-controls></dir-pagination-controls>
36 <div data-title="Content" bs-pane>
37 <div style="margin-top:10px;">
38 <button class="btn btn-default" ng-click="changeStatussourceFalse()">Modify Content</button>
39 <button class="btn btn-default" ng-click="changeStatussourceTrue()">Modify Source</button>
40 <div class="label-type" ng-show="taskDetailData.suite==false"> Test Case</div>
41 <div class="label-type" ng-show="taskDetailData.suite==true"> Test Suite</div>
42 <button class="btn btn-default" style="float:right" ng-disabled="sourceShow==null" ng-click="confirmToServer(contentInfo,taskDetailData.content)">Confirm</button>
45 <div ng-show="sourceShow==false" style="display:flex;flex-direction:row;justify-content:space-between;margin-top:10px;">
46 <textarea class="col-md-8" ng-model="taskDetailData.content" style="margin-top:5px;" spellcheck="false"></textarea>
47 <div class="col-md-4" style="border:1px solid #e8e8e8;margin-top:5px;margin-left:10px;padding-top:30px;">
48 <h4>Optional Paramters:</h4>
49 <form class="form-horizontal col-md-offset-2" style="margin-top:20px">
50 <div ng-repeat="(name, value) in optionalParams" class="form-group">
51 <label for="param{{$index}}" class="col-md-5" style="font-weight:normal;">{{ name }}:</label>
52 <div class="col-md-5">
53 <input type="text" ng-model="value.value" class="form-control" id="param{{$index}}">
60 <div ng-show="sourceShow==true">
61 <div style="display:flex;flex-direction:row">
62 <div style="margin-top:20px;">Source of Content</div>
65 <select ng-model="selectType" ng-change="triggerContent(selectType)" data-ng-options="blisterPackTemplate as blisterPackTemplate.name for blisterPackTemplate in blisterPackTemplates">
66 <option value="">Choose...</option>
71 <div style="margin-top:10px" ng-show="selectCase!=null ">
72 <div style="display:inline">Choose Source : {{selectCase}}</div>
73 <!--<button class="btn btn-default" style="display:inline;float:right;margin-right:10px;margin-top: -4px;" ng-click="confirmAddCaseOrSuite(contentInfo)">Confirm</button>-->
74 <button class="btn btn-default" style="display:inline;float:right;margin-right:10px;margin-top: -4px;" ng-click="getTestDeatil()">Edit</button>
78 <div ng-show="displayTable==true">
79 <div ng-show="testcaselist.testcases.length!=0 && selectType.name=='Test Case'">
80 <div dir-paginate="test in testcaselist.testcases | itemsPerPage: 10" pagination-id="testcase">
81 <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;" ng-class="{deepColor: $index%2==0}">
82 <div> {{test.Name}}</div>
83 <div style="font-size:10px;">{{test.Description}}</div>
84 <span class="glyphicon glyphicon-check" aria-hidden="true" ng-click="constructTestCase(test.Name)" ng-show="selectCase==test.Name"></span>
85 <span class="glyphicon glyphicon-unchecked" aria-hidden="true" ng-click="constructTestCase(test.Name)" ng-show="selectCase!=test.Name"></span>
88 <!--<hr style="margin-top:5px;margin-bottom:5px;" />-->
91 <dir-pagination-controls pagination-id="testcase"></dir-pagination-controls>
95 <div ng-show="testsuitlist.length!=0 && selectType.name=='Test Suite'">
96 <div dir-paginate="suite in testsuitlist | itemsPerPage: 10" pagination-id="testsuite">
97 <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;" ng-class="{deepColor: $index%2==0}">
100 <span class="glyphicon glyphicon-check" aria-hidden="true" ng-click="constructTestCase(suite)" ng-show="selectCase==suite"></span>
101 <span class="glyphicon glyphicon-unchecked" aria-hidden="true" ng-click="constructTestCase(suite)" ng-show="selectCase!=suite"></span>
104 <!--<hr style="margin-top:5px;margin-bottom:5px;" />-->
107 <dir-pagination-controls pagination-id="testsuite"></dir-pagination-controls>
112 <div ng-show="displayTable==false">
113 <textarea ng-model="contentInfo" spellcheck="false">
126 <toaster-container></toaster-container>
132 border: 1px solid #eeeeee;
138 background-color: #f9f9f9;
144 border: 1px solid #e8e8e8;
154 border: 1px solid #e8e8e8;
159 background-color: #2ecc71;