Änderungen GUI und Mobilansichten login screen

This commit is contained in:
ja
2021-11-30 16:09:43 +01:00
parent 22bc933a25
commit b7f5edd67a
4 changed files with 24 additions and 21 deletions

View File

@@ -413,7 +413,7 @@
<h5 class="modal-title" id="exampleModalLabel">Profil: User: <%Response.Write(Me.Page.User.Identity.Name)%></h5> <h5 class="modal-title" id="exampleModalLabel">Profil: User: <%Response.Write(Me.Page.User.Identity.Name)%></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div> </div>
<div class="modal-body" > <div class="modal-body">
<div class="container-fluid" id="contfluid" style="padding:2px 2px 2px 2px"><center> <div class="container-fluid" id="contfluid" style="padding:2px 2px 2px 2px"><center>
<div class="row"> <div class="row">
<div class="col-sm-6" > <div class="col-sm-6" >
@@ -581,7 +581,7 @@
</div> </div>
<div class="dropdown" id="dropdownbtnmain" style="background-color:#fff; color:#043381;position:absolute;top:14%;right:70px;z-index:1032;width:155px"> <div class="dropdown" id="dropdownbtnmain" style="background-color:#fff; color:#043381;position:absolute;top:14%;right:70px;z-index:1032;width:155px">
<button class="dropbtn btn btn-primary" id="dropbtnbtnbtn" style="color:#043381;background-color:#fff;position:absolute;top:16%;right:85px;z-index:1032"> <button class="dropbtn btn btn-primary" id="dropbtnbtnbtn" style="color:#043381;background-color:#fff;position:absolute;top:6%;right:85px;z-index:1032">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381; width:30px;height:30px;white-space:nowrap;margin-top:2px;border:none"><img src="../images/samples/default-avatar.jpg"; style="width:15px;" /><a data-bs-toggle="modal" data-bs-target="#exampleModal"><asp:LoginName class="pointer" ID="LoginName2" runat="server" style="margin-left:6px"/></a></button> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381; width:30px;height:30px;white-space:nowrap;margin-top:2px;border:none"><img src="../images/samples/default-avatar.jpg"; style="width:15px;" /><a data-bs-toggle="modal" data-bs-target="#exampleModal"><asp:LoginName class="pointer" ID="LoginName2" runat="server" style="margin-left:6px"/></a></button>
</button> </button>
<ul class="dropdown-content" id="dropdownmenuecont" style="width:210px;top:30px;z-index:1032;margin-right:-2px;position:absolute;padding-top:15px"> <ul class="dropdown-content" id="dropdownmenuecont" style="width:210px;top:30px;z-index:1032;margin-right:-2px;position:absolute;padding-top:15px">

View File

@@ -541,7 +541,7 @@ Partial Class Customers_Default3
End If End If
End Sub End Sub
Protected Sub btn_SendData_Click(sender As Object, e As EventArgs) Handles btn_SendData.Click Protected Sub btn_SendData_Click(sender As Object, e As EventArgs)
'MsgBox("Rechnung.pdf") 'MsgBox("Rechnung.pdf")
dt = Nothing dt = Nothing
Session.Add("mytable", Nothing) Session.Add("mytable", Nothing)

View File

@@ -118,7 +118,7 @@ ContentPlaceHolder1 {
background-attachment: fixed; background-attachment: fixed;
background-size: cover; background-size: cover;
background-color: #fff; background-color: #fff;
width: 400px; width: 428px;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
@@ -143,22 +143,25 @@ ContentPlaceHolder1 {
color: #043381; color: #043381;
} }
.modal-dialog { .modal-dialog {
width: 400px; width: 428px;
margin-left:0px; margin-left:0px;
} }
#contfluid { #contfluid {
width: 400px; width: 428px;
} }
.modal-content { .modal-content {
width: 300px; width: 428px;
display: block; display: block;
overflow-x: no-content; overflow-x: no-content;
} }
.modal-header { .modal-header {
width: 400px; width: 428px;
}
.modal-body{
width:428px;
} }
ul{ ul{
width:400px; width:428px;
} }
#Image1 { #Image1 {

View File

