@{
    var controllerName = ViewContext.RouteData.Values["controller"].ToString();
    var actionName = ViewContext.RouteData.Values["action"].ToString();

    //Récupération de l'utilisateur connecté
    CD67.ModeleMVC.MVC.Models.UtilisateurConnecte utilisateurConnecte = CD67.ModeleMVC.MVC.Internal.UtilisateurConnecteFactory.getUtilisateurConnecte();
}

<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, shrink-to-fit=no, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="shortcut icon" type="image/x-icon" href="/Images/favicon.ico" />
    <link rel="icon" type="image/x-icon" href="~/Images/favicon.ico" />

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")

    <!--Jquery-ui-->
    @Scripts.Render("~/bundles/jquery-ui")
    @Styles.Render("~/Content/jquery-ui-css")

    @Scripts.Render("~/bundles/bootstrap")
    @Scripts.Render("~/bundles/cd67")
    @Styles.Render("~/Content/css")

    <!-- Ajout des classes no-screen et no-print -->
    <style media="print">
        .no-print{display: none}
    </style>
    <style type="text/css" media="screen">
        .no-screen{display: none}
    </style>

</head>

<body>
    <header>
        <nav class="navbar-fixed-top navbar-default no-margin">
            <div id="topbar" class="navbar navbar-inner">
                <ul>
                    <li><a class="brand" href="/" title="Retour à l'accueil"><img src="~/Images/LogoCD67.png" width="148" height="51" alt="CD67"></a></li>

                </ul>
                <ul id="titre" class="nav navbar ">
                    <li><h1>Gestion des Vikings</h1></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <span class="glyphicon glyphicon-user"></span>
                            <strong>@utilisateurConnecte.libelle</strong>
                            <span class="glyphicon glyphicon-chevron-down"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <div class="navbar-login">
                                    <div class="row">
                                        <div class="col-lg-4 ">
                                            <p class="text-center">
                                                <span class="glyphicon glyphicon-user icon-size"></span>
                                            </p>
                                        </div>
                                        <div class="col-lg-8">
                                            <p class="text-left"><strong>@utilisateurConnecte.login</strong></p>
                                            <p class="text-left small">@utilisateurConnecte.email</p>
                                            <p class="text-left">
                                                <a href="#" class="btn btn-primary btn-block btn-sm">Paramètres</a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
        <sidebar class="background-color2 navbar-fixed-top nav-stacked no-print" id="sidebar-wrapper">
            <ul class="sidebar-nav nav-stacked" id="menu">
                <li>
                    <a id="menu-Accueil" class="active" href="/"><span class="fa-stack fa-lg pull-left "><i class="fa fa-home fa-stack-1x  "></i></span> Accueil</a>
                </li>
                <li>
                    <a id="menu-Vikings" href="/VIKINGS"><span class="fa-stack fa-lg pull-left"><i class="fa fa-gg fa-stack-1x "></i></span>Vikings</a>
                </li>
                <li>
                    <a id="menu-Type" href="/TYPE_VIKING"><span class="fa-stack fa-lg pull-left"><i class="fa fa-leanpub fa-stack-1x "></i></span>Types de Vikings</a>
                </li>
                <li>
                    <a id="menu-Print" href="/PrintTest"><span class="fa-stack fa-lg pull-left"><i class="fa fa-print fa-stack-1x "></i></span>Test impression</a>
                </li>
            </ul>
        </sidebar>

    </header>
    
    <div id="wrapper">
        <div class="page-wrap no-print" >
            @Html.MvcSiteMap().SiteMapPath()
        </div>
        <div id="content" >
            @Html.Partial("_Flash")
            @RenderBody()
            <br /><br />
        </div>
    </div>

    <footer>
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="col-md-1"></div>
                    <div class="col-md-7">
                        <a href="#">Contact</a> | <a href="#">Plan du site</a> | <a href="#">F.A.Q.</a><i class="muted pull-right">© 2017 CD67. Tous droits réservés.</i>
                    </div>
                </div>
            </div>
        </div>
    </footer>
</body>
</html>
