Änderungen dass bestimmte Seiten nur vom Admin besucht werden können. Außerdem diverse Änderumgen:
- im Design der Seite ChangePW.aspx mit Tabelle sowie neubau der Eerrorseite, um zukünftige Errors dort anzeigen zu lassen statt der gelben Seite wo Pfade etc revealt werden könnten. - Reperatur der Prüfungen mit den neu übergebenen bzw den angepassten Variablen in der Codebehind Datei von ChangePW.aspx.vb - Übersetzung der Forgot PW Seite und Krrektur um die neuen Parameter nur temporär zu speichern (verschlüsselt) -
This commit is contained in:
178
login/Error.aspx
Normal file
178
login/Error.aspx
Normal file
@@ -0,0 +1,178 @@
|
||||
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Error.aspx.vb" Inherits="login_Default" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>Error 404 VERAG</title>
|
||||
<style>
|
||||
.textfronterror{
|
||||
color:#003680;
|
||||
}
|
||||
</style>
|
||||
<%@ import Namespace="MySql.Data.MySqlClient"%>
|
||||
<%'Dim url As String = Session.Keys.Item("urltochangepw")%>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<html lang="en"></html>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" title="Verag Spedition AG AvisoTV Flex"/>
|
||||
|
||||
<!-- 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"/>
|
||||
<!-- 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 href="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"/>
|
||||
<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" />
|
||||
<!-- <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="../css/login/ForgotPW.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>
|
||||
<style>
|
||||
.txt_design2 {
|
||||
color: #003680;
|
||||
font-size: 1.725em;
|
||||
}
|
||||
@media (max-width: 558.98px) {
|
||||
body {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
background: #fafafa;
|
||||
background-image: url(../../images/road.jpg);
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
background-color: #fff;
|
||||
overflow-y: clip;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
#content_container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 400px;
|
||||
height: 613px;
|
||||
margin: 0 auto;
|
||||
margin-top: 0px;
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
width: 395px;
|
||||
height: 613px;
|
||||
background-color: rgba(255,255,255,0.5);
|
||||
top: 50%;
|
||||
bottom: auto;
|
||||
left: -2px;
|
||||
right: 520px;
|
||||
margin: auto;
|
||||
}
|
||||
#lbl_Ueberschrift_M {
|
||||
background-color: #003680;
|
||||
font-size: 1.85em;
|
||||
color: #fff;
|
||||
}
|
||||
#lbl_login_M {
|
||||
background-color: #003680;
|
||||
font-size: 2em;
|
||||
color: #fff;
|
||||
}
|
||||
.txt_design {
|
||||
color: #003680;
|
||||
font-size: 1.85em;
|
||||
}
|
||||
.txt_design2 {
|
||||
color: #003680;
|
||||
font-size: 1.895em;
|
||||
margin-right: 1px;
|
||||
}
|
||||
#btn_Send_M {
|
||||
background-color: #003680;
|
||||
color: #fff;
|
||||
width: 325px;
|
||||
height: 32px;
|
||||
margin-bottom: 0px;
|
||||
margin-left:-4px;
|
||||
padding-inline: 2px 2px;
|
||||
padding: -10px 0px 10px 1px;
|
||||
font-weight:600;
|
||||
}
|
||||
#btn_Back_M {
|
||||
background-color: #003680;
|
||||
color: #fff;
|
||||
width: 325px;
|
||||
height: 32px;
|
||||
margin-bottom: -50px;
|
||||
margin-left:16px;
|
||||
padding-inline: 2px 2px;
|
||||
padding: -10px 0px 12px 1px;
|
||||
border:none;
|
||||
font-size:18px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content_container">
|
||||
<div class="container-fluid">
|
||||
<form id="form1" runat="server">
|
||||
<center>
|
||||
<!-- Große Bildschirme-->
|
||||
<div class="d-none d-md-block">
|
||||
<table id="tbl_main" cellpadding="0" style="margin: 15px auto auto auto; border:none;">
|
||||
<center>
|
||||
<tr style="color:#003680;height:48px;">
|
||||
<td colspan="8">
|
||||
<asp:Label ID="lbl_error" style="color:#003680;font-weight:200" runat="server">Error</asp:Label>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<asp:Label ID="lbl_erranz" ClientIDMode="AutoID" style="color:#ff0000;font-weight:300" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</center>
|
||||
</table>
|
||||
</div>
|
||||
<!--Smartphone-Bildschirme-->
|
||||
<div class="d-md-none">
|
||||
<table id="tbl_main_M" cellpadding="0" style="margin:10px 8px 10px 8px; border: none;">
|
||||
<center>
|
||||
<tr style="color:#003680;height:48px;">
|
||||
<td>
|
||||
<asp:Label ID="lbl_error_M" style="color:#003680;font-weight:200" Font-Size="22px" runat="server">Error</asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lbl_erranz_M" style="color:#ff0000;font-display:swap" ClientIDMode="AutoID" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</center>
|
||||
</table>
|
||||
</div>
|
||||
</center>
|
||||
</form>
|
||||
</div></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user