@@ -127,14 +127,14 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 375px; width: 375px;
height: 613px; height: 513px;
margin: 0 auto auto 9%; margin: 0 auto auto 9%;
margin-top: 0px; margin-top: 0px;
} }
.container-fluid { .container-fluid {
width: 375px; width: 375px;
height: 613px; height: 513px;
background-color: rgba(255,255,255,0.5); background-color: rgba(255,255,255,0.5);
top:2px; top:2px;
bottom: auto; bottom: auto;
@@ -145,7 +145,7 @@
font-size: 11px; font-size: 11px;
border: 1px solid gray; border: 1px solid gray;
width: 375px; width: 375px;
height: 613px; height: 513px;
margin: auto auto auto -2px; margin: auto auto auto -2px;
} }
#lbl_Ueberschrift_M { #lbl_Ueberschrift_M {
@@ -461,30 +461,30 @@
<asp:Label ID="lbl_login_M" runat="server" Text="Login" style=" color: #003680;font-size: 2.320901320901321em; font-weight: 800; margin-left:132px;margin-top:20px"></asp:Label> <asp:Label ID="lbl_login_M" runat="server" Text="Login" style=" color: #003680;font-size: 2.320901320901321em; font-weight: 800; margin-left:132px;margin-top:20px"></asp:Label>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:57px"> <tr style="color:#003680; height:48px">
<td align="left"> <td align="left">
<asp:TextBox ID="txt_CustomerID_M" CssClass="bg-UID-icon" runat="server" ValidationGroup="Login_M" Width="325" Placeholder="Customer-ID" Font-Size="2.025em" style="margin-left: 22px;margin-top:10px;border-radius: 8px 8px 8px 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;"></asp:TextBox> <asp:TextBox ID="txt_CustomerID_M" CssClass="bg-UID-icon" runat="server" ValidationGroup="Login_M" Width="325" Placeholder="Customer-ID" Font-Size="2.025em" style="margin-left: 16px;margin-top:10px;border-radius: 8px 8px 8px 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;"></asp:TextBox>
<asp:RequiredFieldValidator ID="CustomerID_M_required" runat="server" ControlToValidate="txt_CustomerID_M" SetFocusOnError="true" Font-Size="18px" ForeColor="Red" style="margin-left:22px;" ValidationGroup="Login_M" ErrorMessage="*"></asp:RequiredFieldValidator> <asp:RequiredFieldValidator ID="CustomerID_M_required" runat="server" ControlToValidate="txt_CustomerID_M" SetFocusOnError="true" Font-Size="18px" ForeColor="Red" style="margin-left:22px;" ValidationGroup="Login_M" ErrorMessage="*"></asp:RequiredFieldValidator>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:57px;"> <tr style="color:#003680; height:48px;">
<td align="left" colspan="2"> <td align="left" colspan="2">
<asp:TextBox id="Username" runat="server" CssClass="bg-user-icon" TextMode="SingleLine" Width = "325" ValidationGroup="Login_M" Placeholder="Username" required="true" Font-Size="2.025em" style="margin-left:22px;color:#003680;border-radius: 8px 8px 8px 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;"></asp:TextBox> <asp:TextBox id="Username" runat="server" CssClass="bg-user-icon" TextMode="SingleLine" Width = "325" ValidationGroup="Login_M" Placeholder="Username" required="true" Font-Size="2.025em" style="margin-left:16px;color:#003680;border-radius: 8px 8px 8px 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserName_M_required" runat="server" ControlToValidate="Username" Font-Size="18px" ErrorMessage="*" ForeColor="Red" style="margin-left:22px;" ValidationGroup="Login_M" SetFocusOnError="false"></asp:RequiredFieldValidator> <asp:RequiredFieldValidator ID="UserName_M_required" runat="server" ControlToValidate="Username" Font-Size="18px" ErrorMessage="*" ForeColor="Red" style="margin-left:22px;" ValidationGroup="Login_M" SetFocusOnError="false"></asp:RequiredFieldValidator>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:57px;"> <tr style="color:#003680; height:48px;">
<td align="left" colspan="2"> <td align="left" colspan="2">
<asp:TextBox ID="Password" runat="server" CssClass="bg-key-icon" TextMode="Password" Tooltip="Please provide the Password" required="true" Width = "325" Font-Size="2.025em" ValidationGroup="Login_M" MaxLength="30" AutoCompleteType="Enabled" CausesValidation="true" style="margin-left:22px;color:#003680;border-radius: 8px 8px 8px 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;" Placeholder="Password" Text="Password"></asp:TextBox> <asp:TextBox ID="Password" runat="server" CssClass="bg-key-icon" TextMode="Password" Tooltip="Please provide the Password" required="true" Width = "325" Font-Size="2.025em" ValidationGroup="Login_M" MaxLength="30" AutoCompleteType="Enabled" CausesValidation="true" style="margin-left:16px;color:#003680;border-radius: 8px 8px 8px 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;" Placeholder="Password" Text="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="Passwordrequired_M" runat="server" SetFocusOnError="true" Font-Size="18px" ControlToValidate="Password" style="margin-left:22px;color:red;" ErrorMessage="*" ForeColor="Red" ValidationGroup="Login_M"></asp:RequiredFieldValidator> <asp:RequiredFieldValidator ID="Passwordrequired_M" runat="server" SetFocusOnError="true" Font-Size="18px" ControlToValidate="Password" style="margin-left:22px;color:red;" ErrorMessage="*" ForeColor="Red" ValidationGroup="Login_M"></asp:RequiredFieldValidator>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:80px;"> <tr style="color:#003680; height:70px;">
<td align="left" colspan="4"> <td align="left" colspan="4">
<asp:LinkButton ID="LoginButton_M" runat="server" CommandName="Login" BorderStyle="None" ValidationGroup="Login_M" CssClass="btn btn-primary" target="_top" OnClientClick="bust2()" Width="320px" Font-Size="20px" style="margin-left:24px; padding:0px 0px 0px 0px;background-color:#003680;height:52px;margin-top:-40px;"><center><label for="LoginButton_M" style="margin:0 auto; margin-top:13px">Login</label></center></asp:LinkButton> <asp:LinkButton ID="LoginButton_M" runat="server" CommandName="Login" BorderStyle="None" ValidationGroup="Login_M" CssClass="btn btn-primary" target="_top" OnClientClick="bust2()" Width="320px" Font-Size="20px" style="margin-left:16px; padding:0px 0px 0px 0px;background-color:#003680;height:52px;margin-top:-40px;"><center><label for="LoginButton_M" style="margin:0 auto; margin-top:13px">Login</label></center></asp:LinkButton>
</td> </td>
</tr> </tr>
<tr style="color:#003680; height:34px;"> <tr style="color:#003680; height:28px;">
<td align="left" colspan="2"> <td align="left" colspan="2">
<asp:CheckBox ID="RememberMe_M" runat="server" ValidationGroup="Login_M" style="margin-left:22px;margin-top:-10px"/><label for="RememberMe_M" id="lbl_for_chkbox_M" style="margin-top:5px;font-size:18px">Remember me.</label> <asp:CheckBox ID="RememberMe_M" runat="server" ValidationGroup="Login_M" style="margin-left:22px;margin-top:-10px"/><label for="RememberMe_M" id="lbl_for_chkbox_M" style="margin-top:5px;font-size:18px">Remember me.</label>
</td> </td>