Skip to content

Commit

Permalink
logout (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschoning committed Jan 16, 2024
1 parent 294ef27 commit 03a9cdf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Binary file modified static/js/app.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion static/js/app.min.js.map

Large diffs are not rendered by default.

Binary file modified static/js/app.min.js.map.gz
Binary file not shown.
4 changes: 4 additions & 0 deletions templates/default-layout-wrapper.hamlet
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ $newline never
};
<body .f6.dark-gray.helvetica>
^{pageBody pc}

<script type="module">
import { logoutE } from '@{StaticR js_app_min_js}';
Array.from(document.getElementsByClassName('logout-btn')).forEach(_ => _.addEventListener('click', logoutE));

0 comments on commit 03a9cdf

Please sign in to comment.