NewMaintenance.tt
2.51 KB
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
# --
# Kernel/Output/HTML/Standard/NewMaintenance.tt - template for quickly adding new maintenance
#
# Copyright (C) 2014-2018 - SeTIC - UFSC - http://setic.ufsc.br/
# Version 2015-08-01 - Adjustments for OTRS 4
# Version 2018-01-05 - Adjustments for OTRS 6
#
# --
# 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("New maintenance") | html %]</h1>
[% BreadcrumbPath = [
{
Name => Translate('Maintenances'),
Link => Env("Action"),
},
]
%]
[% BreadcrumbPath.push({ Name => Translate('New maintenance') }) %]
[% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]
<div class="ContentColumn">
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Enter maintenance data") | html %]</h2>
</div>
<div class="Content SpacingBottom ">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" name="form" id="form" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="CreateMaintenance"/>
<fieldset class="TableLike">
<label for="StartDate" class="Mandatory"><span class="Marker">*</span>[% Translate("Start date") | html %]:</label>
<div class="Field">
[% Data.StartDateSelectionString %]
</div>
<label for="ScheduledEndDate" class="Mandatory"><span class="Marker">*</span>[% Translate("End date") | html %]:</label>
<div class="Field">
[% Data.ScheduledEndDateSelectionString %]
</div>
<label class="OtherMandatory" for="Description"><span class="Marker">*</span> [% Translate("Description") | html %]:</label>
<div class="Field">
<textarea style="height: 50px; width: 400px;" id="Description" class="Validate_Required [% Data.BodyInvalid | html %]" name="Description" title="Message body">[% Data.Description %]</textarea>
</div>
</fieldset>
<input id='Cadastro' type='submit' value='[% Translate("Save") | html %]' style="margin-left: 50%"/>
</form>
</div>
</div>
</div>
</div>