neugeschriebene GUI der Rechnungsseite

This commit is contained in:
ja
2021-11-02 14:34:49 +01:00
parent 643be1821f
commit 225689e263

View File

@@ -103,24 +103,54 @@
<div class="d-none d-md-block">
<div class="row">
<div id="rowcol1" class="row-cols-1">
<asp:TextBox ID="txt_LKW" runat="server" PlaceHolder="LKW Kennzeichen" style="width:117px;margin-left:26px"></asp:TextBox>
<asp:TextBox ID="txt_LKW" runat="server" PlaceHolder="truck license plate" style="width:119px;margin-left:18px"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ControlToValidate="txt_LKW" ID="reqval_txt_LKW" Enabled="false"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_LKW" runat="server" ID="regex_txt_LKW" ValidationExpression="[A-Z0-9]{4,30}\d" Display="Dynamic" ErrorMessage="Wrong Plate-Format!" SetFocusOnError="true"></asp:RegularExpressionValidator>
<asp:TextBox ID="txt_KdNrAuftrag" runat="server" PlaceHolder="KundenAuftr-Nr." style="width:117px;margin-left:26px"></asp:TextBox>
<asp:TextBox ID="txt_KdNrAuftrag" runat="server" PlaceHolder="Customer Order Nr" style="width:119px;margin-left:16px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_KdNrAuftrag" runat="server" Display="Dynamic" ID="reqval_txt_KdNrAuftrag" Enabled="false"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_KdNrAuftrag" runat="server" Display="Dynamic" ValidationExpression="[0-9]{2,8}" ErrorMessage="Wrong Input!"></asp:RegularExpressionValidator>
</div>
<div id="rowcol2" class="row-cols-2">
<asp:TextBox ID="txt_Absender" runat="server" PlaceHolder="Sender" style="width:117px;margin-left:26px"></asp:TextBox>
<div id="rowcol2" class="row-cols-1">
<asp:TextBox ID="txt_Absender" runat="server" PlaceHolder="Sender" style="width:119px;margin-left:18px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_Absender" runat="server" Enabled="false"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_Absender" runat="server" ID="regex_txt_Absender" ValidationExpression="[a-zA-Z0-9]{90}" SetFocusOnError="true" Display="Dynamic" ErrorMessage="Wrong Input! Try again!"></asp:RegularExpressionValidator>
<asp:TextBox ID="txt_Empfaenger" runat="server" PlaceHolder="Receiver" style="width:117px;margin-left:26px"></asp:TextBox>
<asp:TextBox ID="txt_Empfaenger" runat="server" PlaceHolder="Receiver" style="width:119px;margin-left:16px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_Empfaenger" runat="server" Enabled="false" ID="reqval_txt_Empfaenger"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_Empfaenger" runat="server" ID="regex_txt_Empfaenger" ValidationExpression="[a-zA-Z0-9]{90}" Display="Dynamic" ErrorMessage="Empfänger: Falsche Eingabe!" SetFocusOnError="true"></asp:RegularExpressionValidator>
</div>
<asp:RegularExpressionValidator ControlToValidate="txt_Empfaenger" runat="server" ID="regex_txt_Empfaenger" ValidationExpression="[a-zA-Z0-9]{2,90}" Display="Dynamic" ErrorMessage="Empfänger: Falsche Eingabe!" SetFocusOnError="true"></asp:RegularExpressionValidator>
</div>
<div id="rowcol3" class="row-row-cols-1">
<asp:TextBox ID="txt_ReNr" runat="server" PlaceHolder="invoice number" style="width:119px;margin-left:18px" AutoCompleteType="Notes"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_ReNr" runat="server" ID="reqval_txt_ReNr" Display="Dynamic" Enabled="false" ></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_ReNr" runat="server" ID="regex_txt_ReNr" ValidationExpression="[0-9]{1,8}" Display="Dynamic" ErrorMessage="Please stay in the range of 8 numbers!"></asp:RegularExpressionValidator>
</div>
</div>
</div>
<!-- Mobil -->
<div class="d-md-none">
<div class="row">
<div id="rowcols4" class="row-cols-1" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<asp:TextBox ID="txt_LKW_M" runat="server" PlaceHolder="truck license plate" style="width:105px;margin-left:29px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_LKW_M" runat="server" ID="regval_txt_LKW_M" Enabled="false"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_LKW_M" runat="server" ID="regex_txt_LKW_M" ValidationExpression="[A-Z0-9]{4,30}\d" Display="Dynamic" ErrorMessage="Wrong plate format!" SetFocusOnError="true" Enabled="false"></asp:RegularExpressionValidator>
<asp:TextBox ID="txt_KdNrAuftrag_M" runat="server" PlaceHolder="Customer Order Nr" style="width:105px;margin-left:13px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_KdNrAuftrag_M" runat="server" Enabled="false" ID="reqval_txt_KdNrAuftrag_M"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator runat="server" ControlToValidate="txt_KdNrAuftrag_M" Display="Dynamic" ValidationExpression="[A-Z0-9]{5,30}/d" Enabled="false" ErrorMessage="No valid input found!"></asp:RegularExpressionValidator>
</div>
<div id="rowcols5" class="row-cols-1" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<asp:TextBox ID="txt_Absender_M" runat="server" PlaceHolder="Sender" style="width:105px;margin-left:29px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_Absender_M" runat="server" style="width:105px;margin-left:28px" Enabled="false" ID="req_txt_Absender_M" ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_Absender_M" runat="server" ID="regex_txt_Absender_M" Enabled="false" ValidationExpression="[a-zA-Z0-9]{90}" SetFocusOnError="true" Display="Dynamic" ErrorMessage="Wrong Input! Try again!"></asp:RegularExpressionValidator>
<asp:TextBox ID="txt_Empfaenger_M" runat="server" PlaceHolder="Receiver" style="width:105px;margin-left:-25px"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="txt_Empfaenger_M" runat="server" ID="reqval_txt_Empfaenger_M" Enabled="false" Display="Dynamic"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_Empfaenger_M" ID="regex_txt_Empaenger_M" runat="server" Enabled="false" ValidationExpression="[a-zA-Z0-9]{2,90}" Display="Dynamic" style="width:105px;margin-left:13px" SetFocusOnError="true" ErrorMessage="Error! Try again!"></asp:RegularExpressionValidator>
</div>
<div id="rowcol6" class="row-cols-1" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<asp:TextBox ID="txt_ReNr_M" runat="server" PlaceHolder="invoice number" style="width:105px;margin-left:29px"></asp:TextBox>
<asp:RequiredFieldValidator Enabled="false" ControlToValidate="txt_ReNr_M" runat="server" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ControlToValidate="txt_ReNr_M" runat="server" ID="regex_txt_ReNr_M" Display="Dynamic" ValidationExpression="[0-9]{1,8}" Enabled="false" ErrorMessage="Please stay in the range of 8 numbers!"></asp:RegularExpressionValidator>
</div>
</div>
</div>
</div>
<asp:Button ID="Button1" CssClass="btn btn-primary" runat="server" Text="Button" OnClick="btn_b_Click" />
</div>