From d0a0208d7cb52dc6fa39a62babe80b2a588c36b4 Mon Sep 17 00:00:00 2001 From: ja Date: Mon, 22 Nov 2021 13:58:13 +0100 Subject: [PATCH] =?UTF-8?q?=C3=84nderungen=20Tabellengestaltung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Customers/CustomsAviso.aspx.vb | 3 +-- Customers/Invoices.aspx.vb | 17 +++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Customers/CustomsAviso.aspx.vb b/Customers/CustomsAviso.aspx.vb index d54a06f..4019549 100644 --- a/Customers/CustomsAviso.aspx.vb +++ b/Customers/CustomsAviso.aspx.vb @@ -19,8 +19,7 @@ Partial Class CustomsAviso Page.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms VERAG_VARIABLES.initerrorcount() - If Me.Page.User.Identity.IsAuthenticated Then - + If Me.Page.User.Identity.IsAuthenticated = True Then Try Kdnrtext = Session.Item("CustomerID") Catch A As UnauthorizedAccessException When String.IsNullOrEmpty(Kdnrtext) diff --git a/Customers/Invoices.aspx.vb b/Customers/Invoices.aspx.vb index 6654b96..7097498 100644 --- a/Customers/Invoices.aspx.vb +++ b/Customers/Invoices.aspx.vb @@ -126,12 +126,13 @@ Partial Class Customers_Default3 End If If String.IsNullOrEmpty(t8.Text) Then t8.BackColor = white - - t8.Width = Unit.Pixel(75) - t8.Height = Unit.Pixel(90) + t8.Width = Unit.Pixel(60) + t8.Height = Unit.Pixel(72) Else t8.BackColor = white t8.ForeColor = veragblue + t8.Width = Unit.Pixel(60) + t8.Height = Unit.Pixel(72) End If th1.Font.Bold = True @@ -158,7 +159,7 @@ Partial Class Customers_Default3 th6.ForeColor = white th7.ForeColor = white th8.ForeColor = white - th8.Width = Unit.Pixel(75) + th8.Width = Unit.Pixel(60) End Sub Protected Sub btn_b_Click(sender As Object, e As EventArgs) @@ -461,15 +462,15 @@ Partial Class Customers_Default3 btn.Style.Add("Display", "table-cell") btn.Style.Add("Vertical-align", "middle") btn.Style.Add("margin", "2px 2px 8px 4px") - btn.Width = Unit.Pixel(73) - btn.Height = Unit.Pixel(85) + btn.Width = Unit.Pixel(60) + btn.Height = Unit.Pixel(72) 'btn.Attributes.Add("href", "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString() + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString) btn.Attributes.Add("onclick", "window.open('../pdf/Bonizertifikat.pdf')") 'btn.PostBackUrl = "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString tbl_Cell_Info.ValidateRequestMode = UI.ValidateRequestMode.Enabled - tbl_Cell_Info.Width = Unit.Pixel(80) - tbl_Cell_Info.Height = Unit.Pixel(90) + tbl_Cell_Info.Width = Unit.Pixel(60) + tbl_Cell_Info.Height = Unit.Pixel(70) tbl_Cell_Info.Controls.Add(btn) tr.Cells.Add(tbl_Cell_Info) initcells(tr, tbl_Cell_Index, tbl_Cell_ReNr, tbl_Cell_LKWs, tbl_Cell_Auftragsdat, tbl_Cell_KundAuftrNr, tbl_Cell_Absender, tbl_Cell_Empfaenger, tbl_Cell_Info,