<%@ Page Language="VB" AutoEventWireup="false" Inherits="SGHweb.SIG_frm_puntosVenta" Codebehind="frm_puntosVenta.aspx.vb" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace ="System.Collections.Generic" %>
<%@ Import Namespace="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .puntoVenta
        {
            height: 90px;
        }
        .nombrePuntoVenta
        {
            height: 130px;
            text-align: center;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 14px;
            font-weight: bold;
            padding-bottom: 20px;
            color: #808A87;
        }

        .wrap 
        { 
            white-space: pre-line; 
            width : 25%;
        }
        .button, .button:visited { /* botones genéricos */
        background: #222 /*url(http://sites.google.com/site/zavaletaster/Home/overlay.png) repeat-x*/;
        display: inline-block;
        padding: 5px 10px 6px;
        color: #FFF;
        text-decoration: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 1px solid rgba(0,0,0,0.25);
        position: relative;
        cursor:pointer;
        }

        button::-moz-focus-inner,
        input[type="reset"]::-moz-focus-inner,
        input[type="button"]::-moz-focus-inner,
        input[type="submit"]::-moz-focus-inner,
        input[type="file"] > input[type="button"]::-moz-focus-inner {
        border: none;
        }

        .button:hover { /* el efecto hover */
        background-color: #111
        color: #FFF;
        }

        .button:active{ /* el efecto click */
        top: 1px;
        }

        /* botones pequeños */
        .small.button, .small.button:visited {
        font-size: 11px ;
        }

        /* botones medianos */
        .button, .button:visited,.medium.button, .medium.button:visited {
        font-size: 13px;
        font-weight: bold;
        line-height: 1;
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        }

        /* botones grandes */
        .large.button, .large.button:visited {
        font-size:14px;
        padding: 8px 14px 9px;
        }

        /* botones extra grandes */
        .super.button, .super.button:visited {
        font-size: 34px;
        padding: 8px 14px 9px;
        }

        .pink.button { background-color: #E22092; }
        .pink.button:hover{ background-color: #C81E82; }

        .green.button, .green.button:visited { background-color: #91BD09; }
        .green.button:hover{ background-color: #749A02; }

        .red.button, .red.button:visited { background-color: #E62727; }
        .red.button:hover{ background-color: #CF2525; }

        .orange.button, .orange.button:visited { background-color: #FF5C00; }
        .orange.button:hover{ background-color: #D45500; }

        .blue.button, .blue.button:visited { background-color: #3c7fb1; }
        .blue.button:hover{ background-color: #2a587b; }

        .yellow.button, .yellow.button:visited { background-color: #FFB515; }
        .yellow.button:hover{ background-color: #FC9200; }
    </style>

    <%--PARA EL ALERTA--%>
<script src="../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
   <script type="text/javascript" src="../Scripts/noty/jquery.noty.js"></script>
   <script type="text/javascript" src="../Scripts/noty/layouts/center.js"></script>
   <script type="text/javascript" src="../Scripts/noty/themes/default.js"></script>
   <script type="text/javascript" src="../Scripts/noty/layouts/bottom.js"></script>

<script language="javascript" type="text/javascript">

    function generate_acceso(type, texto) {
        var n = noty({
            text: texto,
            type: 'alert',
            dismissQueue: true,
            modal: true,
            layout: 'center',
            theme: 'defaultTheme',
            buttons: [
                { addClass: 'btn btn-danger', text: 'Ok', onClick: function ($noty) {
                    $noty.close();
                    window.location = 'Default.aspx';
                }
                },
              ]
        });
        console.log('html: ' + n.options.id);
        return n;
    }

    function loadpageInit(idSesion) {
        var notificacion = generate_acceso('Descargando Reporte <br><img src="../Scripts/noty/ajax-loader.gif" />');
        setTimeout(function () {
            $.noty.setText(notificacion.options.id, 'Usuario no autorizado a esta opcion.'); // same as alert.setText('Text Override')
        }, 0000);
        //        setTimeout(function () {
        //            $.noty.setText(notificacion.options.id, 'Si desea tener acceso comuniquese con el encargado de sistemas.'); // same as alert.setText('Text Override')
        //        }, 2000);

    }
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <br />
            <table border="0px" width="100%"  cellpadding="0" cellspacing="0" style="border-right:#3c7fb1 1px solid; border-left:#3c7fb1 1px solid; border-bottom:#3c7fb1 1px solid; border-top:#3c7fb1 1px solid;">
                <tr>
                    <td  style="background-color:#ecf4ff; text-align: left; padding-left:10px; padding-bottom:5px; padding-top:5px;" valign="middle" class="gridtextgray" >
                        <asp:LinkButton ID="btn_conectarme" runat="server"
                            Font-Names="Arial, Helvetica, sans-serif" Font-Size="11pt" 
                            CssClass="wrap" >Pagina Principal</asp:LinkButton>
                    </td>
                </tr>
            </table>
        <br />
            <table width="100%" border="0px" >
                <tr>
                    <td style="text-align:center; " valign="middle" >
                         <asp:Panel ID="Panel1" runat="server">
                         </asp:Panel>
                    </td>
                </tr>
            </table>
    </div>
    </form>
</body>
</html>



<%--<table width="100%" border="0px" >
                <tr>
                    <td >
                         <center>
                            <table border="0px" width="60%">
                                <tr style="text-align: center">
                                    <td class="puntoVenta" >
                                        <telerik:RadButton ID="RadButton12" runat="server" ButtonType="ToggleButton" ToggleType="Radio"
                                           Text="RESTAURANT" Width="128px" Height="128px" ForeColor="Black" >
                                            <ToggleStates>
                                                <telerik:RadButtonToggleState ImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" Selected="true" IsBackgroundImage="true" />
                                                <telerik:RadButtonToggleState ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg"
                                                    IsBackgroundImage="true" />
                                            </ToggleStates>
                                        </telerik:RadButton>
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton13" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton>     
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton14" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton> 
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton15" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton> 
                                    </td>
                                </tr>
                                <tr style="text-align: center">
                                    <td class="puntoVenta" >
                                        <telerik:RadButton ID="RadButton16" IzD="btnFemale" runat="server" ButtonType="ToggleButton" ToggleType="Radio"
                                           Text="BAR" Width="128px" Height="128px" ForeColor="Black" class="puntoVenta">
                                            <ToggleStates>
                                                <telerik:RadButtonToggleState ImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" Selected="true" IsBackgroundImage="true" />
                                                <telerik:RadButtonToggleState ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg"
                                                    IsBackgroundImage="true" />
                                            </ToggleStates>
                                        </telerik:RadButton>
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton17" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton>     
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton18" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton> 
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton19" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton> 
                                    </td>
                                </tr>
                                <tr style="text-align: center">
                                    <td class="puntoVenta" >
                                        <telerik:RadButton ID="RadButton20" IzD="btnFemale" runat="server" ButtonType="ToggleButton" ToggleType="Radio"
                                           Text="OTROS" Width="128px" Height="128px" ForeColor="Black" class="puntoVenta">
                                            <ToggleStates>
                                                <telerik:RadButtonToggleState ImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" Selected="true" IsBackgroundImage="true" />
                                                <telerik:RadButtonToggleState ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg"
                                                    IsBackgroundImage="true" />
                                            </ToggleStates>
                                        </telerik:RadButton>
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton21" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton>     
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton22" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton> 
                                    </td>
                                    <td class="puntoVenta">
                                        <telerik:RadButton ID="RadButton23" runat="server" Width="128px" Height="128px">
                                            <Image ImageUrl="~/SIG/Resources/menuVenta01.jpg" HoveredImageUrl="~/SIG/Resources/menuVenta01Hov.jpg" />
                                        </telerik:RadButton> 
                                    </td>
                                </tr>
                            </table>        
                        </center>
                    </td>
                </tr>
            </table>--%>