Sha256: ad6268b5a2d434ea8803fad6926eff1b4845e8ae25d17b698f5e408b13e35e09

Contents?: true

Size: 1.7 KB

Versions: 2

Compression:

Stored size: 1.7 KB

Contents

- unless @site.nil? || @site.new_record?
  .container-fluid.current-site-info
    %span.label.label-primary
      = @site.label

.container-fluid.wide-body
  - if controller_name.eql?('revisions')
    .row
      .col-sm-9
        = render :partial => 'layouts/comfy/admin/cms/center'
      .col-sm-3
        .panel.panel-default.revision-list
          .panel-heading
            Revisions
          .panel-body
            = yield :right_column
  - else
    = render :partial => 'layouts/comfy/admin/cms/center'

= render :partial => 'layouts/comfy/admin/cms/footer'

:coffeescript
  ### iconize delete and edit links ###
  $(".wide-body div.btn-group a:contains(Delete)").html("<i class='glyphicon glyphicon-remove' />").attr("title", "Delete").tooltip(placement: 'left')
  $(".wide-body div.btn-group a:contains(Edit)").html("<i class='glyphicon glyphicon-edit' />").attr("title", "Edit").tooltip(placement: 'left')
  $(".wide-body div.btn-group a:contains(Add Child)").html("<i class='glyphicon glyphicon-plus' /> Child").attr("title", "Add Child").tooltip(placement: 'left')

  $(".wide-body .page-header a:contains(Create New Page)").html("<i class='glyphicon glyphicon-file' /> New Page").attr("title", "Create New Page").tooltip(placement: 'left')

- unless @no_back_button
  :coffeescript
    index_path = "#{ back_path }"
    $(".wide-body .page-header h2:contains(New), .wide-body .page-header h2:contains(Editing)").parent()
      .prepend('<a class="btn btn-default pull-right" href="' + index_path + '" title="" data-original-title="Create New Page"><i class="glyphicon glyphicon-chevron-left"></i> Back</a> ')

    $(".wide-body .page-header .btn").removeClass("pull-right").wrapAll("<div class='btn-group pull-right'></div>")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cms-fortress-1.3.0.rc2 app/views/cms/fortress/themes/wide/_body.html.haml
cms-fortress-1.3.0.rc1 app/views/cms/fortress/themes/wide/_body.html.haml