templates: Move main_div definition to index.html.

This will make it easier to have JavaScript render the home.html
template.
This commit is contained in:
Tim Abbott 2021-07-07 09:35:14 -07:00
parent 63a99c55b7
commit a085954042
2 changed files with 148 additions and 148 deletions

View File

@ -1,5 +1,4 @@
{# Home tab of the app, containing messages. #} {# Home tab of the app, containing messages. #}
<div class="message_area_padder message_list" id="main_div">
<div class="top-messages-logo"> <div class="top-messages-logo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12">
<circle cx="386.56" cy="386.56" r="386.56"/> <circle cx="386.56" cy="386.56" r="386.56"/>
@ -151,4 +150,3 @@
</div> </div>
<div id="loading_newer_messages_indicator"></div> <div id="loading_newer_messages_indicator"></div>
</div> </div>
</div>

View File

@ -152,8 +152,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="message_area_padder message_list" id="main_div">
{% include "zerver/app/home.html" %} {% include "zerver/app/home.html" %}
</div> </div>
</div>
<div id="compose" {% if embedded %}data-embedded{% endif %}> <div id="compose" {% if embedded %}data-embedded{% endif %}>
<div id="compose-container"></div> <div id="compose-container"></div>
</div> </div>