.container
  
  =render :partial => "admin/shared/super_current_admin"

  %h1
    %center
      %br
      Bonjour
      =current_admin.firstname
  
  %p
    
  
  %p
    %br
    
  .card-columns
  
    -@qi_menus.each do |k,v|
      
      

      .card
        .card-body
          =link_to v[:link] do
            %h5.card-title{:style => "text-align:center;"}
              %div{:style => "font-size:30px;color:#{v[:color]};"}
                =ic v[:icon]
              
              =v[:name]
          %ul
            -if v[:elements]
              -v[:elements].each do |k,v|
                %li= link_to v[:name], v[:link], :class => "nav-link "+("active" if (@qi_menu_sub_menu_active and @qi_menu_sub_menu_active == k)).to_s
          
  
  