diff --git a/app/views/emarketing/_visitor_detail.rhtml b/app/views/emarketing/_visitor_detail.rhtml index d943dd15..eca8ef52 100644 --- a/app/views/emarketing/_visitor_detail.rhtml +++ b/app/views/emarketing/_visitor_detail.rhtml @@ -1,25 +1,28 @@ <% @date_format = "%d %b %T %p".t -%> +
- +
+ +

<% if @user -%> <%= 'User #%s:' / @user.id.to_s -%> <%= link_to @user.name, url_for(:controller => "/members", :action => 'view', :path => @user.id) -%> <% else -%> <%= 'Anonymous user from %s' / @entry.ip_address.to_s -%> <% end -%> -
-IP Address: <%= @entry.ip_address %>, <%= @entry.ip_address_name %> +

+ +IP Address: <%= @entry.ip_address %>, <%= @entry.ip_address_name %> <% if @entry.has_location? %> ( <%= @entry.location_display %> <%= link_to 'Location Estimate', "http://maps.google.com/maps?ll=#{@entry.latitude},#{@entry.longitude}", :target => '_blank' if @entry.latitude %> ) <% end -%> -
-Content Viewed last Visit:
+

Content Viewed last Visit:

<% @entry.last_session.session_content.each do |content_node| %> <%= link_to h(content_node.title), content_node.link %>
<% end -%> -
+
@@ -28,12 +31,16 @@
Where / Action
-
+ +
+ +
+
<% @sessions.each_with_index do |ses,idx| %>
Session started <%= ses.created_at.to_s(:long) %> from <%= ses.ip_address %>
<% ses.domain_log_entries.each_with_index do |entry, index| -%> <% next unless entry.is_a?(DomainLogEntry) -%> -
+
<%= entry.occurred_at.localize @date_format %>
<%= link_to entry.url, entry.url, :target => '_blank' %>
@@ -46,3 +53,5 @@ <% end -%>
+
+
diff --git a/app/views/emarketing/visitors.rhtml b/app/views/emarketing/visitors.rhtml index c50a9f44..0c081bb6 100644 --- a/app/views/emarketing/visitors.rhtml +++ b/app/views/emarketing/visitors.rhtml @@ -75,9 +75,8 @@ <%= render :partial => 'visitor_table' %>
- +
-
diff --git a/public/themes/standard/stylesheets/admin_framework.css b/public/themes/standard/stylesheets/admin_framework.css index e72ec8bd..86f76057 100644 --- a/public/themes/standard/stylesheets/admin_framework.css +++ b/public/themes/standard/stylesheets/admin_framework.css @@ -866,14 +866,14 @@ table.mini_table td em { color:#b3b3b3; } height:335px; overflow-x:hidden; overflow-y:auto; - border: 1px solid #ccc; } .real-time-stats .row, #RB_redbox div.cms_form .real-time-stats .row { padding: 3px 0 3px 2px; } +.real-time-stats .header { padding: 5px 0;} .real-time-stats .stats .who { width: 123px; float: left; padding: 0 5px 0 2px; } .real-time-stats .stats .when { width: 90px; float: left; } -.real-time-stats .stats .date { width: 140px; float: left; } +.real-time-stats .stats .date { width: 140px; float: left; color:#7A5534; } .real-time-stats .stats .page { width: 255px; float: left; } .real-time-stats .stats .page2 { width: 250px; float: left; } .real-time-stats .action { font-style: italic; padding: 2px 0 0 220px; color: green; } @@ -881,13 +881,14 @@ table.mini_table td em { color:#b3b3b3; } .real-time-stats .headers div, #RB_redbox div.cms_form .real-time-stats .headers div { height: 18px; - color:#3b648c; - font-weight: bold; + color:#7A5534; text-align: left; - font-weight: bold; + font-weight: normal; margin-left: 5px; + font-size: 15px; } + .visitor-details { height: 400px; overflow-x:hidden; @@ -992,3 +993,25 @@ table.display_table td.field { font-size: 11px; padding:3px 0 3px 0; } + +.visitor_container { + background-color:#cce5e9; + padding:20px 6px 10px 6px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + float:left; + margin-right:10px; + display: inline-block; +} + +.visitor_container .heading { + padding:0 10px; +} + +.visitor_container_body { + background-color:white; + padding:12px 0px 12px 8px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + overflow:hidden; +}