Sha256: 19e862536a27655961741d09b58dc5fb1d867dc8e25f715adf32261a33797116

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

- head = login? ? current_ma_user.code : DEFAULT_HEADER

.menu
  %ul.list
    %li.header MAIN NAVIGATION
    %li.active
      %a{:href =>"/jinda","data-panel" => "main"}
        %i.material-icons home
        %span Home

    = render 'layouts/bsb/menu_mm'  

    - if login?
      %li
        %a{:href=>"/jinda/pending", "data-panel" => "main"} Pending Tasks
      %li
        %a{"data-panel" => "main", :href => logout_path, "data-ajax"=>"false"}
          %i.material-icons layers
          %span Sign Out
    - else
      %li
        %a{:href =>new_session_path,"data-panel" => "main"}
          %i.material-icons layers
          %span Sign In
      %li
        %a{:href =>new_identity_path, "data-panel" => "main"}
          %i.material-icons layers
          %span Sign Up 
    %li
      = link_to "Refresh", "#", :onclick=>"window.location.replace('/')"
    - if !login?  
      %a.btn.btn-block.btn-social.btn-facebook{:href => "/auth/facebook", rel: "external"}
        %i.material-icons facebook
        %span Sign in with Facebook
    
.legal
  .copyright
    © 2016 - 2017
    = succeed "." do
      %a{:href => "javascript:void(0);"} AdminBSB - Material Design
  .version
    %b Version:
    1.0.5



      

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jinda_adminbsb-0.3.0 lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_menu.haml
jinda_adminbsb-0.0.3 lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_menu.haml
jinda_adminbsb-0.0.2 lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_menu.haml
jinda_adminbsb-0.0.1 lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_menu.haml
jinda_bsb-0.0.1 lib/generators/jinda_bsb/templates/app/views/layouts/bsb/_menu.haml