Logout button

This commit is contained in:
ja
2021-09-02 08:30:40 +02:00
parent ec5fc4ff1a
commit 5e15360808

View File

@@ -270,7 +270,7 @@
<div class="collapse" id="collapseExample2">
<ul style="list-style:unset">
<li> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381"><img src="../images/samples/default-avatar.jpg"; width="20"; /></button> Profil bearbeiten </li>
<li><button type="button" id="LogoutButton" style="text-decoration: none;background-color:#fff;color:#043381"><img src="../images/Icons/main/Logout.svg.png"; style="width:20px; height:20px;color:#043381;background-color:#fff;"/>Logout</button></li>
<li> <button type="button" onclick="LogoutButton_Click" style="text-decoration: none;background-color:#fff;color:#043381"><img src="../images/Icons/main/Logout.svg.png"; style="width:20px; height:20px;color:#043381;background-color:#fff;"/>Logout</button></li>
</ul>
</div>
</li>
@@ -287,17 +287,16 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container-fluid"><center>
<div class="container-fluid" style="padding:2px 2px 2px 2px"><center>
<div class="row">
<div class="col-sm-6">
<ul style="list-style:unset;border:2.3px solid #043381">
<ul style="list-style:unset;border:2.3px solid #043381;text-align:start">
<li>Profilbild:</li>
</ul>
<center><asp:Image ID="Image1" runat="server" ImageUrl="~/images/samples/default-avatar.jpg" width="130" Height="130"/></center>
<center><asp:Image ID="Image1" runat="server" ImageUrl="~/images/samples/default-avatar.jpg" width="130" Height="130"/></center>
</div>
<div class="col-sm-5">
<ul style="list-style:unset;border:2.3px ridge #043381">
<ul style="list-style:unset;border:2.3px ridge #043381;text-align:start">
<li> Name: <%=Me.Page.User.Identity.Name %></li>
<li> Registriert seit: 15/02/2021</li>
<li> Die Berechtigungen im Überblick </li>
@@ -387,11 +386,9 @@
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381"><img src="../images/samples/default-avatar.jpg"; width="15"; /></button><asp:LoginName ID="LoginName1" runat="server" />
</button>
<div class="dropdown-content" style="margin-right:-25%;margin-top:2%">
<a type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff; color:#043381;"> Profil bearbeiten</a>
<a type="button" id="LogoutButton" style="text-decoration: none;background-color:#fff;color:#043381"><img src="../images/Icons/main/Logout.svg.png"; style="width:20px; height:20px;color:#043381;background-color:#fff;"/>Logout</a>
<div class="dropdown-content" style="margin-right:-25%;margin-top:2%">
<a type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff; color:#043381;"> Profil bearbeiten</a>
<button type="button" onclick="LogoutButton_Click" style="text-decoration: none;background-color:#fff;color:#043381"><img src="../images/Icons/main/Logout.svg.png"; style="width:20px; height:20px;color:#043381;background-color:#fff;"/>Logout</button>
<!-- <div class="dropdown-divider"></div>-->
</div> </div>