Sha256: 99c92c3101b6d2d6f76fb4ad3ec2b854f4a4191c412079b9639648c68c2cd6f6

Contents?: true

Size: 1.5 KB

Versions: 20

Compression:

Stored size: 1.5 KB

Contents

%aside.control-sidebar.control-sidebar-light#views-editor
  %a.aside-close#close-views-editor
    .label.bg-gray
      X
  %ul.nav.nav-tabs
    %li.active
      %a{'aria-expanded': "true", "data-toggle" => "tab", :href => "#editor_views_tab_1"}
        %i.fa.fa-desktop
  .tab-content.container-files.bg-gray
    #editor_views_tab_1.tab-pane.active
      - @views.each do |view|
        .box.box-solid
          .box-header.with-border{title: "#{view.name}"}
            .row
              .col-lg-6
                %h4.box-title
                  %i.fa.fa-desktop
                  = truncate(view.name, length: 30, omission: '...')
              .col-lg-3
                %span.box-title
                  %a.btn.btn-default.pull-right{onclick: "copy('#{view.id}')"}
                    %input.hidden{id: "#{view.id}", value: "#{view.path}"}
                    %i.fa.fa-save
              .col-lg-2
                %span.box-title
                  = link_to view.route, class: 'btn btn-default pull-right' do
                    %i.fa.fa-reply
.control-sidebar-bg

:javascript
  $('a[data-toggle="tab"]').on('shown.bs.tab', function (ev) {
    $(document).bind('keydown',function(e) {
      if(e.ctrlKey && (e.which == 83)) {
        e.preventDefault();
        var tab = e.target.innerText;
        if (tab==='') {
          var tab = `#{@callback_function.name}`;
        }
        var id = `#{@callback_function.id}`
        if ( tab === `#{@callback_function.name}`) {
          codeCallback.save(id);
        }
      }
    });
  })

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
keppler-2.1.18 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.17 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.16 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.15 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.14 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.13 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.12 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.11 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.10 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.9 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.8 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.7 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.6 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.5 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.4 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.3 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.2 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml
keppler-2.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml