171 lines
7.0 KiB
Plaintext
171 lines
7.0 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<!-- begin visitdetail.ftl -->
|
|
<div class="screenlet">
|
|
<div class="screenlet-title-bar">
|
|
<ul>
|
|
<li class="h3">${uiLabelMap.PartyVisitDetail}</li>
|
|
</ul>
|
|
<br class="clear"/>
|
|
</div>
|
|
<div class="screenlet-body">
|
|
<table class="basic-table" cellspacing="0">
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyVisitIDSessionID}</td>
|
|
<td>${visit.visitId!} / ${visit.sessionId!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyVisitorId}</td>
|
|
<td>${visit.visitorId?default("${uiLabelMap.CommonNot} ${uiLabelMap.CommonFound}")}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyPartyIDUserLoginID}</td>
|
|
<td><a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId!}</@ofbizUrl>">${visit.partyId!}</a> / <a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId!}</@ofbizUrl>">${visit.userLoginId!}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyUserCreated}</td>
|
|
<td>${visit.userCreated!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyWebApp}</td>
|
|
<td>${visit.webappName!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyServer}</td>
|
|
<td><a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress!}" target="_blank">${visit.serverIpAddress!}</a> / <a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress!}" target="_blank">${visit.serverHostName!}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyClient}</td>
|
|
<td><a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=${visit.clientIpAddress!}" target="_blank">${visit.clientIpAddress!}</a> / <a href="http://www.networksolutions.com/cgi-bin/whois/whois?STRING=${visit.clientHostName!}&SearchType=do" target="_blank">${visit.clientHostName!}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyClientUser}</td>
|
|
<td>${visit.clientUser!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyInitialLocale}</td>
|
|
<td>${visit.initialLocale!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyInitialRequest}</td>
|
|
<td><a href="${visit.initialRequest!}" >${visit.initialRequest!}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyInitialReferer}</td>
|
|
<td><a href="${visit.initialReferrer!}" >${visit.initialReferrer!}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyInitialUserAgent}</td>
|
|
<td>${visit.initialUserAgent!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.PartyCookie}</td>
|
|
<td>${visit.cookie!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.CommonFromDateThruDate}</td>
|
|
<td>${(visit.fromDate?string)!} / ${(visit.thruDate?string)?default(uiLabelMap.PartyStillActive)}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="screenlet">
|
|
<div class="screenlet-title-bar">
|
|
<ul>
|
|
<li class="h3">${uiLabelMap.PartyHitTracker}</li>
|
|
</ul>
|
|
<br class="clear"/>
|
|
</div>
|
|
<div class="screenlet-body">
|
|
<#if serverHits?has_content>
|
|
<div class="align-text">
|
|
<span class="label">
|
|
<#if 0 < viewIndex>
|
|
<a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonPrevious}</a> |
|
|
</#if>
|
|
<#if 0 < listSize>
|
|
${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}
|
|
</#if>
|
|
<#if highIndex < listSize>
|
|
| <a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonNext}</a>
|
|
</#if>
|
|
</span>
|
|
</div>
|
|
<br class="clear"/>
|
|
</#if>
|
|
<table class="basic-table hover-bar" cellspacing="0">
|
|
<tr class="header-row">
|
|
<td>${uiLabelMap.PartyContentId}</td>
|
|
<td>${uiLabelMap.PartyType}</td>
|
|
<td>${uiLabelMap.PartySize}</td>
|
|
<td>${uiLabelMap.PartyStartTime}</td>
|
|
<td>${uiLabelMap.PartyTime}</td>
|
|
<td>${uiLabelMap.PartyURI}</td>
|
|
</tr>
|
|
<#-- set initial row color -->
|
|
<#assign alt_row = false>
|
|
<#if serverHits?has_content>
|
|
<#list serverHits[lowIndex..highIndex-1] as hit>
|
|
<#assign serverHitType = hit.getRelatedOne("ServerHitType", false)!>
|
|
<tr<#if alt_row> class="alternate-row"</#if>>
|
|
<td>${hit.contentId!}</td>
|
|
<td>${serverHitType.get("description",locale)!}</td>
|
|
<td> ${hit.numOfBytes?default("?")}</td>
|
|
<td>${hit.hitStartDateTime?string!}</td>
|
|
<td>${hit.runningTimeMillis!}</td>
|
|
<td>
|
|
<#assign url = (hit.requestUrl)!>
|
|
<#if url??>
|
|
<#assign len = url?length>
|
|
<#if 45 < len>
|
|
<#assign url = url[0..45] + "...">
|
|
</#if>
|
|
</#if>
|
|
<a href="${hit.requestUrl!}" target="_blank">${url}</a>
|
|
</td>
|
|
</tr>
|
|
<#-- toggle the row color -->
|
|
<#assign alt_row = !alt_row>
|
|
</#list>
|
|
<#else>
|
|
<tr>
|
|
<td colspan="6">${uiLabelMap.PartyNoServerHitsFound}</td>
|
|
</tr>
|
|
</#if>
|
|
</table>
|
|
<#if serverHits?has_content>
|
|
<div class="align-text">
|
|
<span class="label">
|
|
<#if 0 < viewIndex>
|
|
<a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonPrevious}</a> |
|
|
</#if>
|
|
<#if 0 < listSize>
|
|
${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}
|
|
</#if>
|
|
<#if highIndex < listSize>
|
|
| <a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonNext}</a>
|
|
</#if>
|
|
</span>
|
|
</div>
|
|
<br class="clear"/>
|
|
</#if>
|
|
</div>
|
|
</div>
|