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
|
# --
# 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.
# --
<div class="MainBox AriaRoleMain LayoutFixedSidebar SidebarFirst">
<h1>[% Translate("Statistics ยป Add") | html %]</h1>
<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") %][% Env("LastStatsOverview") %]" class="CallForAction Fullsize Center"><span><i class="fa fa-caret-left"></i>[% Translate("Go to overview") | html %]</span></a>
</li>
</ul>
</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="AddAction"/>
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Add New Statistic") | html %]</h2>
</div>
<div class="Content BigButtonsContainer">
<div class="BigButtons">
<a href="#" data-statistic-preselection="DynamicMatrix" class="[% IF Data.StatisticPreselection == 'DynamicMatrix' %] Active[% END %][% IF !Data.ShowAddDynamicMatrixButton %] Disabled[% END %]">
<i class="fa fa-table"></i>
<strong>[% Translate('Dynamic Matrix') | html %]</strong>
<span>[% Translate('Tabular reporting data where each cell contains a singular data point (e. g. the number of tickets).') | html %]</span>
</a>
<a href="#" data-statistic-preselection="DynamicList" class="[% IF Data.StatisticPreselection == 'DynamicList' %] Active[% END %][% IF !Data.ShowAddDynamicListButton %] Disabled[% END %]">
<i class="fa fa-list"></i>
<strong>[% Translate('Dynamic List') | html %]</strong>
<span>[% Translate('Tabular reporting data where each row contains data of one entity (e. g. a ticket).') | html %]</span>
</a>
<a href="#" data-statistic-preselection="Static" class="[% IF Data.StatisticPreselection == 'Static' %] Active[% END %][% IF !Data.ShowAddStaticButton %] Disabled[% END %]">
<i class="fa fa-code"></i>
<strong>[% Translate('Static') | html %]</strong>
<span>[% Translate('Complex statistics that cannot be configured and may return non-tabular data.') | html %]</span>
</a>
</div>
</div>
</div>
<div class="WidgetSimple" id="GeneralSpecifications" [% IF !Data.ShowFormInitially %]style="display: none;"[% END %]>
<div class="Header">
<h2>[% Translate("General Specification") | html %]</h2>
</div>
<div class="Content">
[% IF Data.GeneralSpecificationsWidget %][% Data.GeneralSpecificationsWidget %][% END %]
</div>
</div>
<div class="WidgetSimple" id="SaveWidget" [% IF !Data.ShowFormInitially %]style="display: none;"[% END %]>
<div class="Header">
<h2>[% Translate("Create Statistic") | html %]</h2>
</div>
<div class="Content">
<fieldset class="TableLike">
<div class="Field SpacingTop">
<button class="Primary CallForAction" type="submit" value="[% Translate("Save") | html %]">
<span>[% Translate("Save") | html %]</span>
</button>
[% Translate('or') | html %]
<a href="[% Env("Baselink") %][% Env('LastStatsOverview') %]">
[% Translate('Cancel') | html %]
</a>
</div>
</fieldset>
</div>
</div>
</form>
</div>
</div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
Core.Agent.Statistics.InitAddScreen();
//]]></script>
[% END %]
|