webapi-eca/webpages/handlers/menubar.html
Dominic Bosch 32f5553471 Login functionality successfully implemented,
switched crypto to crypto-js from google. login.html form loads crypto-js directly from google codebase in order to hash passwords before sending them to the server
2013-11-28 16:05:47 +01:00

11 lines
No EOL
271 B
HTML

<div id="menubar">
<div id="menubar_menu">menu</div>
<div id="menubar_logout">logout</div>
<script>
$('#menubar_logout').click(function() {
$.post('../logout').done(function() {
window.location.href = document.URL;
});
});
</script>
</div>