-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added sounds and background color when logging out of an area
- Loading branch information
Showing
12 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<script>$('body').removeClass().addClass('logout-error')</script> | ||
<h1>Your badge wasn't recognized.</h1> | ||
<h2>If you got a new one recently then we'll need to update your account.</h2> | ||
<h2>Please visit the NanoFab user office to resolve the problem.</h2> | ||
<audio src="{% url 'media' 'error.mp3' %}" autoplay></audio> | ||
<script>revert(15);</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<script>$('body').removeClass().addClass('logout-success')</script> | ||
<h1>You're now logged out of the {{ area|lower }}, {{ name }}.</h1> | ||
<audio src="{% url 'media' 'success.mp3' %}" autoplay></audio> | ||
<script>revert(7);</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script>$('body').removeClass().addClass('logout-warning')</script> | ||
<h1>You're now logged out of the {{ area|lower }}, {{ name }}.</h1> | ||
<audio src="{% url 'media' 'warning.mp3' %}" autoplay></audio> | ||
<h2 style="color:red"> | ||
<p>You are currently still logged in to the following tools:</p> | ||
<ul> | ||
{% for usage_event in tools_in_use %} | ||
<li>{{ usage_event.tool.name }}</li> | ||
{% endfor %} | ||
</ul> | ||
</h2> | ||
<script>revert(15);</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<script>$('body').removeClass().addClass('logout-warning')</script> | ||
<h1>According to our records, you're not logged in to any access controlled areas.</h1> | ||
<h2>Please visit the NanoFab user office if you believe this is an error.</h2> | ||
<audio src="{% url 'media' 'warning.mp3' %}" autoplay></audio> | ||
<script>revert(15);</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters