{include file='header.smarty'}

  <body onLoad='window.loadMain();'>

    <div class="container-fluid">
      <div class="row">
        <div class="col-md-12">
          <h3 class="text-center text-primary">
            {$Title}
          </h3>
        </div>
      </div>
      <!-- Navbar -->
      <div class="row">
        <div class="col-md-12">
          <ul class="nav" id="navbar" style="display: none">  <!-- display: flex -->
            <li class="nav-item"><a class="nav-link" href="#" onClick='Quit();' id='Logout'>D&eacute;connection</a></li>
            <li class="nav-item">
              <a class="nav-link" href="#" onClick='loadMain();'>Profile</a>
            </li>
            <li class="nav-item">
              <a class="nav-link disabled" href="#">Messages</a>
            </li>
            <li class="nav-item dropdown ml-md-auto">
               <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown">Dropdown link</a>
              <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                 <a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a> <a class="dropdown-item" href="#">Something else here</a>
                <div class="dropdown-divider">
                </div> <a class="dropdown-item" href="#">Separated link</a>
              </div>
            </li>
          </ul>
        </div>
      </div>

      <!-- Main content -->
      <div class="col-md-12" id='jsTree' style="display: none;"></div>



      <div class="row">
        <div class="col-md-12">
          
          <!-- Boîte modale de type Popup -->
          <div class="modal fade" id="popup" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog" role="document">
              <div class="modal-content">
                <div class="modal-header" id="popup-header">
                  <h5 class="modal-title" id="popup-title"></h5> 
                  <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true">×</span>
                  </button>
                </div>
                <div class="modal-body" id="popup-body">
                </div>
                <div class="modal-footer" id="popup-footer">
{*                    
                  <button type="button" class="btn btn-primary">
                    Save changes
                  </button> 
                  <button type="button" class="btn btn-secondary" data-dismiss="modal">
                    Close
                  </button> *}
                </div>
              </div>
            </div> 
          </div>
          <!-- /Boîte modale de type Popup -->

          <!-- Boîte d'affichage d'erreur -->
          <div class="col-md-12">&nbsp;</div>
          <div class="col-md-12" id='bAlert' style='display: none'>
            <div class="alert alert-dismissable alert-danger">
              <h4 id='alertMsg'>ERREUR:</h4> 
            </div>
          </div>
          <!-- /Boîte d'affichage d'erreur -->





        </div>
      </div>
    </div>
  </body>
</html>










































{* <body onLoad='loadMain();'>

  <div class="container">


	  <!-- Menu de l'application -->
    <nav class="navbar navbar-default" id="navbar" style="display: none">
        <ul class="nav navbar-nav">
          <li><a href="#" onClick='Quit();' id='Logout'>D&eacute;connection</a> </li>
          <li><a href="#" onClick='doLdap();' id='menuItemLdap'>Ldap<b class="caret"></b></a></li>
          <li><a href="#" onClick='doRedis();' id='menuItemRedis'>Redis<b class="caret"></b></a></li>
          <li class="dropdown">
            <a data-toggle="dropdown" href="#" id='menuItem'>Articles<b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><a onClick='jsfAddItem();' href="#" id='menuAddItem' >Créer</a></li>
              <li><a onClick='jsfModItem();' href="#" id='menuModItem'>Modifier</a></li>
              <li><a onClick='jsfDelItem();' href="#" id='menuDelItem'>Supprimer</a></li>
              <li class="divider"></li>
              <li><a onClick='jsfAddStock();' href="#" id='menuAddStock'>Ajout stock</a></li>
              <li><a onClick='jsfDelStock();' href="#" id='menuDelStock'>Supp. stock</a></li>
            </ul>
          </li>
          <li> <a href="#" onClick='jsfInventory();'>Inventaire</a> </li> 
        </ul>
    </nav>
	  <!-- /Menu de l'application -->
	
  </div> <!-- /container -->
  
  <div class="col-md-12" id='jsTree' style="display: none">&nbsp;</div>



</body>
</html> *}