Sha256: 966c989a0f82f37511aba2609b7b006c874b398de0600060aeffa948b5344332

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

= render "menu"

.row
  .col-lg-12
    .wrapper.wrapper-content
      .ibox

        .ibox-title
          %h5 All Lists
          .ibox-tools
            %a.btn.btn-success.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

                = search_form_for @q, url: manage_campaigns_path() do |f|

                  = f.search_field :subscribers_name_or_subscribers_email_or_subscribers_last_name_or_name, class: "input-sm form-control", placeholder: "Search by subscribers or list name"

                %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-title
                      %a{:href => manage_list_path(list)}
                        = list.name
                      %br/
                      %small= l list.created_at, format: :short

                    %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", data:{ method: :delete, confirm: "sure?"} do
                        %i.fa.fa-times
                        Destroy

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chaskiq-0.0.6 app/views/chaskiq/manage/lists/index.haml
chaskiq-0.0.5 app/views/chaskiq/manage/lists/index.haml