diff options
| author | Jacob Schatz <jschatz1@gmail.com> | 2016-03-02 19:52:21 +0000 |
|---|---|---|
| committer | Jacob Schatz <jschatz1@gmail.com> | 2016-03-02 19:52:21 +0000 |
| commit | 3be20afa9f7bfb4e4d13b30d5cfcd304b79ea478 (patch) | |
| tree | 0230a0719744247254a9900ed1c9a07ba014bf95 /app/views | |
| parent | cbe8b70908cc0344bc0c05221e123be9addca500 (diff) | |
| parent | 61c30061e7f36ada8da0459ea15561197bd48295 (diff) | |
| download | gitlab-ce-3be20afa9f7bfb4e4d13b30d5cfcd304b79ea478.tar.gz | |
Merge branch 'audit-log-ui' into 'master'
Audit log UI
Closes #13862

See merge request !3037
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/profiles/_event_table.html.haml | 28 | ||||
| -rw-r--r-- | app/views/profiles/audit_log.html.haml | 13 |
2 files changed, 21 insertions, 20 deletions
diff --git a/app/views/profiles/_event_table.html.haml b/app/views/profiles/_event_table.html.haml index 58af79716a7..879fc170f92 100644 --- a/app/views/profiles/_event_table.html.haml +++ b/app/views/profiles/_event_table.html.haml @@ -1,17 +1,15 @@ -.table-holder - %table.table#audits - %thead - %tr - %th Action - %th When +%h5.prepend-top-0 + History of authentications + +%ul.well-list + - events.each do |event| + %li + %span.description + = audit_icon(event.details[:with], class: "append-right-5") + Signed in with + = event.details[:with] + authentication + %span.pull-right + #{time_ago_in_words event.created_at} ago - %tbody - - events.each do |event| - %tr - %td - %span - Signed in with - %b= event.details[:with] - authentication - %td #{time_ago_in_words event.created_at} ago = paginate events, theme: "gitlab" diff --git a/app/views/profiles/audit_log.html.haml b/app/views/profiles/audit_log.html.haml index 8f45f41cfe3..f630c03e5f6 100644 --- a/app/views/profiles/audit_log.html.haml +++ b/app/views/profiles/audit_log.html.haml @@ -1,8 +1,11 @@ - page_title "Audit Log" - header_title page_title, audit_log_profile_path -.alert.alert-help.prepend-top-default - History of authentications - -.prepend-top-default -= render 'event_table', events: @events +.row.prepend-top-default + .col-lg-3.profile-settings-sidebar + %h3.prepend-top-0 + = page_title + %p + This is a security log of important events involving your account. + .col-lg-9 + = render 'event_table', events: @events |
