452dcafa4d5992a2c68f6dfb028d84678dc636ec
[portal/sdk.git] /
1
2 <div id="page-content" style=" width: 100%;" >
3         <br/>
4         <div >
5         <h1 class="heading-page">Workflow</h1>
6                 <button type="submit" ng-click="createWorkflow('md')" class="btn btn-alt btn-small" >Create Workflow</button>
7         </div>
8                 <div>
9                         <form>
10                         <div class="form-group" align="right">
11                                         <input type="text" ng-model="search" placeholder = "Search Workflows"/>
12                                 </div>
13                         </form>
14                 </div>
15         
16
17         
18
19 <div>
20 <table class="striped" table-data="tableData" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage">
21     <thead >    
22                 <tr class="info">
23                         <th >Id</th>
24                         <th>Name</th>
25                         <th>Key</th>
26                         <th>Description</th>
27                         <th>Workflow Server URL</th>
28                         <!-- <th>Suspend Link</th> -->
29                         <th>View</th>
30                         <th>Active</th>
31                         <th>Created </th>
32                         <th>Created By</th>
33                         <th>Action</th>
34                         <th>Schedule</th>                       
35                         <th>Edit</th>
36                         <th>Delete?</th>
37                         
38                         
39                 </tr>
40         </thead>
41           
42
43         <tbody type="body" ng-repeat="workflow in workflows | filter: search">
44                 <tr>            
45                         <td>{{workflow.id}}</td>
46                         <td>{{workflow.name}}</td>
47                         <td>{{workflow.workflowKey}}</td>
48                         <td>{{workflow.description}}</td>
49                         <td>{{workflow.runLink}}</td>
50                         <td><div ng-click="previewWorkflow(workflow,'lg');" style="font-size:20px;"><a href="javascript:void(0)" class=" icon-people-preview"></a></div></td>                   
51                         <!-- <td>{{workflow.suspendLink}}</td> -->
52                         <td >{{workflow.active}}</td>
53                         <td>{{workflow.created}}</td>
54                         <td>{{workflow.createdBy}}</td>
55                         <td><div ng-show="workflow.active ==='false'" ng-click="activateWorkflow(workflow)" style="font-size:20px;"><a href="javascript:void(0)" class="icon-controls-playalt"></a></div>
56                         <div ng-show="workflow.active ==='true'" ng-click="suspendWorkflow(workflow)" style="font-size:20px;"><a href="javascript:void(0)" class="icon-controls-pauseL"></a></div></td>
57                         <td><div ng-click="scheduleWorkflow(workflow);" style="font-size:20px;"><a href="javascript:void(0)" class="icon-misc-time"></a></div></td>                     
58                         <td><div ng-click="updateWorkflow(workflow);" style="font-size:20px;"><a href="javascript:void(0)" class="icon-misc-pen"></a></div></td>
59                         <td><div ng-click="removeWorkflow(workflow);" style="font-size:20px;"><a href="javascript:void(0)" class="icon-misc-trash"></a></div></td>
60                 </tr>
61         </tbody>
62 </table>
63 </div>
64
65   </div>