<%@ Page Language="VB" Debug="true" ValidateRequest="false" AutoEventWireup="false" CodeFile="admin.aspx.vb" Inherits="admin_admin" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
     <!-- Bootstrap -->
   <html lang="en">
    <!-- Required meta tags -->
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
    <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css">

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>HOMEPAGE ADMIN</title>
    <link rel="stylesheet" type="text/css" href="../css/main.css"/>
    <link rel="stylesheet" type="text/css" href="../css/style.css"/>
    <link rel="SHORTCUT ICON" href="../images/Icons/favicon/favicon.ico" />
       
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    
 <style type="text/css">
        .admin_td {
            width: 202px;
            vertical-align:top
        }
        /* Dropdown */
        .dropbtn {
                    background-color: #043381;
                    position: page:absolute;
                    color: white;
                    padding: 16px;
                    font-size: 16px;
                    border: none;
                }

        /* Dropdown Content (Hidden by Default) */
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #fff;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
        }

            /* Links inside the dropdown */
            .dropdown-content a {
                color: black;
                padding: 12px 16px;
                text-decoration: none;
                display: block;
            }

                /* Change color of dropdown links on hover */
                .dropdown-content a:hover {
                    background-color: #043381;
                    color: #fff;                   
                }

        /* Show the dropdown menu on hover */
        .dropdown:hover .dropdown-content {
            display: block;
        }

        /* Change the background color of the dropdown button when the dropdown content is shown */
        .dropdown:hover .dropbtn {
            background-color: #043381;
        }
        
        #btnUpdate {
            background-color: aliceblue;
            color: #043381;
        }
        #BtnAdd{
            background-color: aliceblue;
            color: #043381;
        }
        #btnDel{
           background-color: aliceblue;
            color: #043381;
        }
         #btnUpdate:hover {
            background-color: #fff;
            color: darkblue;
        }
        #BtnAdd:hover{
            background-color: greenyellow;
            color: #043381;
        }
        #btnDel:hover{
            background-color: orangered;
            color: aliceblue;
        }
        #btnDel:single-button{
            background-color: orangered;
            color: aliceblue;
        }
        #txtContent{
            color:#043381;
            background-color:#fff;
        }
        #txtContent::selection{
            color:#043381;
            background-color:#fff;
        }
        #txtContent:invalid{
            color:red;
        }
        #txtContent:hover{             
            color:#043381;
            background-color: floralwhite;
        }
        #sqlText{
            color:#043381;
            background-color:#fff;
        }
        #sqlText:hover{
            color:#043381;
            background-color: floralwhite;
        }
        #btnDoSql{
            background-color: aliceblue;
            color: #043381;
        }
        #btnDoSql:hover{
            color:#043381;
            background-color: floralwhite;        
        }       
        #txtMenueBez{
            color:#043381;
            background-color:aliceblue;
        }
        #txtMenueBez:invalid{
            color:red;
        }
         #txtMenueBez:hover{
            color:#043381;
            background-color: floralwhite;  
        }
        #txtMenueSlogan{
            color:#043381;
            background-color:aliceblue;
        }
        #txtMenueSlogan:invalid::selection{
             color: red;           
        }       
        #txtMenueSlogan:hover{
            color:#043381;
            background-color: floralwhite;        
        }
        #txtMenueIMGPfad{
            color:#043381;
            background-color:aliceblue;
        }
        #txtMenueIMGPfad:hover{
            color:#043381;
            background-color: floralwhite;  
        }
        #picMenue{
            color:#043381;
            background-color:aliceblue;
        }
        #picMenue:hover{
            color:#043381;
            background-color: floralwhite;  
        }
    </style>
      <script type="text/javascript" src="../js/toptions/top_up-min.js"></script>
        <!--[if IE]>
                <link rel="stylesheet" type="text/css" href="../css/main.css">
          <![endif]-->

          <!--[if IE 6]>
                <link rel="stylesheet" type="text/css" href="../css/main.css">
          <![endif]-->

          <!--[if lt IE 7]>
                <link rel="stylesheet" type="text/css" href="../css/main.css">
          <![endif]-->

          <!--[if lte IE 5.5999]>
                <link rel="stylesheet" type="text/css" href="../css/main.css">
          <![endif]-->

          <!--[if gte IE 5.5]>
                <link rel="stylesheet" type="text/css" href="../css/main.css">
          <![endif]-->            
     <script type="text/javascript" src="js/languageupdatescript.js"></script>
    </head>

