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
|
# --
# Copyright (C) 2001-2019 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.
# --
## nofilter(TidyAll::Plugin::OTRS::TT::Format)
<div class="MainBox AriaRoleMain LayoutFixedSidebar SidebarFirst">
<h1>[% Translate("Statistics Overview") | html %]</h1>
<div class="Clear"></div>
<div class="SidebarColumn">
<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=Overview" class="CallForAction Fullsize Center"><span><i class="fa fa-caret-left"></i>[% Translate("Go to overview") | html %]</span></a>
</li>
[% IF Data.AccessRw %]
<li>
<a href="[% Env("Baselink") %]Action=AgentStatistics;Subaction=Edit;StatID=[% Data.StatID | uri %]" class="CallForAction Fullsize Center"><span><i class="fa fa-edit"></i>[% Translate("Edit") | html %]</span></a>
</li>
[% END %]
</ul>
</div>
</div>
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Statistics Information") | html %]</h2>
</div>
<div class="Content">
<fieldset class="TableLike FixedLabelSmall">
<label>[% Translate("Created") | html %]:</label>
<p class="Value">[% Data.Created | Localize("TimeLong") %]</p>
<div class="Clear"></div>
<label>[% Translate("Created by") | html %]:</label>
<p class="Value">[% Data.CreatedBy | html %]</p>
<div class="Clear"></div>
<label>[% Translate("Changed") | html %]:</label>
<p class="Value">[% Data.Changed | Localize("TimeLong") %]</p>
<div class="Clear"></div>
<label>[% Translate("Changed by") | html %]:</label>
<p class="Value">[% Data.ChangedBy | html %]</p>
<div class="Clear"></div>
<label>[% Translate("Sum rows") | html %]:</label>
<p class="Value">[% Translate(Data.SumRowValue) | html %]</p>
<div class="Clear"></div>
<label>[% Translate("Sum columns") | html %]:</label>
<p class="Value">[% Translate(Data.SumColValue) | html %]</p>
<div class="Clear"></div>
<label>[% Translate("Show as dashboard widget") | html %]:</label>
<p class="Value">[% Translate(Data.ShowAsDashboardWidgetValue) | html %]</p>
<div class="Clear"></div>
<label>[% Translate("Cache") | html %]:</label>
<p class="Value">[% Translate(Data.CacheValue) | html %]</p>
<div class="Clear"></div>
<label>[% Translate("Validity") | html %]:</label>
<p class="Value">[% Translate(Data.ValidValue) | html %]</p>
<div class="Clear"></div>
</fieldset>
</div>
</div>
</div>
<div class="ContentColumn">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" class="Validate">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="Run"/>
<input type="hidden" name="StatID" value="[% Data.StatID | html %]"/>
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Settings") | html %]</h2>
</div>
<div class="Content">
[% FOR Error IN Data.Errors %]
<div class="MessageBox Error"><p>[% Error | html %]</p></div>
[% END %]
[% IF Data.StatsParamsWidget %]
[% Data.StatsParamsWidget %]
<fieldset class="TableLike SpacingTop">
<div class="Value">
<button class="Primary CallForAction" type="submit" id="StartStatistic" name="Start" value="[% Translate("Run now") | html %]">
<span><i class="fa fa-caret-square-o-right"></i> [% Translate("Run now") | html %]</span>
</button>
[% Translate('or') | html %]
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Overview">
[% Translate('Cancel') | html %]
</a>
</div>
</fieldset>
[% ELSE %]
<div class="MessageBox Warning">
<p>[% Translate('This statistic contains configuration errors and can currently not be used.') | html %]</p>
</div>
[% END %]
</div>
</div>
</form>
</div>
</div>
|