Sha256: bd7119ee94a6770c846eb5d10883d8a6e4101204402f4b0c228fb2cc36180b14

Contents?: true

Size: 726 Bytes

Versions: 8

Compression:

Stored size: 726 Bytes

Contents

%h2 Backups - Local
Local storage at #{OptimacmsBackups.backups_config['dir_backups_base']}
%br
click to download

- @list_backups.each do |name, list|
  %h3=name
  %ul.list-backups
    - list.each do |r|
      %li{data: {f: r[:shortpath]}}
        =link_to r[:shortpath], download_admin_backups_path(f: r[:shortpath]), target: '_blank'
        (
        #{number_to_human_size(r[:size])}
        )
        (
        =link_to 'delete', delete_admin_backups_path(f: Rack::Utils.escape(r[:shortpath])), :confirm => "Are you sure?", :method => :get, remote: true, :class=>'link_delete'
        )
        %br


%h2 Backups config

Storages:
%ul
  - OptimacmsBackups.backups_config['storages'].each do |r|
    %li
      =r['type']

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
optimacms_backups-0.0.14 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.13 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.12 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.7 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.6 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.5 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.4 app/views/optimacms_backups/admin/backups/_list.html.haml
optimacms_backups-0.0.3 app/views/optimacms_backups/admin/backups/_list.html.haml