Login sowie Logout funktioniert
This commit is contained in:
@@ -1,144 +1,73 @@
|
||||
<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="Loggedin.aspx.vb" Inherits="login_login_TEST" %>
|
||||
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Loggedin.aspx.vb" Inherits="login_Logged_IN" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<%@ import Namespace="MySql.Data.MySqlClient" %>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>VERAG Spedition AG Login</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" />
|
||||
<head runat="server">
|
||||
<!-- Bootstrap -->
|
||||
<html lang="en"></html>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8"/>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" title="VERAG LoggedIn"/>
|
||||
|
||||
<link rel="shortcut icon" href="../images/Icons/favicon/favicon.ico" />
|
||||
<!-- <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
|
||||
<script src="js/netzwerk.js" type="text/javascript"></script>
|
||||
|
||||
<!-- 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" type="text/css" href="../css/main.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>
|
||||
|
||||
<!-- <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
|
||||
<script src="js/netzwerk.js" type="text/javascript"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheets/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheets/example.css"/>
|
||||
<style>
|
||||
body {
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
#Login1_LoginButton {
|
||||
color: #fff;
|
||||
background-color: #003680;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../css/example.css"/>
|
||||
|
||||
<script type="text/javascript">
|
||||
// Vergebe den Event-Handler
|
||||
document.onkeydown = handleKeyEvent;
|
||||
// Funktion, die den Event verarbeitet
|
||||
function handleKeyEvent(e) {
|
||||
// MSIE nimmt das Event-Objekt aus window.event, DOM-kompatible Browser aus dem e-Funktionsparameter
|
||||
if (!e) e = window.event;
|
||||
// keyCode muss 70 sein und ctrlKey true
|
||||
if (e.keyCode == 68 && e.ctrlKey) {
|
||||
alert('Strg+D wurde gedrückt');
|
||||
//topup
|
||||
<script type="text/javascript">
|
||||
// Vergebe den Event-Handler
|
||||
document.onkeydown = handleKeyEvent;
|
||||
// Funktion, die den Event verarbeitet
|
||||
function handleKeyEvent(e) {
|
||||
// MSIE nimmt das Event-Objekt aus window.event, DOM-kompatible Browser aus dem e-Funktionsparameter
|
||||
if (!e) e = window.event;
|
||||
// keyCode muss 70 sein und ctrlKey true
|
||||
if (e.keyCode == 68 && e.ctrlKey) {
|
||||
alert('Strg+D wurde gedrückt');
|
||||
//topup
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- <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>
|
||||
<style>
|
||||
body{
|
||||
background-image:none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="d-flex flex-row bd-highlight mb-3">
|
||||
<div class="p-2 bd-highlight" style="width:252px;height:216px;align-content:flex-start;">
|
||||
<form id="form1" runat="server">
|
||||
|
||||
<div style="height:32px;background-image: linear-gradient(to right, #003680 , #0055cc);color:#fff;">
|
||||
<center><asp:Label ID="lbl_Loggedin" runat="server" Text="Logged In!" Style="font-weight:900"></asp:Label></center>
|
||||
</div>
|
||||
<h2> Willkommen zurück!</h2> <asp:LoginName ID="LoginName1" runat="server" />
|
||||
<div class="row" id="BTN_World">
|
||||
<div class="col-3">
|
||||
<asp:LinkButton ID="LogoutButton" target="_top" href="../login/Logout.aspx" runat="server" CssClass="btn btn-primary" Text="Logout" />
|
||||
</div>
|
||||
<div style="height:/*15px*/1.17096018735363vh;"></div>
|
||||
<div class="col-3">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../css/login/LoggedIn.css"/>
|
||||
</head>
|
||||
|
||||
<body onload="FocusOnInput()">
|
||||
<!-- #include file="../navigation.aspx" -->
|
||||
<div class="container-fluid" style="width:252px;height:216px;">
|
||||
<form id="form1" runat="server">
|
||||
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser">
|
||||
<LayoutTemplate>
|
||||
<table cellpadding="0" style="font-family:Arial;font-size:11px;border:1px solid gray">
|
||||
|
||||
<div>
|
||||
<tr style=" background-image: linear-gradient(to right, #003680 , #0055cc);color:#fff;height:30px;font-size:12px">
|
||||
<td align="center" colspan="2" style="color:#fff;font-kerning:auto;font-weight:700;">Erfolgreich eingeloggt!</td>
|
||||
</tr>
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none; font-size:/*25px;*/ 1.990327332242226vh">
|
||||
<symbol id="check-circle-fill" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" ValidateRequestMode="Enabled"/>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<td>
|
||||
<div class="alert alert-success align-items-center" role="alert" style="width:98%;">
|
||||
<svg class="bi shrink-0 me-2" width="3.125vw" height="1.875vh" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
|
||||
</td>
|
||||
<tr> <td>
|
||||
<asp:Label ID="LBL2" runat="server">Willkommen zurück: <%=Login1.UserName %> </asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="height:10px;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="2">
|
||||
<br/> <asp:Button id="LogoutButton" runat="server"/>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</LayoutTemplate>
|
||||
</asp:Login>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type = "text/javascript">
|
||||
function goBack() {
|
||||
window.history.back()
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
function bust1() {
|
||||
if (top != self)
|
||||
setInterval("top.location.replace('../Kundenseite.aspx')", 1);
|
||||
}
|
||||
function bust2() {
|
||||
if (top != self)
|
||||
setInterval("top.location.replace('../admin/admin.aspx')", 1);
|
||||
}
|
||||
function bust3() {
|
||||
if (top != self)
|
||||
setInterval("top.location.replace('../newpageJulius_Sidebar.aspx')", 1);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user