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>
46 <textarea ng-model="taskDetailData.content" ng-show="sourceShow==false" style="margin-top:5px;" spellcheck="false">
51 <div ng-show="sourceShow==true">
52 <div style="display:flex;flex-direction:row">
53 <div style="margin-top:20px;">Source of Content</div>
56 <select ng-model="selectType" ng-change="triggerContent(selectType)" data-ng-options="blisterPackTemplate as blisterPackTemplate.name for blisterPackTemplate in blisterPackTemplates">
57 <option value="">Choose...</option>
62 <div style="margin-top:10px" ng-show="selectCase!=null ">
63 <div style="display:inline">Choose Source : {{selectCase}}</div>
64 <!--<button class="btn btn-default" style="display:inline;float:right;margin-right:10px;margin-top: -4px;" ng-click="confirmAddCaseOrSuite(contentInfo)">Confirm</button>-->
65 <button class="btn btn-default" style="display:inline;float:right;margin-right:10px;margin-top: -4px;" ng-click="getTestDeatil()">Edit</button>
69 <div ng-show="displayTable==true">
70 <div ng-show="testcaselist.testcases.length!=0 && selectType.name=='Test Case'">
71 <div dir-paginate="test in testcaselist.testcases | itemsPerPage: 10" pagination-id="testcase">
72 <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;" ng-class="{deepColor: $index%2==0}">
73 <div> {{test.Name}}</div>
74 <div style="font-size:10px;">{{test.Description}}</div>
75 <span class="glyphicon glyphicon-check" aria-hidden="true" ng-click="constructTestCase(test.Name)" ng-show="selectCase==test.Name"></span>
76 <span class="glyphicon glyphicon-unchecked" aria-hidden="true" ng-click="constructTestCase(test.Name)" ng-show="selectCase!=test.Name"></span>
79 <!--<hr style="margin-top:5px;margin-bottom:5px;" />-->
82 <dir-pagination-controls pagination-id="testcase"></dir-pagination-controls>
86 <div ng-show="testsuitlist.length!=0 && selectType.name=='Test Suite'">
87 <div dir-paginate="suite in testsuitlist | itemsPerPage: 10" pagination-id="testsuite">
88 <div style="display:flex;flex-direction:row;justify-content:space-between;padding:8px;border-top: 1px solid #e9ecec;" ng-class="{deepColor: $index%2==0}">
91 <span class="glyphicon glyphicon-check" aria-hidden="true" ng-click="constructTestCase(suite)" ng-show="selectCase==suite"></span>
92 <span class="glyphicon glyphicon-unchecked" aria-hidden="true" ng-click="constructTestCase(suite)" ng-show="selectCase!=suite"></span>
95 <!--<hr style="margin-top:5px;margin-bottom:5px;" />-->
98 <dir-pagination-controls pagination-id="testsuite"></dir-pagination-controls>
103 <div ng-show="displayTable==false">
104 <textarea ng-model="contentInfo" spellcheck="false">
119 <toaster-container></toaster-container>
125 border: 1px solid #eeeeee;
131 background-color: #f9f9f9;
137 border: 1px solid #e8e8e8;
147 border: 1px solid #e8e8e8;
152 background-color: #2ecc71;