diff --git a/Customers/Invoices.aspx b/Customers/Invoices.aspx index 32137f6..d3ce656 100644 --- a/Customers/Invoices.aspx +++ b/Customers/Invoices.aspx @@ -196,7 +196,7 @@ Customer Order Number Sender Reciever - Information + Information diff --git a/Customers/Invoices.aspx.vb b/Customers/Invoices.aspx.vb index 354ab32..c6c9805 100644 --- a/Customers/Invoices.aspx.vb +++ b/Customers/Invoices.aspx.vb @@ -124,7 +124,8 @@ Partial Class Customers_Default3 t8.ForeColor = veragblue End If - t8.Width = Unit.Pixel(36.7) + t8.Width = Unit.Pixel(22) + t8.Height = Unit.Pixel(26) th1.Font.Bold = True th2.Font.Bold = True th3.Font.Bold = True @@ -149,7 +150,7 @@ Partial Class Customers_Default3 th6.ForeColor = white th7.ForeColor = white th8.ForeColor = white - th8.Width = Unit.Pixel(36.7) + th8.Width = Unit.Pixel(22) End Sub Protected Sub btn_b_Click(sender As Object, e As EventArgs) @@ -444,14 +445,15 @@ Partial Class Customers_Default3 Dim btn As New ImageButton btn.ViewStateMode = ViewStateMode.Enabled btn.CssClass = "btn btn-primary" - btn.ImageUrl = "../images/pdficon.gif" + btn.ImageUrl = "../images/Icons/main/833px-PDF_file_icon_small.gif" + btn.ImageAlign = ImageAlign.Middle 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("Target", "_blank") - btn.Width = Unit.Percentage(100) - btn.Height = Unit.Percentage(100) + btn.Width = Unit.Pixel(72) + btn.Height = Unit.Pixel(56) 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(36.7) + tbl_Cell_Info.Width = Unit.Pixel(22) + tbl_Cell_Info.Height = Unit.Pixel(26) 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, diff --git a/images/Icons/main/833px-PDF_file_icon_small.gif b/images/Icons/main/833px-PDF_file_icon_small.gif new file mode 100644 index 0000000..4eccf00 Binary files /dev/null and b/images/Icons/main/833px-PDF_file_icon_small.gif differ