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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
|
# --
# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
[%
SET OTRSBusinessLabel = '<strong>OTRS Business Solution</strong>™';
SET OTRSBusinessLinkLabel = '<strong><a href="#" class="OTRSBusinessRequired">OTRS Business Solution</a></strong>™';
%]
<div class="MainBox ARIARoleMain LayoutFixedSidebar SidebarFirst">
<h1>[% Translate("Process Management") | html %]</h1>
<div class="SidebarColumn">
<div class="WidgetSimple">
<div class="Header">
<h2><label for="Filter">[% Translate("Filter for Processes") | html %]</label></h2>
</div>
<div class="Content">
<input type="text" id="Filter" class="W95pc" name="Filter" value="" title="[% Translate("Filter") | html %]" placeholder="[% Translate("Just start typing to filter...") | html %]" />
</div>
</div>
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Actions") | html %]</h2>
</div>
<div class="Content">
<ul class="ActionList">
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ProcessNew" class="CallForAction Fullsize Center"><span><i class="fa fa-plus-square"></i> [% Translate("Create New Process") | html %]</span></a>
</li>
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ProcessSync" class="CallForAction Fullsize Center"><span><i class="fa fa-rocket"></i> [% Translate("Deploy All Processes") | html %]</span></a>
</li>
</ul>
</div>
</div>
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Configuration Import") | html %]</h2>
</div>
<div class="Content">
<p class="FieldExplanation">
[% Translate("Here you can upload a configuration file to import a process to your system. The file needs to be in .yml format as exported by process management module.") | html %]
</p>
<ul class="ActionList SpacingTop">
<li>
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="ProcessImport"/>
<input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
<input name="FileUpload" id="FileUpload" type="file" size="18" class="Fixed W100pc Validate_Required [% Data.FileUploadInvalid | html %]"/>
<div id="FileUploadError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<div id="FileUploadServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<fieldset class="SpacingTop">
<input type="checkbox" id="OverwriteExistingEntitiesImport" name="OverwriteExistingEntities" value="1" checked="checked" />
<label for="OverwriteExistingEntitiesImport">[% Translate("Overwrite existing entities") | html %]</label>
</fieldset>
<button class="CallForAction Fullsize Center SpacingTop" type="submit" value="[% Translate("Upload process configuration") | html %]">
<span><i class="fa fa-upload"></i>[% Translate("Import process configuration") | html %]</span>
</button>
</form>
</li>
</ul>
</div>
</div>
<div class="WidgetSimple" id="ExampleProcesses">
<div class="Header">
<h2>[% Translate("Ready-to-run Processes") | html %]</h2>
</div>
<div class="Content">
<p class="FieldExplanation">
[% Translate("Here you can activate ready-to-run processes showcasing our best practices. Please note that some additional configuration may be required." ) %]
</p>
[% IF !Data.OTRSBusinessIsInstalled %]
<p class="FieldExplanation">
[% Translate("Would you like to benefit from processes created by experts? Upgrade to %s to import some sophisticated ready-to-run processes.", OTRSBusinessLinkLabel) %]
</p>
[% END %]
<ul class="ActionList SpacingTop">
<li>
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="ProcessImport"/>
<input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
[% Data.ExampleProcessList %]
<div id="ExampleProcessError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<div id="ExampleProcessServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<fieldset class="SpacingTop">
<input type="checkbox" id="OverwriteExistingEntitiesExample" name="OverwriteExistingEntities" value="1" checked="checked" />
<label for="OverwriteExistingEntitiesExample">[% Translate("Overwrite existing entities") | html %]</label>
</fieldset>
<button class="CallForAction Fullsize Center SpacingTop" type="submit" value="[% Translate("Import ready-to-run process") | html %]">
<span><i class="fa fa-upload"></i>[% Translate("Import ready-to-run process") | html %]</span>
</button>
</form>
</li>
</ul>
</div>
</div>
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Description") | html %]</h2>
</div>
<div class="Content">
<p class="FieldExplanation">
[% Translate("To create a new Process you can either import a Process that was exported from another system or create a complete new one.") | html %]
</p>
<p class="FieldExplanation">
[% Translate("Changes to the Processes here only affect the behavior of the system, if you synchronize the Process data. By synchronizing the Processes, the newly made changes will be written to the Configuration.") | html %]
</p>
</div>
</div>
</div>
<div class="ContentColumn">
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Processes") | html %]</h2>
</div>
<div class="Content">
<table class="DataTable" id="Processes">
<thead>
<tr>
<th>[% Translate("Process name") | html %]</th>
<th>[% Translate("Description") | html %]</th>
<th>[% Translate("State") | html %]</th>
<th class="Center">[% Translate("Export") | html %]</th>
<th class="Center">[% Translate("Copy") | html %]</th>
<th class="Center">[% Translate("Print") | html %]</th>
</tr>
</thead>
<tbody>
[% RenderBlockStart("ProcessRow") %]
<tr [% IF Data.State != "Active"%]class="Invalid"[% END %]>
<td>
<a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ProcessEdit;ID=[% Data.ID | uri %];EntityID=[% Data.EntityID | uri %]" title="[% Data.Name | html %] ([% Data.EntityID | html %])">
[% Data.Name | html %]
</a>
</td>
<td title="[% Data.Description | html %]">[% Data.Description | truncate(80) | html %]</td>
<td>[% Translate(Data.State) | html %]</td>
<td class="Center">
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ProcessExport;ID=[% Data.ID | uri %]" title="[% Translate("Export Process Configuration") | html %]">
<i class="fa fa-download"></i> <span class="InvisibleText">[% Translate("Export") | html %]</span>
</a>
</td>
<td class="Center">
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ProcessCopy;ID=[% Data.ID | uri %];[% Env("ChallengeTokenParam") | html %]" title="[% Translate("Copy Process") | html %]">
<i class="fa fa-copy"></i> <span class="InvisibleText">[% Translate("Copy") | html %]</span>
</a>
</td>
<td class="Center">
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ProcessPrint;ID=[% Data.ID | uri %];[% Env("ChallengeTokenParam") | html %]" class="AsPopup PopupType_ProcessOverview">
<i class="fa fa-print"></i> <span class="InvisibleText">[% Translate("Print") | html %]</span>
</a>
</td>
</tr>
[% RenderBlockEnd("ProcessRow") %]
[% RenderBlockStart("ProcessNoDataRow") %]
<tr>
<td colspan="4">
[% Translate("No data found.") | html %]
</td>
</tr>
[% RenderBlockEnd("ProcessNoDataRow") %]
</tbody>
</table>
</div>
</div>
</div>
<div class="Clear"></div>
</div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
Core.Agent.Admin.ProcessManagement.InitProcessOverview();
//]]></script>
[% END %]
|