Changeset 22664


Ignore:
Timestamp:
May 14, 2013, 9:30:26 PM (11 years ago)
Author:
rvelices
Message:

feature 2885: Add geoip info in the stats / history page

Location:
trunk/admin/themes
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/clear/theme.css

    r22580 r22664  
    188188
    189189/* jQuery tooltips */
     190.ui-tooltip {
     191        color: #000;
     192        background-color: #eee;
     193}
    190194.cluetip-outer { border-color:#999; color: #777; background-color: #eee; }
    191195.cluetip-title { background-color: #ddd; }
  • trunk/admin/themes/default/template/history.tpl

    r14688 r22664  
    77{/literal}{/footer_script}
    88
    9 <div class="titrePage">
    10   <h2>{'History'|@translate} {$TABSHEET_TITLE}</h2>
    11 </div>
     9<h2>{'History'|@translate} {$TABSHEET_TITLE}</h2>
    1210
    1311<form class="filter" method="post" name="filter" action="{$F_ACTION}">
     
    8482  </label>
    8583
    86   <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
     84  <input type="submit" name="submit" value="{'Submit'|@translate}">
    8785</fieldset>
    8886</form>
     
    125123  <td class="hour">{$detail.TIME}</td>
    126124  <td>{$detail.USER}</td>
    127   <td>{$detail.IP}</td>
     125  <td class="IP">{$detail.IP}</td>
    128126  <td>{$detail.IMAGE}</td>
    129127  <td>{$detail.TYPE}</td>
     
    137135
    138136{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
     137
     138{combine_script id='jquery.geoip' load='async' path='admin/themes/default/js/jquery.geoip.js'}
     139{combine_script id='jquery.ui.tooltip' load='footer'}
     140
     141{footer_script}{literal}
     142jQuery(".IP").tooltip( {
     143        items: "*",
     144        /*show: {delay:0, effect:"show"},
     145        hide: {delay:50, effect:"hide"},*/
     146        content: function(response) {
     147                var that = $(this);
     148                GeoIp.get( that.text(), function(data) {
     149                        response( data.fullName );
     150                });
     151        }
     152});
     153{/literal}{/footer_script}
  • trunk/admin/themes/default/theme.css

    r22541 r22664  
    505505
    506506/* jQuery tooltips */
     507.ui-tooltip {
     508        padding: 8px;
     509        position: absolute;
     510        z-index: 9999;
     511        max-width: 300px;
     512        -webkit-box-shadow: 0 0 5px #aaa;
     513        box-shadow: 0 0 5px #aaa;
     514}
     515
    507516.cluetip-outer {
    508517        position: relative;
  • trunk/admin/themes/roma/theme.css

    r22580 r22664  
    161161
    162162/* jQuery tooltips */
     163.ui-tooltip {
     164        color: #eee;
     165        background-color: #000;
     166}
    163167.cluetip-outer { border-color: #666; color: #666; background-color: #222; }
    164168.cluetip-title { color: #ff3363; background-color: #111; }
Note: See TracChangeset for help on using the changeset viewer.