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 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
|
# --
# Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
<div class="MainBox ARIARoleMain AdminSupportDataCollector LayoutFixedSidebar SidebarFirst">
<h1 class="InvisibleText">[% Translate("Support Data Collector") | html %]</h1>
[% BreadcrumbPath = [
{
Name => Translate('Support Data Collector'),
},
]
%]
[% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]
<div class="SidebarColumn">
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Note") | html %]</h2>
</div>
<div class="Content">
<ul class="ActionList">
[% RenderBlockStart("CloudServicesWarning") %]
<li>
<p class="FieldExplanation Error">
[% Translate("Cloud services are currently disabled.") | html %]
</br>
[% Translate("Sending support data to OTRS Group is not possible!") | html %]
</p>
<form action="[% Env("CGIHandle") %]" method="post">
<input type="hidden" name="Action" value="AdminSystemConfiguration"/>
<input type="hidden" name="Subaction" value="Edit"/>
<input type="hidden" name="SysConfigGroup" value="CloudService"/>
<input type="hidden" name="SysConfigSubGroup" value="Core"/>
<fieldset>
<button class="Fullsize CallForAction LittleSpacingTop Center" type="submit" value="[% Translate("Enable Cloud Services") | html %]">
<span><i class="fa fa-cloud"></i> [% Translate("Enable cloud services") | html %]</span>
</button>
</fieldset>
</form>
</li>
[% RenderBlockEnd("CloudServicesWarning") %]
[% RenderBlockStart("NoteRegisteredSending") %]
[% IF Config("Frontend::Module").AdminRegistration %]
<li>
<p class="FieldExplanation">[% Translate("This data is sent to OTRS Group on a regular basis. To stop sending this data please update your system registration.") | html %]</p>
<a href="[% Env("Baselink") %]Action=AdminRegistration;Subaction=Edit" class="CallForAction Fullsize Center">
<span><i class="fa fa-sign-in"></i> [% Translate("System Registration") | html %]</span>
</a>
</li>
<li class="Separated">
<a href="[% Env("Baselink") %]Action=AdminRegistration;Subaction=SentDataOverview" class="CallForAction Fullsize Center">
<span><i class="fa fa-cloud"></i> [% Translate("Show transmitted data") | html %]</span>
</a>
</li>
[% END %]
<li>
<p class="FieldExplanation">[% Translate("You can manually trigger the Support Data sending by pressing this button:") | html %]</p>
<a class="CallForAction Fullsize Center LittleSpacingTop" id="SendUpdate" name="SendUpdate" >
<span><i class="fa fa-cloud-upload"></i> [% Translate("Send Update") | html %]</span>
</a>
</li>
[% RenderBlockEnd("NoteRegisteredSending") %]
[% RenderBlockStart("NoteNotRegisteredNotSending") %]
[% IF Config("Frontend::Module").AdminRegistration %]
<li>
<p class="FieldExplanation">
[% Translate("Currently this data is only shown in this system.") | html %]
[% Translate("It is highly recommended to send this data to OTRS Group in order to get better support.") | html %]
<br/>
[% Translate("To enable data sending, please register your system with OTRS Group or update your system registration information (make sure to activate the 'send support data' option.)") | html %]
</p>
<a href="[% Env("Baselink") %]Action=AdminRegistration" class="CallForAction Fullsize Center">
<span><i class="fa fa-sign-in"></i> [% Translate("System Registration") | html %]</span>
</a>
</li>
[% END %]
[% RenderBlockEnd("NoteNotRegisteredNotSending") %]
[% RenderBlockStart("NoteSupportBundle") %]
<li>
<p class="FieldExplanation">[% Translate("A support bundle (including: system registration information, support data, a list of installed packages and all locally modified source code files) can be generated by pressing this button:") | html %]</p>
<a class="CallForAction Fullsize Center LittleSpacingTop" id="GenerateSupportBundle" name="GenerateSupportBundle" >
<span><i class="fa fa-archive"></i> [% Translate("Generate Support Bundle") | html %]</span>
</a>
</li>
[% RenderBlockEnd("NoteSupportBundle") %]
</ul>
</div>
</div>
</div>
<div id="SupportBundleOptionsDialogContainer" class="Hidden">
<div class="Spacing SupportBundleOptionsDialog" id="SupportBundleOptionsDialog">
<span class="W50pc" title=""></span>
<h2>[% Translate("The Support Bundle has been Generated") | html %]</h2>
<div class="FieldExplanation">
[% Translate("Please choose one of the following options.") | html %]
</div>
<div class="Spacing"></div>
<fieldset class="TableLike NoSupportBundleSendMessage Hidden">
<legend><span>[% Translate("Send by Email") | html %]</span></legend>
<div class="FieldExplanation SizeMessage Hidden">
[% Translate("The support bundle is too large to send it by email, this option has been disabled.") | html %]
</div>
<div class="FieldExplanation EmailMessage Hidden">
[% Translate("The email address for this user is invalid, this option has been disabled.") | html %]
</div>
<div class="Spacing"></div>
</fieldset>
<fieldset class="TableLike SupportBundleSendFieldSet">
<legend><span>[% Translate("Send by Email") | html %]</span></legend>
<label for="Name">[% Translate("Name") | html %]:</label>
<div class="Field">
<input type="text" id="Name" name="Name" value="[% Data.SenderName | html %]" class="W50pc" readonly="readonly" />
</div>
<div class="Clear"></div>
<label for="Sender">[% Translate("Email") | html %]:</label>
<div class="Field">
<input type="text" id="Sender" name="Sender" value="[% Data.SenderAddress | html %]" class="W50pc" readonly="readonly" />
</div>
<div class="Clear"></div>
<div class="Field">
<button class="CallForAction" value="SendByEmail" id="SendSupportBundle">
<span><i class="fa fa-send"></i> [% Translate("Send") | html %]</span>
</button>
<span id="SendingAJAXLoader" class="Hidden" title="[% Translate("Sending") | html %]"></span>
<div class="FieldExplanation">
[% Translate("The support bundle will be sent to OTRS Group via email automatically.") | html %]
</div>
</div>
</fieldset>
<fieldset class="TableLike">
<legend><span>[% Translate("Download File") | html %]</span></legend>
<div class="Field">
<button class="CallForAction" value="DownLoad" id="DownloadSupportBundle">
<span><i class="fa fa-download"></i> [% Translate("Download") | html %]</span>
</button>
<div class="FieldExplanation">
[% Translate("A file containing the support bundle will be downloaded to the local system. Please save the file and send it to the OTRS Group, using an alternate method.") | html %]
</div>
</div>
</fieldset>
</div>
</div>
[% RenderBlockStart("SupportDataCollectionFailed") %]
<div class="ContentColumn">
<h2>[% Translate("Support Data") | html %]</h2>
<div class="WidgetSimple">
<div class="Header">
</div>
<div class="Content">
<p>[% Translate("Error: Support data could not be collected (%s).", Data.ErrorMessage) | html %]</p>
</div>
</div>
</div>
[% RenderBlockEnd("SupportDataCollectionFailed") %]
[% RenderBlockStart("SupportData") %]
<div class="ContentColumn">
[% RenderBlockStart("SupportDataGroup") %]
<div class="WidgetSimple">
<div class="Header">
<div class="WidgetAction Toggle">
<a href="#" title="[% Translate("Show or hide the content") | html %]"><i class="fa fa-caret-right"></i><i class="fa fa-caret-down"></i></a>
</div>
<h2>[% Translate(Data.Group) | html %]</h2>
</div>
<div class="Content">
<ul class="CheckResults">
[% RenderBlockStart("SupportDataRow") %]
<li class="CheckResult[% Data.StatusName | html %]">
[% RenderBlockStart("SupportDataEntryTable") %]
<h3 class="Heading">
<span title="[% Translate(Data.StatusName) | html %]" class="Flag Small [% Data.StatusName | html %]">
<span>[% Data.StatusName | html %]</span>
</span>
[% Translate(Data.Label) | html %]
</h3>
[% RenderBlockStart("SupportDataEntryTableDetails") %]
<div class="SupportDataTableScrollbar">
<table class="DataTable SupportDataTable">
<thead>
[% FOR Label IN Data.Labels %]
<th>[% Translate(Label) | html %]</th>
[% END %]
</thead>
<tbody>
[% FOR Entry IN Data.Value %]
<tr>
[% FOR Identifier IN Data.Identifiers %]
<td>[% Entry.$Identifier %]</td>
[% END %]
</tr>
[% END %]
</tbody>
</table>
</div>
[% RenderBlockEnd("SupportDataEntryTableDetails") %]
[% RenderBlockEnd("SupportDataEntryTable") %]
[% RenderBlockStart("SupportDataEntry") %]
<h3 class="Heading">
<span title="[% Translate(Data.StatusName) | html %]" class="Flag Small [% Data.StatusName | html %]">
<span>[% Data.StatusName | html %]</span>
</span>
[% Translate(Data.Label) | html %]
[% RenderBlockStart("SupportDataEntryValueSingleLine") %]
<span class="Value">([% Data.Value | html %])</span>
[% RenderBlockEnd("SupportDataEntryValueSingleLine") %]
</h3>
<p class="SpacingTopSmall">[% Translate(Data.Message) | html %]</p>
[% RenderBlockStart("SupportDataEntryValueMultiLine") %]
<textarea rows="5" cols="80" readonly="readonly" class="Value">[% Data.Value | html %]</textarea>
[% RenderBlockEnd("SupportDataEntryValueMultiLine") %]
[% RenderBlockEnd("SupportDataEntry") %]
[% RenderBlockStart("SupportDataSubGroup") %]
<h3 class="Heading">
<span title="[% Translate(Data.StatusName) | html %]" class="Flag Small [% Data.StatusName | html %]">
<span>[% Data.StatusName | html %]</span>
</span>
[% Translate(Data.SubGroup) | html %]
</h3>
<table class="DataTable">
<tbody>
[% RenderBlockStart("SupportDataSubEntry") %]
<tr>
<td class="Status">
<span title="[% Translate(Data.StatusName) | html %]" class="Flag Small [% Data.StatusName | html %]">
<span>[% Data.StatusName | html %]</span>
</span>
</td>
<td class="ItemLabel">[% Translate(Data.Label) | html %]</td>
<td>[% Data.Value | html %]</td>
<td>
[% RenderBlockStart("SupportDataSubEntryMessage") %]
<a href="#" class="ShowItemMessage"><i class="fa fa-info-sign"></i> [% Translate("Details") | html %]</a>
<div class="Hidden">
[% IF Data.Message %]
<p class="DialogMessage">[% Translate(Data.Message) | html %]</p>
[% ELSIF Data.MessageFormatted %]
<pre class="DialogMessage">[% Translate(Data.MessageFormatted) | html %]</pre>
[% END %]
</div>
[% RenderBlockEnd("SupportDataSubEntryMessage") %]
</td>
</tr>
[% RenderBlockEnd("SupportDataSubEntry") %]
</tbody>
</table>
[% RenderBlockEnd("SupportDataSubGroup") %]
</li>
[% RenderBlockEnd("SupportDataRow") %]
</ul>
</div>
</div>
[% RenderBlockEnd("SupportDataGroup") %]
</div>
[% RenderBlockEnd("SupportData") %]
<div class="Clear"></div>
</div>
|