Sha256: a6c620ab8b107a823b78c967bc14da751f6b1d0d5a414bcee0067563313953a8

Contents?: true

Size: 991 Bytes

Versions: 39

Compression:

Stored size: 991 Bytes

Contents

!!! 5
%html
  %head
    = render :partial => "layouts/head"
  %body
    = render :partial => "jinda/menu"
    %div{"data-id" => "main", "data-role" => "panel", "data-backbtn"=>"false"}
      - if @cache
        - cache = {}
      - else
        - cache = {"data-cache"=>"never"}
      - if @backbtn
        - backbtn= {"data-backbtn"=>"true"}
      - else
        - backbtn= {"data-backbtn"=>"false"}
      %div{{"data-role" => "page"}.merge(cache) }
        %div{{"data-role" => "header"}.merge(backbtn)}
          %h1= @title || DEFAULT_TITLE
        %div{"data-role" => "content"}
          = yield
      = render :partial => "jinda/static"
/ :javascript
/   $(document).on("pagehide", 'div', function(e,ui) {
/     var page = $(e.target);
/     if(page.attr('data-cache') == 'never') {
/       page.remove();
/     }
/   });
/   $( document ).on( "pagechange", function(){
/     $.get("/jinda/ajax_notice", function(r) {$(r).appendTo('head').remove()});
/   });

/= raw handle_ma_notice

Version data entries

39 entries across 35 versions & 3 rubygems

Version Path
jinda-0.8.0 test/dummy/app/views/layouts/jqm/_full.haml
jinda-0.8.0 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.7.4 test/dummy/app/views/layouts/jqm/_full.haml
jinda-0.7.7.4 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.7.3 test/dummy/app/views/layouts/jqm/_full.haml
jinda-0.7.7.3 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.7.2 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.7.1 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda_mind-1.0.0 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.7 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.6 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.5.5 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.5.4 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.5.3 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.5.2 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.5.0 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.3 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.2 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.1 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml
jinda-0.7.0.4 lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml