Sha256: 5fc59b6e108ce1244386a9954c5f346e505b87033b6ffc6e58a0e8e1ed38508c

Contents?: true

Size: 715 Bytes

Versions: 3

Compression:

Stored size: 715 Bytes

Contents

.row
  .col-md-12
    .card.card-default.shadow
      .card-body
        %h4.card-title Logins
      %table.table.table-striped.mb-0
        %thead.thead-dark
          %tr
            %th IP Address
            %th Device
            %th Platform
            %th Browser
            %th Last Seen
        %tbody
          - if user_login_traits.count.positive?
            - user_login_traits.each do |trait|
              %tr
                %td= trait.ip_address
                %td= trait.device
                %td= trait.platform
                %td= trait.browser
                %td= trait.updated_at.strftime('%F %T')
          - else
            %tr
              %td.text-center{ colspan: 5 } No Records

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ditty-0.11.1 views/users/login_traits.haml
ditty-0.10.2 views/users/login_traits.haml
ditty-0.10.1 views/users/login_traits.haml