Sha256: 300f1d08b75bf04e5b979c07c7daf186a4da3202b1e61d1c6ff593123b046f61

Contents?: true

Size: 891 Bytes

Versions: 7

Compression:

Stored size: 891 Bytes

Contents

- head = login? ? current_ma_user.code : DEFAULT_HEADER
%li.active  
 
  %a{:href =>"/jinda","data-panel" => "main"}
    %i.fa.fa-circle-o
    Home

= render 'layouts/lte/menu_mm'  
%li.treeview
  %a{:href => "#"}
    Multilevel from menu
    %i.fa.fa-angle-left.pull-right
  %ul.treeview-menu
    %li
      %a{:href => "#"} Link in level 1
    %li
      %a{:href => "#"} Link in level 1
- if login?
  %li
    %a{:href=>"/jinda/pending", "data-panel" => "main"} Pending Tasks
  %li
    %a{"data-panel" => "main", :href => logout_path, "data-ajax"=>"false"} Sign Out
- else
  %li
    %a{:href =>new_session_path,"data-panel" => "main"}
      %i.fa.fa-circle-o
      %span
      Sign In
  %li
    %a{:href =>new_identity_path, "data-panel" => "main"}
      %i.fa.fa-circle-o
      %span
        Sign Up 
%li
  = link_to "Refresh", "#", :onclick=>"window.location.replace('/')"
  


 


      

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jinda_adminlte-0.8.0 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda-0.7.7.4 test/dummy/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.7.5.1 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.7.5 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.7.3 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.7.0.4 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.7.0.3 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml