Show More
Commit Description:
Merge pull request #17 from nattee/master...
Commit Description:
Merge pull request #17 from nattee/master
upgrade to current working snapshot
References:
File last commit:
Show/Diff file:
Action:
app/views/report/multiple_login.html.haml
| 37 lines
| 936 B
| text/x-haml
| HamlLexer
|
r500 | - content_for :header do | |||
= stylesheet_link_tag 'tablesorter-theme.cafe' | ||||
= javascript_include_tag 'local_jquery' | ||||
%h1 Login status | ||||
=render partial: 'report_menu' | ||||
r501 | Checking for all submissions with the currently available problem | |||
%h2 Users with Multiple IP | ||||
r500 | %table.tablesorter-cafe#my_table | |||
%thead | ||||
%tr | ||||
%th login | ||||
%th full name | ||||
%th IP | ||||
%tbody | ||||
r501 | - @users.each do |l| | |||
r500 | %tr{class: cycle('info-even','info-odd')} | |||
r501 | %td= link_to l.user.login, controller: 'users', action: 'profile', id: l[:id] | |||
%td= l.user.full_name | ||||
r500 | %td= l[:ip_address] | |||
r501 | ||||
%h2 IP with multiple users | ||||
%table.tablesorter-cafe#my_table | ||||
%thead | ||||
%tr | ||||
%th IP | ||||
%th login | ||||
%th full name | ||||
%tbody | ||||
- @ip.each do |l| | ||||
%tr{class: cycle('info-even','info-odd')} | ||||
%td= l[:ip_address] | ||||
%td= link_to l.user.login, controller: 'users', action: 'profile', id: l[:id] | ||||
%td= l.user.full_name | ||||