mirror of https://github.com/aredn/aredn.git
Add messages to mobile view (#1762)
This commit is contained in:
parent
528377e8b6
commit
bc0284c779
|
@ -98,6 +98,13 @@
|
|||
</div>
|
||||
</div>
|
||||
{% } else { %}
|
||||
<div hx-get="u-messages" hx-trigger="every 300s [document.visibilityState === 'visible']">
|
||||
{% if (messages.haveMessages() || (auth.isAdmin && messages.haveToDos())) { %}
|
||||
<div id="messages">
|
||||
{{_R("messages")}}
|
||||
</div>
|
||||
{% } %}
|
||||
</div>
|
||||
<div id="general">
|
||||
{{_R("general")}}
|
||||
</div>
|
||||
|
|
|
@ -53,6 +53,10 @@ body.mobile hr
|
|||
{
|
||||
flex-direction: column;
|
||||
}
|
||||
#m-main #messages
|
||||
{
|
||||
margin: 10px 10px 0 10px;
|
||||
}
|
||||
#m-main #location .location-image
|
||||
{
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in New Issue