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
|
# --
# 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.
# --
<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.Valid %]
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=View;StatID=[% Data.StatID | html %]" class="CallForAction Fullsize Center"><span><i class="fa fa-caret-square-o-right"></i>[% Translate("Run now") | html %]</span></a>
</li>
[% END %]
</ul>
</div>
</div>
</div>
<div class="ContentColumn">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" class="Validate StatsEditForm">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="EditAction"/>
<input type="hidden" name="StatID" value="[% Data.StatID | html %]"/>
<div class="WidgetSimple Collapsed">
<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("General Specification") | html %]</h2>
</div>
<div class="Content">
[% Data.GeneralSpecificationsWidget %]
</div>
</div>
[% IF Data.StatType == 'dynamic' %]
<div class="WidgetSimple PreviewWidget">
<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("Statistics Preview") | html %]</h2>
</div>
<div class="Content PreviewContainer">
[% Data.PreviewWidget %]
</div>
</div>
[% END %]
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Save 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 %]
<button class="CallForAction" type="submit" id="SaveAndFinish" name="SaveAndFinish" value="[% Translate("Save and finish") | html %]">
<span>[% Translate("Save and finish") | html %]</span>
</button>
<input autocomplete="off" type="hidden" name="ReturnToStatisticOverview" id="ReturnToStatisticOverview" value="" />
[% Translate('or') | html %]
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Overview">
[% Translate('Cancel') | html %]
</a>
</div>
</fieldset>
</div>
</div>
</form>
# <!-- append after form to avoid element submit -->
[% Data.XAxisWidget %]
[% Data.YAxisWidget %]
[% Data.RestrictionsWidget %]
</div>
</div>
|