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
|
# --
# 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="SidebarColumn">
<div class="DontPrint WidgetSimple Collapsed Animate SettingsWidget">
<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("Settings") | html %]</h2>
</div>
<div class="Content">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="UpdateSettings"/>
<input type="hidden" name="CustomerID" value="[% Data.CustomerID | html %]"/>
<input type="hidden" name="CustomerUserID" value="[% Data.CustomerUserID | html %]"/>
<ul>
[% RenderBlockStart("ContentSettings") %]
<li>
<span title="[% Translate(Data.Description) | html %]">
<label for="Settings[% Data.Name | html %]">
<input type="checkbox" name="Backend" id="Settings[% Data.Name | html %]" value="[% Data.Name | html %]" [% Data.Checked %] [% Data.Readonly %]/>
[% Translate(Data.Title) | html %]
</label>
</span>
</li>
[% RenderBlockEnd("ContentSettings") %]
</ul>
<div class="Buttons NoMargin">
<button class="Button CallForAction" accesskey="g" title="[% Translate("Save settings") | html %] (g)" type="submit" value="[% Translate("Save") | html %]"><span>[% Translate("Save settings") | html %]</span></button>
</div>
</form>
</div>
</div>
[% RenderBlockStart("ContentSmall") %]
<div class="WidgetSimple CanDrag" id="Dashboard[% Data.Name | html %]-box">
<div class="Header">
<div class="ActionMenu">
[% RenderBlockStart("ContentSmallPreferences") %]
<div class="WidgetAction Settings">
<a href="#" id="Dashboard[% Data.Name | html %]-toggle" title="[% Translate("Settings") | html %]">
<i class="fa fa-cog"></i>
</a>
</div>
[% RenderBlockEnd("ContentSmallPreferences") %]
[% RenderBlockStart("ContentSmallRefresh") %]
<div class="WidgetAction Refresh">
<a href="#" id="Dashboard[% Data.Name | html %]_toggle" title="[% Translate("Refresh") | html %]">
<i class="fa fa-refresh"></i>
</a>
</div>
[% RenderBlockEnd("ContentSmallRefresh") %]
[% RenderBlockStart("ContentSmallRemove") %]
<div class="WidgetAction Close">
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=UpdateRemove;Name=[% Data.Name | uri %];CustomerID=[% Data.CustomerID | uri %];CustomerUserID=[% Data.CustomerUserID | uri %];[% Env("ChallengeTokenParam") | html %]" title="[% Translate("Close this widget") | html %]">
<i class="fa fa-times"></i>
</a>
</div>
[% RenderBlockEnd("ContentSmallRemove") %]
<div class="Clear"></div>
</div>
<h2 title="[% Translate(Data.Description) | html %]">[% Translate(Data.Title) | html %]</h2>
</div>
<div class="Content">
<div id="Dashboard[% Data.Name | html %]-setting" class="Hidden">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" name="Dashboard[% Data.NameForm | html %]_setting_form" id="Dashboard[% Data.NameForm | html %]_setting_form">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="UpdatePreferences"/>
<input type="hidden" name="Name" value="[% Data.Name | html %]"/>
<input type="hidden" name="CustomerID" value="[% Data.CustomerID | html %]"/>
<input type="hidden" name="CustomerUserID" value="[% Data.CustomerUserID | html %]"/>
<fieldset class="TableLike DontPrint">
[% RenderBlockStart("ContentSmallPreferencesItem") %]
[% RenderBlockStart("ContentSmallPreferencesItemOption") %]
<label for="[% Data.NamePref | html %]">[% Translate(Data.Desc) | html %]:</label>
<div class="Field DontPrint">
[% Data.Option %]
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallPreferencesItemOption") %]
[% RenderBlockStart("ContentSmallPreferencesItemInput") %]
<label class="DontPrint" for="[% Data.NamePref | html %]">[% Translate(Data.Desc) | html %]:</label>
<div class="Field DontPrint">
<input type="text" class="W100pc" name="[% Data.NamePref | html %]" value="[% Data.Data | html %]"/>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallPreferencesItemInput") %]
[% RenderBlockStart("ContentSmallPreferencesItemTextArea") %]
<label class="DontPrint" for="[% Data.NamePref | html %]">[% Translate(Data.Desc) | html %]:</label>
<div class="Field DontPrint">
<textarea rows="[% Data.Rows | html %]" cols="[% Data.Cols | html %]" name="[% Data.NamePref | html %]">[% Data.Data | html %]</textarea>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallPreferencesItemTextArea") %]
[% RenderBlockEnd("ContentSmallPreferencesItem") %]
<div class="SpacingTop Center">
<button id="Dashboard[% Data.Name | html %]_submit" class="button DontPrint CallForAction Primary" type="submit" value="[% Translate("Save") | html %]"><span>[% Translate("Save Changes") | html %]</span></button>
<button id="Dashboard[% Data.Name | html %]_cancel" class="button DontPrint CallForAction" type="submit" value="[% Translate("Cancel") | html %]"><span>[% Translate("Cancel") | html %]</span></button>
</div>
</fieldset>
</form>
</div>
<div id="Dashboard[% Data.Name | html %]">
[% Data.Content %]
</div>
[% RenderBlockStart("ContentSmallMore") %]
<a href="[% Data.Link %]" title="[% Translate(Data.LinkTitle) | html %]" class="small">[% Translate("more") | html %] »</a>
[% RenderBlockEnd("ContentSmallMore") %]
</div>
</div>
[% RenderBlockEnd("ContentSmall") %]
</div>
<div class="ContentColumn">
[% RenderBlockStart("MainMenu") %]
<div class="ActionRow SpacingBottom">
<ul class="Actions">
[% RenderBlockStart("MainMenuItem") %]
<li>
<a href="[% Data.Link | Interpolate %]">
[% Translate(Data.Name) | html %]
</a>
</li>
[% RenderBlockEnd("MainMenuItem") %]
</ul>
<div class="Clear"></div>
</div>
[% RenderBlockEnd("MainMenu") %]
[% RenderBlockStart("ContentLarge") %]
<div class="WidgetSimple CanDrag" id="Dashboard[% Data.Name | html %]-box">
<div class="Header">
<div class="ActionMenu">
[% RenderBlockStart("ContentLargePreferences") %]
<div class="WidgetAction Settings">
<a href="#" id="Dashboard[% Data.Name | html %]-toggle" title="[% Translate("Settings") | html %]">
<i class="fa fa-cog"></i>
</a>
</div>
[% RenderBlockEnd("ContentLargePreferences") %]
[% RenderBlockStart("ContentLargeRemove") %]
<div class="WidgetAction Close">
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=UpdateRemove;Name=[% Data.Name | uri %];CustomerID=[% Data.CustomerID | uri %];CustomerUserID=[% Data.CustomerUserID | uri %];[% Env("ChallengeTokenParam") | html %]" title="[% Translate("Close this widget") | html %]">
<i class="fa fa-times"></i>
</a>
</div>
[% RenderBlockEnd("ContentLargeRemove") %]
<div class="Clear"></div>
</div>
<h2 title="[% Translate(Data.Description) | html %]">[% Translate(Data.Title) | html %]</h2>
</div>
<div class="Content">
<div id="Dashboard[% Data.Name | html %]-setting" class="Hidden">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" name="Dashboard[% Data.NameForm | html %]_setting_form" id="Dashboard[% Data.NameForm | html %]_setting_form" class="WidgetSettingsForm">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="UpdatePreferences"/>
<input type="hidden" name="Name" value="[% Data.Name | html %]"/>
<input type="hidden" name="CustomerID" value="[% Data.CustomerID | html %]"/>
<input type="hidden" name="CustomerUserID" value="[% Data.CustomerUserID | html %]"/>
<fieldset class="TableLike FixedLabelSmall DontPrint">
[% RenderBlockStart("ContentLargePreferencesItem") %]
[% RenderBlockStart("ContentLargePreferencesItemOption") %]
<label class="DontPrint" for="[% Data.NamePref | html %]">[% Translate(Data.Desc) | html %]:</label>
<div class="DontPrint Field">
[% Data.Option %]
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentLargePreferencesItemOption") %]
[% RenderBlockStart("ContentLargePreferencesItemInput") %]
<label class="DontPrint" for="[% Data.NamePref | html %]">[% Translate(Data.Desc) | html %]:</label>
<div class="Field DontPrint">
<input type="text" class="W20pc" name="[% Data.NamePref | html %]" value="[% Data.Data | html %]"/>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentLargePreferencesItemInput") %]
[% RenderBlockStart("ContentLargePreferencesItemTextArea") %]
<label class="DontPrint" for="[% Data.NamePref | html %]">[% Translate(Data.Desc) | html %]:</label>
<div class="Field DontPrint">
<textarea rows="[% Data.Rows | html %]" cols="[% Data.Cols %]" name="[% Data.NamePref | html %]">[% Data.Data | html %]</textarea>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentLargePreferencesItemTextArea") %]
[% RenderBlockStart("ContentLargePreferencesItemAllocationList") %]
<input type="hidden" name="[% Data.NamePref | html %]" class="ColumnsJSON" value="[% Data.Columns | html %]" />
<input type="hidden" class="ColumnsEnabledJSON" value="[% Data.ColumnsEnabled | html %]" />
<input type="hidden" class="ColumnsAvailableJSON" value="[% Data.ColumnsAvailable | html %]" />
<label class="DontPrint">[% Translate(Data.Desc) | html %]:</label>
<div class="Field DontPrint LayoutGrid AllocationListContainer">
<div class="Size1of2">
<ul class="Tablelike">
<li class="Header">[% Translate("Available Columns") | html %]</li>
</ul>
<div class="FilterInputContainer">
<input type="text" class="FilterAvailableFields" name="FilterAvailableFields" value="" title="[% Translate("Filter available fields") | html %]" placeholder="[% Translate("Filter available fields") | html %]..." />
</div>
<ul class="AllocationList Tablelike AvailableFields" id="AvailableField-Dashboard[% Data.Name | html %]"></ul>
</div>
<div class="Size1of2">
<ul class="Tablelike">
<li class="Header">[% Translate("Visible Columns (order by drag & drop)") | html %]</li>
</ul>
<ul class="AllocationList Tablelike AssignedFields OrderNumbers" id="AssignedFields-Dashboard[% Data.Name | html %]"></ul>
</div>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentLargePreferencesItemAllocationList") %]
[% RenderBlockStart("ContentLargePreferencesItemRawHTML") %]
[% Data.HTML %]
[% RenderBlockEnd("ContentLargePreferencesItemRawHTML") %]
[% RenderBlockEnd("ContentLargePreferencesItem") %]
<div class="Buttons">
<button id="Dashboard[% Data.Name | html %]_submit" class="CallForAction DontPrint" type="submit" value="[% Translate("Submit") | html %]"><span>[% Translate("Save Changes") | html %]</span></button>
[% Translate("or") | html %]
<button id="Dashboard[% Data.Name | html %]_cancel" class="CallForAction DontPrint" type="submit" value="[% Translate("Cancel") | html %]"><span>[% Translate("Cancel") | html %]</span></button>
</div>
</fieldset>
</form>
</div>
<div id="Dashboard[% Data.Name | html %]">
[% Data.Content %]
</div>
[% RenderBlockStart("ContentLargeMore") %]
<a href="[% Data.Link %]" title="[% Translate(Data.LinkTitle) | html %]" class="small">[% Translate("more") | html %] »</a>
[% RenderBlockEnd("ContentLargeMore") %]
</div>
</div>
[% RenderBlockEnd("ContentLarge") %]
</div>
<div class="Clear"></div>
|