mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:19:06 +01:00
5495491e78
- session_(dla|action) is stored in egw_access_log table - notifications refresh via ajax set notification_heartbeat timestamp in egw_access_log - if notification_heartbeat is set (happens only for browser sessions with popup notification) sessions get removed from session list one minute after browser is closed - new static method egw_session::notifications_active($account_id) to check if given user has an open browser with notifications popup checking, to ensure popup notifications can fall back to email --> REQUIRES DATABASE UPDATE / SETUP
86 lines
3.3 KiB
XML
86 lines
3.3 KiB
XML
<?xml version="1.0"?>
|
|
<!-- $Id$ -->
|
|
<overlay>
|
|
<template id="admin.accesslog.rows" template="" lang="" group="0" version="1.9.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column/>
|
|
<column disabled="@no_sessionstatus"/>
|
|
<column/>
|
|
<column/>
|
|
<column/>
|
|
<column disabled="@no_lo"/>
|
|
<column disabled="@no_total"/>
|
|
<column/>
|
|
<column/>
|
|
<column width="1%"/>
|
|
</columns>
|
|
<rows>
|
|
<row class="th">
|
|
<nextmatch-accountfilter options="LoginID" id="account_id"/>
|
|
<nextmatch-header label="Login-Status" id="sessionstatus"/>
|
|
<nextmatch-header label="Loginid" id="loginid"/>
|
|
<nextmatch-header label="IP" id="ip"/>
|
|
<nextmatch-sortheader label="Login" id="li"/>
|
|
<nextmatch-sortheader label="Logout" id="lo"/>
|
|
<nextmatch-header label="Total" id="total"/>
|
|
<nextmatch-sortheader label="Idle" id="session_dla"/>
|
|
<nextmatch-header label="Last action" id="session_action"/>
|
|
<hbox>
|
|
<description value="Actions" align="center"/>
|
|
<buttononly options="check" label="Select all" onclick="toggle_all(this.form,form::name('selected[]')); return false;"/>
|
|
</hbox>
|
|
</row>
|
|
<row class="row">
|
|
<menulist>
|
|
<menupopup type="select-account" id="${row}[account_id]" readonly="true" label="$row_cont[alt_loginid]"/>
|
|
</menulist>
|
|
<description id="${row}[sessionstatus]"/>
|
|
<description id="${row}[loginid]"/>
|
|
<description id="${row}[ip]"/>
|
|
<date-time id="${row}[li]" readonly="true"/>
|
|
<date-time id="${row}[lo]" readonly="true"/>
|
|
<date-duration id="${row}[total]" readonly="true" options=",hm,24"/>
|
|
<date-since id="${row}[session_dla]" readonly="true"/>
|
|
<description id="${row}[session_action]"/>
|
|
<hbox options="0,0" align="center">
|
|
<button image="delete" label="Delete" id="delete[$row_cont[sessionid]]" statustext="Delete this log entry" onclick="return confirm('Delete this log entry');"/>
|
|
<button image="close" label="Kill" id="kill[$row_cont[sessionid]]" onclick="return confirm('Are you sure you want to kill this session ?');"/>
|
|
<checkbox options="$row_cont[sessionid]" id="selected[]" align="right"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="admin.accesslog" template="" lang="" group="0" version="1.9.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row disabled="!@msg">
|
|
<description span="all" class="redItalic" align="center" id="msg"/>
|
|
<description/>
|
|
</row>
|
|
<row>
|
|
<nextmatch span="all" id="nm" options="admin.accesslog.rows"/>
|
|
</row>
|
|
<row>
|
|
<hbox options="0,0">
|
|
<description readonly="true" value="Percent of users that logged out"/>
|
|
<textbox type="float" precision="1" label=": %s %" readonly="true" id="percent"/>
|
|
</hbox>
|
|
<hbox align="right">
|
|
<button label="Delete" onclick="return confirm('Delete the selected entries');" id="delete" image="delete" statustext="Delete selected entries"/>
|
|
<button image="close" label="Kill" id="kill" onclick="return confirm('Are you sure you want to kill this session ?');"/>
|
|
<buttononly options="arrow_ltr" label="Select all" onclick="toggle_all(this.form,form::name('selected[]')); return false;"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<styles>
|
|
.selectAllArrow { padding-right: 12px; }
|
|
</styles>
|
|
</template>
|
|
</overlay> |