mirror of
https://github.com/Hopiu/webapi-eca.git
synced 2026-05-04 13:34:47 +00:00
22 lines
681 B
HTML
22 lines
681 B
HTML
<div id="menubar">
|
|
<div id="menubar_modules">forge modules</div>
|
|
<div id="menubar_rules">forge rules</div>
|
|
<div id="menubar_event">invoke events</div>
|
|
<div id="menubar_logout">logout</div>
|
|
<script>
|
|
$( '#menubar_modules' ).click( function() {
|
|
window.location.href = 'forge_modules';
|
|
});
|
|
$( '#menubar_rules' ).click( function() {
|
|
window.location.href = 'forge_rules';
|
|
});
|
|
$( '#menubar_event' ).click( function() {
|
|
window.location.href = 'invoke_event';
|
|
});
|
|
$( '#menubar_logout' ).click( function() {
|
|
$.post( '/logout' ).done( function() {
|
|
window.location.href = document.URL;
|
|
});
|
|
});
|
|
</script>
|
|
</div>
|