<body style="height:100%">
     <div class="container-fluid">
        <form id="form1" runat="server">
            <div id="bodycontent" style="height:100%;place-content:center">
                
          <!-- #include file="..\navigation.aspx" --> 
             <div id="main-page" style="height:100%">
               <div class="pagecontent" style="height:800px">                    
                    <nav class="navbar navbar-expand-lg navbar-light bg-light" style="background-color:#fff">                       
                            <a class="navbar-brand" href="../newpageJulius_Sidebar.aspx"><img src="../images/Logo_small.png" alt="Logo VERAG AG Blaue Schrift bis zum grauen AG" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"/> </a>                          
                     </nav>

               <!--      <div class='content_all'  style="height:600px">-->
                        <br />
                        <h1 style="width:100%; border-bottom:1px solid #003688">ADMIN - HOMEPAGE BEARBEITUNG</h1>
    <br />
    <br />

           <table style="width:100%;">
                <tr>
                    <td class="auto-style1">Menü-Bezeichnung:</td>
                    <td class="auto-style2">Slogan (nur bei Hauptmenü):</td>
                    <td>Bild-Pfad:</td>
                </tr>
                <tr>
                    <td class="admin_td">
                        <asp:TextBox ID="txtMenueBez" runat="server" Width="100%"></asp:TextBox>
                    </td>
                    <td class="admin_td">
                        <asp:TextBox ID="txtMenueSlogan" runat="server" Width="100%"></asp:TextBox>
                    </td>
                    <td class="admin_td">
                        <asp:TextBox ID="txtMenueIMGPfad" runat="server" Width="100%"></asp:TextBox>
                    </td >
                      <td class="admin_td" rowspan="2">
                          <asp:Image ID="picMenue" runat="server" height="50" width="100"/>&nbsp;
                      </td>
                </tr>
               <tr>
                  <td class="admin_td" colspan="2"> 
                      <!--   <nobr>Sprache:
                            <asp:DropDownList  ID="Sprache" runat="server" OnSelectedIndexChanged="SpracheChanged" AutoPostBack="True">
                                <asp:ListItem Text="DE" Value="DE" />
                                <asp:ListItem Text="EN" Value="EN" />
                                <asp:ListItem Text="TR" Value="TR" />
                                <asp:ListItem Text="RO" Value="RO" />
                                <asp:ListItem Text="YU" Value="YU" />
                                <asp:ListItem Text="BG" Value="BG" />
                            </asp:DropDownList>
                            </nobr> -->
                  </td>
               </tr>
                <tr>
                    <td class="auto-style1">&nbsp;</td>
                    <td class="auto-style2">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>

             <div class="content_66" style="height:100%;">
                   <asp:TextBox ID="txtContent" runat="server" Height="100%" Width="100%" TextMode="MultiLine"></asp:TextBox>
             </div>

         <div class="content_33" style="height:100%;">
           <div style="  padding-left:40px">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" Width="60%" OnClick="Update_Click"  /><br />
             <br />
                <a href="addHp.aspx?menuID=<%= menueId %>&lan=<%= laenderkuerzel %>" toptions="type = iframe, effect = fade, width = 500, height = 200, overlayClose = 1,shaded=0, layout = flatlook"   style='padding:0px;margin:0px;width:50px;height:11px;color:#003688;text-decoration: none;'>
                    <input type="button" id="BtnAdd" runat="server" value="Unterseite erstellen" style="width:60%" /><br />
                 </a>
               <br />
               <a href="delHp.aspx?menuID=<%= menueId %>&lan=<%= laenderkuerzel %>" toptions="type = iframe, effect = fade, width = 500, height = 200, overlayClose = 1,shaded=0, layout = flatlook"   style='padding:0px;margin:0px;width:50px;height:11px;color:#003688;text-decoration: none;'>
                       <input type="button" id="btnDel" runat="server" value="Diese Seite löschen" style="width:60%" /><br />
                 </a>
                 <br />
                 <br />
                    SQL:
                 <br />
                    <asp:TextBox id="sqlText"  runat="server"  TextMode="MultiLine" style="width:100%; height: 200px"></asp:TextBox>
                        <asp:Button  id="btnDoSql" runat="server" Text="SQL ausführen" style="width:60%" /><br />         
                 </div>
                 </div>
        </div>
                     </div>
                 <!--    </div> -->
                </div> 
  
         </form>
         </div>
</body>
</html>
