Sha256: b7f33971d882bf8d0798fc61f84f5b2baa47b592209cb5873eb759e090857bea

Contents?: true

Size: 1.89 KB

Versions: 2

Compression:

Stored size: 1.89 KB

Contents

= render "menu"

.row
  .col-lg-12
    .wrapper.wrapper-content.animated.fadeInUp
      .ibox
        .ibox-title
          %h5 All Lists
          .ibox-tools
            %a.btn.btn-primary.btn-xs{:href => new_manage_list_path }
              %i.fa.fa-plus
              Create new List
        .ibox-content
          .row.m-b-sm.m-t-sm
            .col-md-1
              %button#loading-example-btn.btn.btn-white.btn-sm{:type => "button"}
                %i.fa.fa-refresh
                Refresh
            .col-md-11
              .input-group
                %input.input-sm.form-control{:placeholder => "Search", :type => "text"}/
                %span.input-group-btn
                  %button.btn.btn-sm.btn-primary{:type => "button"} Go!
          .project-list
            %table.table.table-hover
              %tbody
                - @lists.each do |list|
                  %tr
                  %td.project-status
                    %span.label.label-primary
                      = list.state
                  %td.project-title
                    %a{:href => manage_list_path(list)}
                      = list.name
                    %br/
                    %small= list.created_at
                  %td.project-completion
                    %small Completion with: #{list.subscription_progress}%
                    .progress.progress-mini
                      .progress-bar{:style => "width: #{list.subscription_progress}%;"}

                  %td.project-completion
                    %strong subscribers: #{list.subscribers.size}

                  %td.project-actions

                    = link_to edit_manage_list_path(list), class: "btn btn-white btn-sm" do
                      %i.fa.fa-edit
                      Edit

                    = link_to manage_list_path(list), class: "btn btn-white btn-sm", method: :delete do
                      %i.fa.fa-times
                      Destroy










Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chaskiq-0.0.3 app/views/chaskiq/manage/lists/index.haml
chaskiq-0.0.2 app/views/chaskiq/manage/lists/index.haml