-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update year in Explorer footer * Add hideFooter-property to config.js * Add htmlTitle-property to config.js * Add nflowLogoFile-property to config.js * Put workflow instance properties in a table (behind config.js workflowInfoTable-property) * Change layout for workflow instance properties and graph, and fix Grunt warnings * Fix review findings * Replace nflow_logo.svg reference (now inside layout.js) to cache-busted (created by filerev) version * Add CHANGELOG.md entries
- Loading branch information
Showing
10 changed files
with
134 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,55 @@ | ||
<section class="wd-workflow-info"> | ||
<div ng-show="ctrl.parentWorkflow">Parent workflow: | ||
<a ui-sref="workflow({id: ctrl.parentWorkflow.id})">{{ctrl.parentWorkflow.type}} ({{ctrl.parentWorkflow.id}})</a> | ||
</div> | ||
<div ng-show="ctrl.childWorkflows.length">Child workflows: | ||
<strong><a ui-sref="search({parentWorkflowId: ctrl.workflow.id})">{{ctrl.childWorkflows.length}}</a></strong> | ||
</div> | ||
Created: <strong title="{{ctrl.workflow.created | fromNow}}">{{ctrl.workflow.created | date:'yyyy-MM-dd HH:mm:ss' }}</strong><br/> | ||
Started: <strong title="{{ctrl.workflow.started | fromNow}}">{{ctrl.workflow.started | date:'yyyy-MM-dd HH:mm:ss' }}</strong><br/> | ||
Modified: <strong title="{{ctrl.workflow.modified | fromNow}}">{{ctrl.workflow.modified | date:'yyyy-MM-dd HH:mm:ss' }}</strong><br/> | ||
Current state: <strong class="wd-active-state clickable" ng-click="ctrl.selectAction(ctrl.workflow.state)">{{ctrl.workflow.state}}</strong> | ||
<span ng-show="ctrl.workflow.stateText">({{ctrl.workflow.stateText}})</span><br/> | ||
Current status: <strong>{{ctrl.workflow.status}}</strong><br/> | ||
<div ng-show="ctrl.workflow.signal"> | ||
Current signal: <strong title="See supported signals tab in workflow definition">{{ctrl.workflow.signal}}</strong><br/> | ||
</div> | ||
Next activation: <strong title={{ctrl.workflow.nextActivation}}>{{ctrl.workflow.nextActivation | fromNowOrNever}}</strong> | ||
<div>Workflow id: <strong>{{ctrl.workflow.id}}</strong></div> | ||
<div>Priority: <strong>{{ctrl.workflow.priority}}</strong><br/> | ||
<div ng-show="ctrl.workflow.businessKey">Business key: <code>{{ctrl.workflow.businessKey}}</code></div> | ||
<div ng-show="ctrl.workflow.externalId">External id: <code>{{ctrl.workflow.externalId}}</code></div> | ||
<table class="workflow-properties"> | ||
<tr ng-if="ctrl.parentWorkflow"> | ||
<td>Parent workflow</td> | ||
<td><a ui-sref="workflow({id: ctrl.parentWorkflow.id})">{{ctrl.parentWorkflow.type}} ({{ctrl.parentWorkflow.id}})</a></td> | ||
</tr> | ||
<tr ng-if="ctrl.childWorkflows.length"> | ||
<td>Child workflows</td> | ||
<td><a ui-sref="search({parentWorkflowId: ctrl.workflow.id})">{{ctrl.childWorkflows.length}}</a></td> | ||
</tr> | ||
<tr title="{{ctrl.workflow.stateText}}"> | ||
<td>Current state</td> | ||
<td> | ||
<a class="wd-active-state clickable" ng-click="ctrl.selectAction(ctrl.workflow.state)">{{ctrl.workflow.state}}</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Current status</td> | ||
<td>{{ctrl.workflow.status}}<br/> | ||
</tr> | ||
<tr title={{ctrl.workflow.nextActivation}}> | ||
<td>Next activation</td> | ||
<td>{{ctrl.workflow.nextActivation | fromNowOrNever}}</td> | ||
</tr> | ||
<tr ng-if="ctrl.workflow.businessKey"> | ||
<td>Business key</td> | ||
<td><code>{{ctrl.workflow.businessKey}}</code></td> | ||
</tr> | ||
<tr ng-if="ctrl.workflow.externalId"> | ||
<td>External id</td> | ||
<td><code>{{ctrl.workflow.externalId}}</code></td> | ||
</tr> | ||
<tr ng-if="ctrl.workflow.signal" title="See supported signals tab in workflow definition"> | ||
<td>Current signal</td> | ||
<td>{{ctrl.workflow.signal}}</td> | ||
</tr> | ||
<tr ng-if="!!ctrl.workflow.priority" title="High value means high priority"> | ||
<td>Priority</td> | ||
<td>{{ctrl.workflow.priority}}</td> | ||
</tr> | ||
<tr title="{{ctrl.workflow.created | fromNow}}"> | ||
<td>Created</td> | ||
<td>{{ctrl.workflow.created | date:'yyyy-MM-dd HH:mm:ss'}}</td> | ||
</tr> | ||
<tr ng-if="ctrl.workflow.started" title="{{ctrl.workflow.started | fromNow}}"> | ||
<td>Started</td> | ||
<td>{{ctrl.workflow.started | date:'yyyy-MM-dd HH:mm:ss'}}</td> | ||
</tr> | ||
<tr title="{{ctrl.workflow.modified | fromNow}}"> | ||
<td>Modified</td> | ||
<td>{{ctrl.workflow.modified | date:'yyyy-MM-dd HH:mm:ss'}}</td> | ||
</tr> | ||
</table> | ||
<custom-content func="ctrl.contentGenerator(ctrl.definition, ctrl.workflow, ctrl.parentWorkflow, ctrl.childWorkflows)"></custom-content> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters