-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrice-actionlist-angular.php
More file actions
90 lines (89 loc) · 4.8 KB
/
rice-actionlist-angular.php
File metadata and controls
90 lines (89 loc) · 4.8 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
$section = '';
$page = 'template';
?>
<!DOCTYPE html>
<html lang="en" ng-app="myApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kuali</title>
<?php include ('includes/resources/styles.php') ?>
<!-- Angular Core -->
<script src="js/angular.min.js"></script>
<script src="js/rice-angular-controllers.js"></script>
<script src="js/services.js"></script>
</head>
<body>
<div id="wrapper">
<?php include ('includes/page-components/rice-app-header.php') ?>
<?php include ('includes/page-components/rice-app-toolbar.php') ?>
<div class="container">
<div id="page-wrapper">
<main class="">
<header>
<div class="row">
<div class="col-xs-6">
<h2>Action List</h2>
</div>
<div class="col-xs-6 section-controls"> <a href="#" class="btn btn-xs btn-default" tabindex="0" data-role="Action" data-toggle="modal" data-target="#person-addAffiliation" data-submit_data="" data-dismiss=""><span aria-hidden="true" class="icon-cog" style="color:#999"></span> Preferences</a></div>
</div>
</header>
<ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
<li class="active"><a href="#actionRequests" data-toggle="tab">Action Requests</a></li>
<li><a href="#completedActions" data-toggle="tab">Completed Actions</a></li>
</ul>
<div id="my-tab-content" class="tab-content">
<div class="tab-pane active" id="actionRequests">
<div class="main" ng-controller = "MyController">
<div class="row" style="margin-bottom:20px">
<div class="col-xs-6">
<h3> Action Requests</h3>
</div>
<div class="col-xs-6 text-right">
<input placeholder="filter list" ng-model="searchText" style="margin-top:20px">
</div>
</div>
<table class="table table-condensed table-smaller-text table-bordered dataTable tablesaw-stack" data-mode="stack">
<thead>
<tr>
<th><span ng-click="predicate = 'id'; reverse=!reverse">Doc ID</span></th>
<th><span ng-click="predicate = 'Type'; reverse=!reverse">Type</span></th>
<th><span ng-click="predicate = 'Title'; reverse=!reverse">Title</span></th>
<th><span ng-click="predicate = 'state'; reverse=!reverse">Routing</span></th>
<th><span ng-click="predicate = 'ActionRequest'; reverse=!reverse">Action Requested</span></th>
<th><span ng-click="predicate = 'initiatorId'; reverse=!reverse">Initiator</span></th>
<th><span ng-click="predicate = 'CurrentRouteNode'; reverse=!reverse">Current Route Node</span></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in processInstances | orderBy:predicate:reverse | filter:searchText">
<td class="item-featured">{{item.id}}</td>
<td><!--{{item.Type}}--></td>
<td><!--{{item.Title}}--></td>
<td>{{item.state}}</td>
<td><!--{{item.ActionRequest}}--></td>
<td>{{item.initiatorId}}</td>
<td><!--{{item.CurrentRouteNode}}--></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab-pane" id="completedActions"> </div>
</div>
</main>
</div>
</div>
</div>
<footer class="navbar navbar-default navbar-fixed-bottom footer-actions">
<div class="container-fluid text-center">
<button type="button" class="btn btn-primary">Submit </button>
<button type="button" class="btn btn-default">Save </button>
<button type="button" class="btn btn-default">Cancel </button>
</div>
</footer>
<?php include ('includes/resources/rice-footer-scripts.php') ?>
</body>
</html>