Listenstyle der Buttons im Mobilmodus

This commit is contained in:
ja
2021-10-05 09:30:58 +02:00
parent 4beb82c135
commit bb899fe2fc
3 changed files with 6 additions and 11 deletions

View File

@@ -92,11 +92,11 @@
<div class="col-8" style="margin-left:8px"> <div class="col-8" style="margin-left:8px">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<label><input id="rbt_Alle_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Alle" data-bs-toggle="tooltip" data-bs-placement="top" title="Wenn dieser Filter angewählt ist, bitte das Datum eingrenzen." class="CSS_input" runat="server"/>Alle</label> <label><input id="rbt_Alle_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Alle" data-bs-toggle="tooltip" data-bs-placement="top" title="Wenn dieser Filter angewählt ist, bitte das Datum eingrenzen." class="CSS_input" runat="server"/>Alle</label>
<label><input id="rbt_Erf_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Erfasst" style="margin-right:4px" runat="server"/>Erfasst</label> <label style="margin-right:144px;"><input id="rbt_Erf_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Erfasst" style="margin-right:4px" runat="server"/>Erfasst</label>
<label><input id="rbt_Vorb_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Vorbereitet" style="margin-right:4px" runat="server"/>Vorbereitet</label> <label><input id="rbt_Vorb_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Vorbereitet" style="margin-right:4px" runat="server"/>Vorbereitet</label>
<label><input id="rbt_Vorg_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Vorgeschrieben" style="margin-right:4px" runat="server"/>Vorgeschrieben</label> <label><input id="rbt_Vorg_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Vorgeschrieben" style="margin-right:4px" runat="server"/>Vorgeschrieben</label>
<label><input id="rbt_Ankunft_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Ankunft" style="margin-right:4px" runat="server"/>Ankunft</label> <label style="margin-right:22px"><input id="rbt_Ankunft_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Ankunft" style="margin-right:4px" runat="server"/>Ankunft</label>
<label><input id="rbt_Freig_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Freigabe" data-bs-toggle="tooltip" data-bs-placement="top" title="Wenn dieser Filter angewählt ist, bitte das Datum eingrenzen." style="margin-right:4px" runat="server">Freigabe</label> <label style="margin-right:52px"><input id="rbt_Freig_M" onclick="GetSelectedVal(this)" type="radio" name="art2" value="Freigabe" data-bs-toggle="tooltip" data-bs-placement="top" title="Wenn dieser Filter angewählt ist, bitte das Datum eingrenzen." style="margin-right:4px" runat="server">Freigabe</label>
</div> </div>
</div> </div>
</div> </div>
@@ -211,7 +211,7 @@
$('#accordion').on('shown.bs.collapse', function (e) { $('#accordion').on('shown.bs.collapse', function (e) {
$(e.target).data('bs.collapse').$trigger.attr('src', 'https://s22.postimg.org/hkrauaofx/Mathematic_Minus2.png'); $(e.target).data('bs.collapse').$trigger.attr('src', 'https://s22.postimg.org/hkrauaofx/Mathematic_Minus2.png');
}); });
$('#accordion').on('hidden.bs.collapse', function (e,f) { $('#accordion').on('hidden.bs.collapse', function (e) {
$(e.target).data('bs.collapse').$trigger.attr('src', 'https://s22.postimg.org/9takvqkal/Mathematic_Plus2.png'); $(e.target).data('bs.collapse').$trigger.attr('src', 'https://s22.postimg.org/9takvqkal/Mathematic_Plus2.png');
}); });
</script> </script>

View File

@@ -20,7 +20,6 @@ Partial Class Kundenbereich_Default
' MsgBox(datebis) ' MsgBox(datebis)
If (Page.IsPostBack And normaltable.EnableViewState = False) Then If (Page.IsPostBack And normaltable.EnableViewState = False) Then
normaltable.EnableViewState = True normaltable.EnableViewState = True
If rbt_Alle.Checked = True Then If rbt_Alle.Checked = True Then
lbl_von.Visible = True lbl_von.Visible = True
lbl_bis.Visible = True lbl_bis.Visible = True
@@ -50,7 +49,6 @@ Partial Class Kundenbereich_Default
datevon = Date.Parse(pickdate1.Text) datevon = Date.Parse(pickdate1.Text)
datebis = Date.Parse(pickdate2.Text) datebis = Date.Parse(pickdate2.Text)
Else Else
normaltable.EnableViewState = True normaltable.EnableViewState = True
Dim erster = New Date(Now().Year, Now().Month, 1) Dim erster = New Date(Now().Year, Now().Month, 1)
@@ -442,13 +440,11 @@ Partial Class Kundenbereich_Default
pickdate2.Text = Date.Parse(erster.Day.ToString + "." + Now().Month.ToString + "." + Now().Year.ToString).ToString pickdate2.Text = Date.Parse(erster.Day.ToString + "." + Now().Month.ToString + "." + Now().Year.ToString).ToString
datevon = Nothing datevon = Nothing
datebis = Nothing datebis = Nothing
dt = Nothing dt = Nothing
'txt_KdNr.Focus() 'txt_KdNr.Focus()
End Sub End Sub
Protected Sub pickdate1_TextChanged(sender As Object, e As EventArgs) Protected Sub pickdate1_TextChanged(sender As Object, e As EventArgs)
If pickdate1.Text = "" Then If pickdate1.Text = "" Then
pickdate1.BorderColor = Drawing.Color.Red pickdate1.BorderColor = Drawing.Color.Red
Else Else
@@ -457,7 +453,6 @@ Partial Class Kundenbereich_Default
End Sub End Sub
Protected Sub pickdate2_TextChanged(sender As Object, e As EventArgs) Protected Sub pickdate2_TextChanged(sender As Object, e As EventArgs)
If pickdate2.Text = "" Then If pickdate2.Text = "" Then
pickdate2.Attributes.Add("Border", "2px solid red") pickdate2.Attributes.Add("Border", "2px solid red")
Else Else

View File

@@ -1,7 +1,7 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 17
VisualStudioVersion = 16.0.31605.320 VisualStudioVersion = 17.0.31717.71
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "VERAG_Homepage", "http://localhost:56551", "{11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}" Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "VERAG_Homepage", "http://localhost:56551", "{11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}"
ProjectSection(WebsiteProperties) = preProject ProjectSection(WebsiteProperties) = preProject