Mobilversion wurde implementiert der Seitenmenüs sowie Gestaltung der Seite insgesamt

This commit is contained in:
ja
2021-09-17 12:02:40 +02:00
parent 7712435b9a
commit 84a8ee5508
2 changed files with 51 additions and 25 deletions

View File

@@ -132,6 +132,7 @@
<div class="col-12" id="cont3">
<div class="container" style="margin-left:2px">
<div id="Abstand"></div>
<div class="d-none d-md-block">
<!-- Optionale Suchparameter-->
<div class="row">
<div id="rowcol1" class="col-12" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
@@ -150,6 +151,28 @@
</div>
</div>
</div>
<div class="d-md-none">
<div id="rowcol3" class="col-10 row" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<div class="row">
<asp:Label ID="lbl_LKWNr_M" runat="server" Text="LKW Nr"></asp:Label>
<asp:TextBox ID="txt_LKWNr_M" runat="server" style="width:117px; margin-left:25px;"></asp:TextBox>
</div>
<div id="rowcol4" class="col-10 row" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<asp:Label ID="lbl_KdNrAuftrag_M" runat="server" Text="Kunden Auftrags Nr" style="margin-left:45px"></asp:Label>
<asp:TextBox ID="txt_KdNrAuftrag_M" runat="server" style="width:117px; margin-left:6px;"></asp:TextBox>
</div>
<div id="rowcol5" class="col-10 row" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<asp:Label ID="lbl_Absender_M" runat="server" Text="Absender"></asp:Label>
<asp:TextBox ID="txt_Absender_M" runat="server" style="width:155px; margin-left:8px;"></asp:TextBox>
</div>
<div id="rowcol6" class="col-10 row" style="margin-right:/*1.52px;*/0.33480176211453744vw;">
<asp:Label ID="lbl_Empfaenger_M" runat="server" Text="Empfänger" style="margin-left:9px"></asp:Label>
<asp:TextBox ID="txt_Empfaenger_M" runat="server" style="width:155px; margin-left:52px;"></asp:TextBox>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@@ -224,6 +247,11 @@
$("#container2").hide();
}
});
});
</script>
<script type='text/javascript'>
$(document).ready(function () {
$("#container2").hide();
$('#<%=RadioButtonList2.ClientID %> input[type="radio"]').change(function () {
if ($(this).val() == "Freigabe") {
$("#container2").show();

View File

@@ -44,30 +44,30 @@ Partial Class Kundenbereich_Default
Kdnrtext = Session.Item("CustomerID").ToString
dt = Nothing
If txt_Absender.Text IsNot "" Then
If txt_Absender.Text IsNot "" Or txt_Absender_M.Text IsNot "" Then
txt_Absender.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Absender = txt_Absender.Text
ElseIf txt_Empfaenger.Text IsNot "" Then
txt_Absender_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Absender = txt_Absender_M.Text
ElseIf txt_Empfaenger.Text IsNot "" Or txt_Empfaenger_M.Text IsNot "" Then
txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Empfaenger = txt_Empfaenger.Text
ElseIf txt_KdNrAuftrag.Text IsNot "" Then
txt_Empfaenger_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Empfaenger = txt_Empfaenger_M.Text
ElseIf txt_KdNrAuftrag.Text IsNot "" Or txt_KdNrAuftrag_M.Text IsNot "" Then
txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Enabled
KDNAFNR = txt_KdNrAuftrag.Text
ElseIf txt_LKWNr.Text IsNot "" Then
txt_KdNrAuftrag_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
KDNAFNR = txt_KdNrAuftrag_M.Text
ElseIf txt_LKWNr.Text IsNot "" Or txt_LKWNr_M.Text IsNot "" Then
txt_LKWNr.ValidateRequestMode = UI.ValidateRequestMode.Enabled
LKWNR = txt_LKWNr.Text
txt_LKWNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
LKWNR = txt_LKWNr_M.Text
End If
'Dim tr
If rbt_Alle.Selected = True Or rbt_Alle_M.Selected = True Then
If pickdate1.Text = Nothing AndAlso pickdate2.Text = Nothing Then
MsgBox("Bitte ein Datum auswählen!", MsgBoxStyle.Information, "Information!")
pickdate1.BackColor = Drawing.Color.Aqua
pickdate2.BackColor = Drawing.Color.Aqua
lbl_von.BackColor = Drawing.Color.Red
lbl_bis.BackColor = Drawing.Color.Red
Else
If Date.Parse(pickdate2.Text) > Date.Parse(pickdate1.Text) Then
Try
datevon = Date.Parse(pickdate1.Text)
@@ -76,8 +76,6 @@ Partial Class Kundenbereich_Default
MsgBox(ex.StackTrace, MsgBoxStyle.Exclamation)
End Try
End If
Return
End If
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB("", Kdnrtext, {0, 1, 2, 3, 4, 5}, datevon, datebis, Absender, Empfaenger, LKWNR, KDNAFNR)