Sha256: 7a3027c8e340b55465d0a18c6cefc810276383e9af01de561e769600398ab02d

Contents?: true

Size: 1.72 KB

Versions: 11

Compression:

Stored size: 1.72 KB

Contents

section.content
  .row
    .col-md-12
      .box.box-primary
        .box-header
          i.fa.fa-file
          h3.box-title
            | #{params.has_key?(:image)?t('Image'):t('Document')} List
          / .box-tools.pull-right
          /   ul.pagination.pagination-sm.inline
          /     li
          /       a[href="#"]
          /         | «
          /     li
          /       a[href="#"]
          /         | 1
          /     li
          /       a[href="#"]
          /         | 2
          /     li
          /       a[href="#"]
          /         | 3
          /     li
          /       a[href="#"]
          /         | »
        .box-body
          ul.todo-list
            - @documents.each do |d|              
              li
                span.handle
                  i.fa.fa-ellipsis-v
                  '   
                  i.fa.fa-ellipsis-v
                
                span.text
                  = d.name
                - d.tags.each do |tag|
                  small.label.label-danger
                    / i.fa.fa-clock-o
                    '     
                    = tag.name
                .tools
                  = link_to edit_document_path(d) do
                    i.fa.fa-edit
                  = link_to document_path(d), method: :delete, data: { confirm: "Are you sure?" } do
                    i.fa.fa-trash-o

        .box-footer.clearfix.no-border
          - if params.has_key?(:image)
            = link_to new_document_path(image: true), class: 'btn btn-default pull-right' do
              i.fa.fa-plus
                |   Add item  
          - else
            = link_to new_document_path, class: 'btn btn-default pull-right' do
              i.fa.fa-plus
                |   Add item  
    

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hicube-0.0.11 app/views/hicube/documents/index.html.slim
hicube-0.0.10 app/views/hicube/documents/index.html.slim
hicube-0.0.9 app/views/hicube/documents/index.html.slim
hicube-0.0.8 app/views/hicube/documents/index.html.slim
hicube-0.0.7 app/views/hicube/documents/index.html.slim
hicube-0.0.6 app/views/hicube/documents/index.html.slim
hicube-0.0.5 app/views/hicube/documents/index.html.slim
hicube-0.0.4 app/views/hicube/documents/index.html.slim
hicube-0.0.3 app/views/hicube/documents/index.html.slim
hicube-0.0.2 app/views/hicube/documents/index.html.slim
hicube-0.0.1 app/views/hicube/documents/index.html.slim