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
|
# --
# 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.
# --
<!-- start -->
<div class="MainBox ARIARoleMain LayoutFixedSidebar SidebarFirst">
<h1 class="Header">[% Translate("Session Management") | html %]</h1>
<div class="SidebarColumn">
[% RenderBlockStart("ActionList") %]
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Actions") | html %]</h2>
</div>
<div class="Content">
<ul class="ActionList">
[% RenderBlockStart("ActionOverview") %]
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %]" class="CallForAction Fullsize Center"><span><i class="fa fa-caret-left"></i>[% Translate("Go to overview") | html %]</span></a>
</li>
[% RenderBlockEnd("ActionOverview") %]
[% RenderBlockStart("ActionSummary") %]
<li>
<table class="DataTable">
<tr>
<td>[% Translate("All sessions") | html %]</td>
<td>[% Data.Counter | html %]</td>
</tr>
<tr>
<td>[% Translate("Agent sessions") | html %]</td>
<td>[% Data.UserSession | html %]</td>
</tr>
<tr>
<td>[% Translate("Customer sessions") | html %]</td>
<td>[% Data.CustomerSession | html %]</td>
</tr>
<tr>
<td>[% Translate("Unique agents") | html %]</td>
<td>[% Data.UserSessionUniq | html %]</td>
</tr>
<tr>
<td>[% Translate("Unique customers") | html %]</td>
<td>[% Data.CustomerSessionUniq | html %]</td>
</tr>
</table>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=KillAll;WantSessionID=[% Env("SessionID") %];[% Env("ChallengeTokenParam") | html %]" id="KillAllSessions" class="CallForAction LittleSpacingTop Fullsize Center"><span><i class="fa fa-trash-o"></i> [% Translate("Kill all sessions") | html %]</span></a>
</li>
[% RenderBlockEnd("ActionSummary") %]
[% RenderBlockStart("ActionKillSession") %]
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Kill;WantSessionID=[% Data.SessionID %];[% Env("ChallengeTokenParam") | html %]" id="KillThisSession" class="CallForAction Fullsize Center"><span><i class="fa fa-power-off"></i> [% Translate("Kill this session") | html %]</span></a>
</li>
[% RenderBlockEnd("ActionKillSession") %]
</ul>
</div>
</div>
[% RenderBlockEnd("ActionList") %]
</div>
<div class="ContentColumn">
<div class="WidgetSimple">
[% RenderBlockStart("Overview") %]
<div class="Header">
<h2>[% Translate("List") | html %]</h2>
</div>
<div class="Content">
<table class="DataTable">
<thead>
<tr>
<th>[% Translate("Session") | html %]</th>
<th>[% Translate("Type") | html %]</th>
<th>[% Translate("User") | html %]</th>
<th>[% Translate("Kill") | html %]</th>
</tr>
</thead>
<tbody>
[% RenderBlockStart("Session") %]
<tr>
<td>
<a class="AsBlock" href="[% Env("Baselink") %]Action=AdminSession;Subaction=Detail;WantSessionID=[% Data.SessionID | uri %]">[% Data.SessionID | html %]</a>
</td>
<td>[% Data.UserType | html %]</td>
<td>[% Data.UserFirstname | html %] [% Data.UserLastname %]</td>
<td>
<a class="AsBlock" href="[% Env("Baselink") %]Action=AdminSession;Subaction=Kill;WantSessionID=[% Data.SessionID | uri %];[% Env("ChallengeTokenParam") | html %]">[% Translate("Kill this session") | html %]</a>
</td>
</tr>
[% RenderBlockEnd("Session") %]
</tbody>
</table>
</div>
[% RenderBlockEnd("Overview") %]
[% RenderBlockStart("DetailView") %]
<div class="Header">
<h2>[% Translate("Detail View for SessionID") | html %] : [% Data.SessionID | html %] - [% Data.UserFirstname | html %] [% Data.UserLastname | html %]</h2>
</div>
<div class="Content">
<table class="DataTable">
<thead>
<tr>
<th>[% Translate("Key") | html %]</th>
<th>[% Translate("Value") | html %]</th>
</tr>
</thead>
<tbody>
[% RenderBlockStart("DetailViewRow") %]
<tr>
<td>[% Data.Key | html %]</td>
<td>[% Data.Value | html %]</td>
</tr>
[% RenderBlockEnd("DetailViewRow") %]
</tbody>
</table>
</div>
[% RenderBlockEnd("DetailView") %]
</div>
</div>
<div class="Clear"></div>
</div>
<!-- end -->
|