<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Main.master.cs" Inherits="Giza.Web.MasterPages.Main" %>

<%@ Import Namespace="Giza.Temel.Araclar" %>
<%@ Register Src="~/UserControls/Header.ascx" TagPrefix="uc1" TagName="Header" %>
<%@ Register Src="~/UserControls/SideBar.ascx" TagPrefix="uc1" TagName="SideBar" %>
<%@ Register Src="~/UserControls/Footer.ascx" TagPrefix="uc1" TagName="Footer" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Giza || Görsel İş Zekası Analiz</title>

    <!-- Vendor CSS -->
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/fullcalendar/dist/fullcalendar.min.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/animate.css/animate.min.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-sweetalert/lib/sweet-alert.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/material-design-iconic-font/dist/css/material-design-iconic-font.min.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css") %>" rel="stylesheet" />

    
    <link href="<%=Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.css") %>" rel="stylesheet" />

    <link href="<%=Page.ResolveUrl("~/Content/vendors/chosen_v1.4.2/chosen.min.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/css/app.min.1.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/css/app.min.2.css") %>" rel="stylesheet" />
        <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jquery-ui/jquery-ui.css") %>" rel="stylesheet" />

    <link href="<%= Page.ResolveUrl("~/Content/css/style.css") %>" rel="stylesheet" />

    <!-- Javascript Libraries -->
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jquery/dist/jquery.min.js") %>"></script>
    <script src="<%=Page.ResolveUrl("~/Content/vendors/chosen/jquery.mCustomScrollbar.concat.min.js") %>"></script>
    <script src="<%=Page.ResolveUrl("~/Content/vendors/chosen/chosen.jquery.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap/dist/js/bootstrap.min.js") %>"></script>
    <%--<script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/flot.curvedlines/curvedLines.js") %>"></script>--%>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/sparklines/jquery.sparkline.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/moment/min/moment.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/fullcalendar/dist/fullcalendar.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/simpleWeather/jquery.simpleWeather.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jquery.nicescroll/jquery.nicescroll.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/Waves/dist/waves.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bootstrap-growl/bootstrap-growl.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-sweetalert/lib/sweet-alert.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/moment/min/locales.min.js") %>"></script>


    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jquery-ui/jquery-ui.js") %>"></script>

    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jQuery-userTimeout/jquery.userTimeout.js") %>"></script>
    
    <script src="<%= Page.ResolveUrl("~/Content/js/functions.js") %>"></script>
    <%--    <script type="text/javascript">
        //$(document).ready(function () {
        //    $("#cmbVeriTabaniAdi").attr('readonly', 'readonly');
        //})

        $('.selectpicker').on('change', function () {
            var selected = $(this).find("option:selected").val();
            alert(selected);
        });

    </script>--%>

    <script>

        var deger = '<%=SessionParametreHelper.GetParamValue("SolMenuDurum")%>';
        if (deger == "" || deger == null) {
            deger = 1;
        } else if (deger == "Açık") {
            deger = 1;

        } else if (deger == "Kapalı") {
            deger = 0;
        }
        //alert(deger);
        localStorage.setItem("ma-layout-status", deger);


        function DateFormat(value) {
            return moment(value).format('DD.MM.YYYY');
        }
        function DateTimeFormat(value) {
            return moment(value).format('DD.MM.YYYY HH:mm:ss');
        }
        function AramaTemizle() {
            var $table = $('#table');
            var $div = $('#btnYenile');
            if ($table && $div) {
                $table.bootstrapTable('resetSearch');
            }
        }
        //function MenuKapat() {
            //    $("#tw-switch").prop('checked', true);
            //    if ($('#tw-switch').is(':checked') == true) {
            //        //$('#tw-switch').is(':checked') = true
            //        //$("#tw-switch").selected(true);
            //        //$('#tw-switch').is(':checked')
            //        //$("#tw-switch").prop('checked', false);

            //        setTimeout(function () {
            //            $("#tw-switch").trigger("click");
            //        }, 50);
            //    }
        //}


    </script>
    <asp:ContentPlaceHolder ID="ContentPlaceHolderHeader" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>



    <%--<body onload="initSession()">--%>
    <form id="form1" runat="server">


        <asp:ContentPlaceHolder ID="ContentPlaceHolderBreadcrumbs" runat="server">
        </asp:ContentPlaceHolder>

        <uc1:Header runat="server" ID="Header" />
        <section id="main" data-layout="layout-1">
            <uc1:SideBar runat="server" ID="SideBar" />
            <section id="content">
                <div class="container">
                    <asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server">
                    </asp:ContentPlaceHolder>
                </div>
            </section>
        </section>
        <uc1:Footer runat="server" ID="Footer" />


    </form>

    <!-- Page Loader -->
    <%--Sayfayı hoplattıran loader :)--%>
    <%--    <div class="page-loader">
        <div class="preloader pls-blue">
            <svg class="pl-circular" viewBox="25 25 50 50">
                <circle class="plc-path" cx="50" cy="50" r="20" />
            </svg>

            <p>Lütfen bekleyiniz...</p>
        </div>
    </div>--%>
</body>
</html>
