Skip to content

Commit

Permalink
Show login status.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Sep 25, 2018
1 parent 48e6655 commit b10e419
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
</head>
<body>
<h1>Profile viewer</h1>
<p id="login">
You are not logged in.
</p>
<p id="logout">
You are logged in as <span id="user"></span>.
</p>
<script src="scripts/jquery.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions scripts/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$('#logout').hide();

0 comments on commit b10e419

Please sign in to comment.