Skip to content

Commit

Permalink
index: Move audio file HTML out of .app.
Browse files Browse the repository at this point in the history
There's no compelling reason for these to be inside the container
element for the app's main screen UI.
  • Loading branch information
timabbott committed May 19, 2023
1 parent d7528f6 commit 4be5ce9
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions templates/zerver/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,18 @@
</div>
</div>
</div>

<div id="user-profile-modal-holder"></div>

<audio id="user-notification-sound-audio">
<source class="notification-sound-source-ogg" type="audio/ogg" />
<source class="notification-sound-source-mp3" type="audio/mpeg" />
</audio>
<audio id="realm-default-notification-sound-audio">
<source class="notification-sound-source-ogg" type="audio/ogg" />
<source class="notification-sound-source-mp3" type="audio/mpeg" />
</audio>

<div class="alert-box">
<div class="alert alert_sidebar alert-error home-error-bar" id="connection-error">
<div class="exit"></div>
Expand Down Expand Up @@ -249,13 +260,5 @@
<form id="logout_form" action="/accounts/logout/" method="POST">{{ csrf_input }}
</form>
</div>
<audio id="user-notification-sound-audio">
<source class="notification-sound-source-ogg" type="audio/ogg" />
<source class="notification-sound-source-mp3" type="audio/mpeg" />
</audio>
<audio id="realm-default-notification-sound-audio">
<source class="notification-sound-source-ogg" type="audio/ogg" />
<source class="notification-sound-source-mp3" type="audio/mpeg" />
</audio>
</div>
{% endblock %}

0 comments on commit 4be5ce9

Please sign in to comment.