Sicherheitsmaßnahme entschäfrft

This commit is contained in:
ja
2021-11-17 14:35:52 +01:00
parent da12fb5ce5
commit 9dfefd85a7
4 changed files with 239 additions and 230 deletions

View File

@@ -20,7 +20,7 @@ Partial Class CustomsAviso
VERAG_VARIABLES.initerrorcount()
If Me.Page.User.Identity.IsAuthenticated Then
If Me.Page.User.Identity.Name = "userwithlongername" Or Me.Page.User.Identity.Name = "test" Then
Try
Kdnrtext = Session.Item("CustomerID")
Catch A As UnauthorizedAccessException When String.IsNullOrEmpty(Kdnrtext)
@@ -272,18 +272,16 @@ Partial Class CustomsAviso
regval_txt_Absender_M.Enabled = True
End If
End If
Else
VERAG_VARIABLES.seterrorcount(20)
Console.WriteLine(VERAG_VARIABLES.geterrornumb() + "The User is not authenticated to this page. Please login again!", vbAbort, "Error User")
End If
Dim erster = New Date(Now().Year, Now().Month, 1)
datevon = erster
datebis = Date.Parse(Now.ToShortDateString)
pickdate1.Text = erster.ToUniversalTime.ToString("yyyy-MM-dd")
pickdate2.Text = Date.Now.ToUniversalTime.ToString("yyyy-MM-dd")
Else
FormsAuthentication.RedirectToLoginPage()
VERAG_VARIABLES.seterrorcount(20)
Console.WriteLine(VERAG_VARIABLES.geterrornumb() + "The User is not authenticated to this page. Please login again!", vbAbort, "Error User")
End If
End Sub
Protected Sub initcells(tr As TableRow, t1 As TableCell, t2 As TableCell, t3 As TableCell, t4 As TableCell, t5 As TableCell, t6 As TableCell, t7 As TableCell, t8 As TableCell, th1 As TableHeaderCell, th2 As TableHeaderCell, th3 As TableHeaderCell, th4 As TableHeaderCell, th5 As TableHeaderCell, th6 As TableHeaderCell, th7 As TableHeaderCell, th8 As TableHeaderCell)

View File

@@ -165,7 +165,18 @@ li {
font-size: 3.3769100169779285vw;
}
}
@media (max-width: 322.98px) {
table {
border-collapse: collapse;
border-spacing: 0.125em;
width: /*575px;*/ 126.65198237885463vw;
border: /*1px*/ 2.1744791666666665vw solid #ddd;
background-color: white;
color: #043381;
overflow-x: auto;
font-size: 3.3769100169779285vw;
}
}
@media (min-width: 575px) {
#offcanvasWithBothOptions {
min-width: 17.692852087756545vw;

View File

@@ -43,14 +43,14 @@
width: 350px;
}
}
@media (max-width: 349.98px) {
@media (max-width: 322.98px) {
#conovertab {
width: 348px;
width: 322px;
overflow-x: auto;
}
body {
width: 348px;
width: 322px;
}
h1 {
@@ -70,6 +70,6 @@
#containerseiterand {
margin-left: 5px;
margin-right: 5px;
width: 348px;
width: 322px;
}
}

View File

@@ -102,8 +102,8 @@ h1 {
width:400px;
}
}
@media (max-width: 323px) {
#conovertab{
@media (max-width: 322.98px) {
#conovertab {
width: 320px;
overflow-x: auto;
}