
@{
    Layout = null;
}


<!DOCTYPE html>
<html>
<title>C# ÖGRETİCİ</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="~/css/w3.css" rel="stylesheet" />
<link href="~/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<body>

    <div>
        @Html.Partial("ViewBag_MenuSideBar")
    </div>
</body>

<!-- Sidebar -->
@*<aside class="w3-sidebar w3-light-grey w3-bar-block" style="width:20%">
    <section>
        <h3 class="w3-bar-item">SuperAdmin Menü</h3>
        <h4></h4>
        <a href="~/Kullanicilar/KullanicilarListele" class="w3-bar-item w3-button" style="background-color:darkslategrey; color:aliceblue">Kullanıcılar</a>
        <h4></h4>
        <a href="/Basliklar/AnaBaslikListele" class="w3-bar-item w3-button" style="background-color:darkslategrey; color:aliceblue">Ana Başlıklar</a>
        <h4></h4>
        <a href="/Basliklar/TumBaslikListele" class="w3-bar-item w3-button" style="background-color:darkslategrey; color:aliceblue">Tüm Başlıklar</a>
        <h4></h4>
        <a href="~/Basliklar/ResimYukle" class="w3-bar-item w3-button" style="background-color:darkslategrey; color:aliceblue">Resim Yükle</a>
        <h4></h4>
        <a href="~/Yorumlar/YorumListele" class="w3-bar-item w3-button" style="background-color:darkslategrey; color:aliceblue">Tüm Yorumları Listele</a>
        <h4></h4>
        @if (Context.Session.GetString("Tur") == "SuperAdmin")
        {
            <a href="/Basliklar/Hakkinda" class="w3-bar-item w3-button" style="background-color:darkslategrey; color:aliceblue">Hakkında</a>
        }
        else
        {
            <a href="/Basliklar/Hakkinda" class="w3-bar-item w3-button">Hakkında</a>
        }
        <h4></h4>
        <a href="/Home/Logout" class="btn btn-primary">Çıkış</a>
    </section>
</aside>*@

<head>
    <link href="~/wysiwyg-editor-master/css/froala_editor.min.css" rel="stylesheet" type="text/css" />
	<script src="~/wysiwyg-editor-master/js/froala_editor.pkgd.min.js"></script>
</head>

<body>

    <!-- Page Content -->
    <div style="margin-left:20%">

        <div class="w3-container w3-teal">
            <h1>C# Öğretici Projesi</h1>
        </div>
        <br />
        <div> 
            <h6> @Html.Partial("_MenuNavBar") </h6>
        </div>

        
        <div class="w3-container">
            @RenderBody()
        </div>

    </div>

</body>
</html>