Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
update application.rb
Commit Description:
update application.rb
- content_for :header do
= stylesheet_link_tag 'tablesorter-theme.cafe'
= javascript_include_tag 'local_jquery'
%script { :type => "text/javascript" }
$(function () {
$('#since_datetime').datetimepicker({ showButtonPanel: true, dateFormat: "yy-mm-dd", controlType: "slider"} );
$('#until_datetime').datetimepicker({ showButtonPanel: true, dateFormat: "yy-mm-dd", controlType: "slider"} );
$('#my_table').tablesorter({widthFixed: true, widgets: ['zebra']});
});
%h1 Login status
= render partial : 'report_menu'
= render partial : 'date_range' , locals : { param_text : 'Login date range:' , title : 'Query login stat in the range' }
%table .tablesorter-cafe #my_table
%thead
%tr
%th login
%th full name
%th login count
%th earliest
%th latest
%th IP
%tbody
- @logins . each do | l |
%tr { class : cycle ( 'info-even' , 'info-odd' )}
%td = link_to l [ :login ] , controller : 'users' , action : 'profile' , id : l [ :id ]
%td = l [ :full_name ]
%td = l [ :count ]
%td = l [ :min ] ? l [ :min ]. in_time_zone . strftime ( '%Y-%m-%d %H:%M' ) : ''
%td = l [ :max ] ? " #{ l [ :max ]. in_time_zone . strftime ( '%Y-%m-%d %H:%M.%S' ) } ( #{ time_ago_in_words ( l [ :max ]. in_time_zone ) } ago)" : ''
%td
- l [ :ip ]. each do | ip |
#{ ip . ip_address } <br/>
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings