2009-04-27 12:31:23 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2012-07-03 16:03:57 +02:00
<template id="admin.accesslog.rows" template="" lang="" group="0" version="1.9.003">
2009-04-27 12:31:23 +02:00
<grid width="100%">
<columns>
<column/>
2011-04-13 16:11:09 +02:00
<column disabled="@no_sessionstatus"/>
2009-04-27 12:31:23 +02:00
<column/>
<column/>
<column/>
2011-04-13 16:11:09 +02:00
<column disabled="@no_lo"/>
<column disabled="@no_total"/>
<column/>
2009-04-27 12:31:23 +02:00
<column/>
2012-06-01 15:13:06 +02:00
<column/>
2009-04-27 12:31:23 +02:00
<column width="1%"/>
</columns>
<rows>
<row class="th">
2012-06-01 15:13:06 +02:00
<nextmatch-accountfilter id="account_id" options="LoginID"/>
2011-04-13 16:11:09 +02:00
<nextmatch-header label="Login-Status" id="sessionstatus"/>
2012-07-03 16:03:57 +02:00
<nextmatch-sortheader label="Loginid" id="loginid"/>
<nextmatch-sortheader label="IP" id="ip"/>
2009-04-27 12:31:23 +02:00
<nextmatch-sortheader label="Login" id="li"/>
<nextmatch-sortheader label="Logout" id="lo"/>
<nextmatch-header label="Total" id="total"/>
2011-04-13 16:11:09 +02:00
<nextmatch-sortheader label="Idle" id="session_dla"/>
2012-07-03 16:03:57 +02:00
<nextmatch-sortheader label="Last action" id="session_action"/>
<nextmatch-sortheader label="User-Agent" id="user_agent"/>
2009-04-27 12:31:23 +02:00
<hbox>
2012-06-01 15:13:06 +02:00
<description align="center" value="Actions"/>
<buttononly label="Select all" onclick="toggle_all(this.form,form::name('selected[]')); return false;" options="check"/>
2009-04-27 12:31:23 +02:00
</hbox>
</row>
<row class="row">
<menulist>
2012-06-01 15:13:06 +02:00
<menupopup type="select-account" label="$row_cont[alt_loginid]" id="${row}[account_id]" readonly="true"/>
2009-04-27 12:31:23 +02:00
</menulist>
2011-04-13 16:11:09 +02:00
<description id="${row}[sessionstatus]"/>
<description id="${row}[loginid]"/>
2009-04-27 12:31:23 +02:00
<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"/>
2011-04-13 16:11:09 +02:00
<date-since id="${row}[session_dla]" readonly="true"/>
<description id="${row}[session_action]"/>
2012-06-01 15:13:06 +02:00
<description statustext="$row_cont[user_agent]" id="{$row}[user_agent]" class="userAgent"/>
<hbox align="center" options="0,0">
2013-12-05 12:19:18 +01:00
<button statustext="Delete this log entry" label="Delete" id="delete[$row_cont[sessionid]]" onclick="et2_dialog.confirm(widget,'Delete this log entry','Delete');" image="delete"/>
<button label="Kill" id="kill[$row_cont[sessionid]]" onclick="et2_dialog.confirm(widget,'Are you sure you want to kill this session ?','Kill');" image="close"/>
2012-06-01 15:13:06 +02:00
<checkbox align="right" id="selected[]" options="$row_cont[sessionid]"/>
2009-04-27 12:31:23 +02:00
</hbox>
</row>
</rows>
</grid>
</template>
2011-04-13 16:11:09 +02:00
<template id="admin.accesslog" template="" lang="" group="0" version="1.9.001">
2009-04-27 12:31:23 +02:00
<grid width="100%">
<columns>
<column/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
2012-06-01 15:13:06 +02:00
<description align="center" id="msg" span="all" class="redItalic"/>
2009-04-27 12:31:23 +02:00
<description/>
</row>
<row>
2012-06-01 15:13:06 +02:00
<nextmatch id="nm" options="admin.accesslog.rows" span="all"/>
2009-04-27 12:31:23 +02:00
</row>
<row>
<hbox options="0,0">
2012-06-01 15:13:06 +02:00
<description value="Percent of users that logged out" readonly="true"/>
<textbox type="float" label=": %s %" id="percent" precision="1" readonly="true"/>
2009-04-27 12:31:23 +02:00
</hbox>
<hbox align="right">
2013-12-05 12:19:18 +01:00
<button statustext="Delete selected entries" label="Delete" id="delete" onclick="et2_dialog.confirm(widget,'Delete the selected entries','Delete')" image="delete"/>
<button label="Kill" id="kill" onclick="et2_dialog.confirm(widget,'Are you sure you want to kill this session ?','Kill')" image="close"/>
2012-06-01 15:13:06 +02:00
<buttononly label="Select all" onclick="toggle_all(this.form,form::name('selected[]')); return false;" options="arrow_ltr"/>
2009-04-27 12:31:23 +02:00
</hbox>
</row>
</rows>
</grid>
<styles>
.selectAllArrow { padding-right: 12px; }
2012-06-01 15:13:06 +02:00
td.userAgent { max-width: 200px; }
td.userAgent span {
display: block;
white-space: nowrap;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
2009-04-27 12:31:23 +02:00
</styles>
</template>
</overlay>