Skip to content

Commit

Permalink
logout (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschoning committed Jan 19, 2024
1 parent b6e28d7 commit 0c5433d
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 21 deletions.
36 changes: 18 additions & 18 deletions static/js/app.min.js

Large diffs are not rendered by default.

Binary file modified static/js/app.min.js.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions 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 0c5433d

Please sign in to comment.