Webserver: added a logout button
This commit is contained in:
1 parent
2f2349ffbb
commit
f27aae0ae2
4 files changed
+18
No files matched your search
@@ -340,6 +340,9 @@
|
|||||||
<CustomToolNamespace>css</CustomToolNamespace>
|
<CustomToolNamespace>css</CustomToolNamespace>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Website\img\logout.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="Website\img\music.png">
|
<Content Include="Website\img\music.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -89,6 +89,13 @@
|
|||||||
<p>Configure user rights</p>
|
<p>Configure user rights</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#login" data-transition="slidefade">
|
||||||
|
<img src="img/logout.png">
|
||||||
|
<h2>Logout</h2>
|
||||||
|
<p>Closes the session</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- /content -->
|
<!-- /content -->
|
||||||
|
|||||||
@@ -354,6 +354,14 @@ function initPageLoadHandler() {
|
|||||||
$(this).data('promise', promise);
|
$(this).data('promise', promise);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//pageLoadHandler for login
|
||||||
|
$(document).on('pagebeforeshow', '#login', function () {
|
||||||
|
ownProfileId = -1;
|
||||||
|
profileIdRequest = -1;
|
||||||
|
songIdRequest = -1
|
||||||
|
sessionId = "";
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function initLoginPageHandler() {
|
function initLoginPageHandler() {
|
||||||
|
|||||||
Reference in new issue
Block a user