<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="Giza.Web.UserControls.Header" %>
<%@ Import Namespace="Giza.Temel.Araclar" %>
<script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/dist/js/bootstrap-select.js") %>"></script>
<link href="<%=Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.css") %>" rel="stylesheet" />
<script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/dist/js/i18n/defaults-tr_TR.min.js")%>"></script>
<header id="header" style="background-color: <%=SessionParametreHelper.GetParamValue("TemaRenkKodu","#2196f3")%>">

    <style>
        .bootstrap-select {
            background-color: #fff;
            border-radius: 1px 1px 1px 1px;
        }

            .bootstrap-select > .btn-default:before {
                background-color: transparent;
                visibility: hidden;
            }

            .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
                width: 100%;
            }
    </style>
    <ul class="header-inner">
        <li id="menu-trigger" data-trigger="#sidebar">

            <div class="line-wrap">
                <div class="line top"></div>
                <div class="line center"></div>
                <div class="line bottom"></div>
            </div>
        </li>

        <li class="hidden-xs">
            <a href="<%= Page.ResolveUrl("~/AnaSayfa.aspx") %>" class="m-l-10">
                <img src="<%=Page.ResolveUrl("~/Content/img/Giza.png")%>" style="height:40px;width:45px"/>
                <img src="<%=Page.ResolveUrl(SessionParametreHelper.GetParamValue("FirmaLogosuYolu", "~/Content/img/logo.png"))%>" alt=""></a>
        </li>

        <li class="logo hidden-xs f-700">
            <a href="<%= Page.ResolveUrl("~/AnaSayfa.aspx") %>"><%=SessionParametreHelper.GetParamValue("Firmaismi","Rapor Yayınlama Servisi")%></a>
        </li>



        <li class="pull-right">
            <ul class="top-menu">
                <li id="toggle-width">
                    <div class="toggle-switch">
                        <input id="tw-switch" type="checkbox" hidden="hidden">
                        <label for="tw-switch" class="ts-helper"></label>
                    </div>
                </li>
                <li class="dropdown">
                    <a data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="tm-icon zmdi zmdi-notifications"></i>
                        <asp:Literal ID="ltrlDuyuruAdeti" runat="server"></asp:Literal>
                    </a>
                    <div class="dropdown-menu dropdown-menu-lg pull-right">
                        <div class="listview" id="notifications">
                            <div class="lv-header">
                                DUYURULAR
                            </div>
                            <div class="lv-body">
                                <asp:Literal ID="ltrlDuyuruItems" runat="server"></asp:Literal>
                            </div>

                            <a class="lv-footer" href="<%= Page.ResolveUrl("~/Moduller/Duyuru/DuyuruIzlemeListesi.aspx") %>">Tümünü Gör</a>
                        </div>
                    </div>
                </li>

                <li class="dropdown">
                    <a data-toggle="dropdown" href="#"><i class="tm-icon zmdi zmdi-more-vert"></i></a>
                    <ul class="dropdown-menu dm-icon pull-right">
               <%--         <li class="hidden-xs"><a data-action="fullscreen" href="#"><i class="zmdi zmdi-fullscreen"></i>Tam Ekran Kullan</a></li>
                        <li class="divider hidden-xs"></li>--%>
                        <li class="hidden-xs"><a <%=ModulYetkileri()%> href="<%= Page.ResolveUrl("~/Moduller/Parametre/ParametreListesi.aspx") %>"><i class="zmdi zmdi-settings"></i>Ayarlar</a></li>
                        <li <%=ModulYetkileri()%>><a href="<%= Page.ResolveUrl("~/Moduller/KullaniciGrup/KullaniciGrupListesi.aspx") %>"><i class="zmdi zmdi-accounts"></i>Kullanıcı Grupları</a></li>
                        <li <%=ModulYetkileri()%>><a href="<%= Page.ResolveUrl("~/Moduller/Kullanici/KullaniciListesi.aspx") %>"><i class="zmdi zmdi-accounts"></i>Kullanıcılar</a></li>
                        <li <%=ModulYetkileri()%>><a href="<%= Page.ResolveUrl("~/Moduller/ViewIslemleri/ViewAktarma.aspx") %>"><i class="zmdi zmdi-copy"></i>View Aktarma</a></li>
                        <li <%=ModulYetkileri()%> class="divider hidden-xs"></li>
                        <li <%=ModulYetkileri()%>><a href="<%= Page.ResolveUrl("~/Pano/Default.aspx") %>"><i class="zmdi zmdi-view-dashboard"></i>Pano İzleme </a></li>
       <%--                 <li <%=ModulYetkileri()%> class="divider hidden-xs"></li>--%>
                        <li <%=ModulYetkileri()%>><a href="<%= Page.ResolveUrl("~/Pano/Admin.aspx") %>"><i class="zmdi zmdi-view-dashboard"></i>Pano Tasarım </a></li>
                        <li <%=ModulYetkileri()%> class="divider hidden-xs"></li>
                        <li <%=ModulYetkileri()%>><a href="<%= Page.ResolveUrl("~/Pano/Rapor.aspx") %>"><i class="zmdi zmdi-edit"></i>Özel Rapor Tasarım </a></li>
                        <li class="divider hidden-xs"></li>
                        <%--                        <li><a href="<%= Page.ResolveUrl("~/Giza.Mobile.Berka.apk") %>"><i class="zmdi zmdi-download"></i>Android Uygulamasını Indir</a></li>
                        <li class="divider hidden-xs"></li>
                        <li><a href="<%= Page.ResolveUrl("~/Giza.Client.rar") %>"><i class="zmdi zmdi-download"></i>Client Uygulamasını Indir</a></li>
                        <li class="divider hidden-xs"></li>--%>
                        <li><a href="<%= Page.ResolveUrl("~/Moduller/Kullanici/Cikis.aspx") %>"><i class="zmdi zmdi-time-restore"></i>Oturumu kapat <b><%=GetUserName()%></b></a></li>
                    </ul>
                </li>
            </ul>

        </li>
    </ul>
</header>
