Sha256: cf99b2d28cbef8f53e04971f75074ccde31a3c4f43d60a49ba4ea5b23142f395

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

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('/')"
- if !login? 
  %li
    %a{:href => '/auth/facebook', "data-panel" => "main", rel: "external"}
      %i.fa.fa-facebook 
      %span
        Sign-in with facebook
  %li
    %a{:href => '/auth/google_oauth2', "data-panel" => "main", rel: "external"}
      %i.fa.fa-google
      Sign-in with Google+
  


 


      

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jinda_adminlte-0.7.0.1 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.7.0 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.6.0.1 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml
jinda_adminlte-0.6.0 lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml