diff options
author | Igor Ustyugov | 2016-09-04 11:30:27 +0500 |
---|---|---|
committer | Vitaly Takmazov | 2016-09-04 23:43:04 +0300 |
commit | c3422c2c08510dbb7443c63b88adf1587deb8f76 (patch) | |
tree | 15b6f448a25f83c4ed05cdf1b8ab392c62230990 /juick-www/src/main/resources | |
parent | 26ed351bbc59767be8ce2500cbb5250de63df5c9 (diff) |
Fix avatar/timestamp on small display
Diffstat (limited to 'juick-www/src/main/resources')
-rw-r--r-- | juick-www/src/main/resources/views/pm_inbox.html | 19 | ||||
-rw-r--r-- | juick-www/src/main/resources/views/pm_sent.html | 21 |
2 files changed, 19 insertions, 21 deletions
diff --git a/juick-www/src/main/resources/views/pm_inbox.html b/juick-www/src/main/resources/views/pm_inbox.html index d53c81ba..d8fbf4ce 100644 --- a/juick-www/src/main/resources/views/pm_inbox.html +++ b/juick-www/src/main/resources/views/pm_inbox.html @@ -5,15 +5,16 @@ {% for msg in msgs %} <li class="msg"> <div class="msg-cont"> - <div class="msg-ts">{{ msg.getDate() }}</div> - <div class="msg-avatar"> - <a href="/{{ msg.getUser().getUName() }}/"> - <img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getUName() }}"/> - </a> - </div> - <div class="msg-header"> - <a href="/{{ msg.getUser().getUName() }}/">@{{ msg.getUser().getUName() }}</a>: + <div class="msg-header"> + @<a href="/{{ msg.getUser().getUName() }}/">{{ msg.getUser().getUName() }}</a>: + <div class="msg-avatar"> + <a href="/{{ msg.getUser().getUName() }}/"> + <img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getUName() }}"/> + </a> + </div> + <div class="msg-ts">{{ msg.getDate() }}</div> </div> + <div class="msg-txt">{{ msg.getText() | raw }}</div> <form action="/pm/send" method="POST" enctype="multipart/form-data"> @@ -33,4 +34,4 @@ {% endblock %} {% block "column" %} {% include "views/partial/homecolumn.html" %} -{% endblock %}
\ No newline at end of file +{% endblock %} diff --git a/juick-www/src/main/resources/views/pm_sent.html b/juick-www/src/main/resources/views/pm_sent.html index fc65a4fd..e03b3a7d 100644 --- a/juick-www/src/main/resources/views/pm_sent.html +++ b/juick-www/src/main/resources/views/pm_sent.html @@ -12,19 +12,16 @@ {% for msg in msgs %} <li class="msg"> <div class="msg-cont"> - <div class="msg-ts">{{ msg.getDate() }}</div> - <div class="msg-avatar"> - <a href="/{{ msg.getUser().getUName() }}/"> - <img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getUName() }}"/> - </a> - </div> - <div class="msg-header"> - <a href="/{{ msg.getUser().getUName() }}/">@{{ msg.getUser().getUName() }}</a>: + <div class="msg-header"> + @<a href="/{{ msg.getUser().getUName() }}/">{{ msg.getUser().getUName() }}</a>: + <div class="msg-avatar"> + <a href="/{{ msg.getUser().getUName() }}/"> + <img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getUName() }}"/> + </a> + </div> + <div class="msg-ts">{{ msg.getDate() }}</div> </div> <div class="msg-txt">{{ msg.getText() | raw }}</div> - - - </div> </li> {% endfor %} @@ -33,4 +30,4 @@ {% endblock %} {% block "column" %} {% include "views/partial/homecolumn.html" %} -{% endblock %}
\ No newline at end of file +{% endblock %} |