Commit 3f18035b7c64c504f83a6614743516076ef56cd3
1 parent
d2b8b1a2
Exists in
master
and in
2 other branches
Adjusting chat participants list responsivity
Showing
5 changed files
with
8 additions
and
7 deletions
Show diff stats
amadeus/static/css/base/amadeus.css
amadeus/static/css/base/amadeus_responsive.css
chat/templates/chat/_view_participant.html
... | ... | @@ -2,14 +2,14 @@ |
2 | 2 | |
3 | 3 | {% is_online participant as status %} |
4 | 4 | |
5 | -<div class="col-md-12 col-sm-12 participant panel"> | |
6 | - <div class="col-md-1 col-sm-1 user-img"> | |
5 | +<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 participant panel"> | |
6 | + <div class="col-md-1 col-sm-1 col-xs-2 user-img"> | |
7 | 7 | <img src="{{ participant.image_url }}" class="img-responsive" /> |
8 | 8 | </div> |
9 | - <div class="col-md-4 col-sm-4 user-info"> | |
9 | + <div class="col-md-4 col-sm-4 col-xs-10 user-info"> | |
10 | 10 | <h4><a class="user_{{ participant.id }}_status status {{ status }}" data-toggle="tooltip" title="{{ status|status_text }}"></a> {{ participant }}</h4> |
11 | 11 | </div> |
12 | - <div class="col-md-6 col-sm-6 buttons pull-right text-center"> | |
12 | + <div class="col-md-6 col-sm-6 col-xs-12 buttons pull-right text-center"> | |
13 | 13 | <a href="#" onclick="getModalInfo($(this), '{{ space }}', '{{ space_type }}'); return false;" data-url='{% url "chat:profile" participant.email %}' class="btn btn-raised btn-default">{% trans 'See Profile' %}</a> |
14 | 14 | <a href="#" onclick="getModalInfo($(this), '{{ space }}', '{{ space_type }}'); return false;" data-url='{% url "chat:talk" participant.email %}' class="btn btn-raised btn-success">{% trans 'Send Message' %}</a> |
15 | 15 | </div> | ... | ... |
chat/templates/chat/list.html
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | <div class="panel category-panel-content panel-body"> |
42 | 42 | <h2 class="my-subjects-title"><b>{% trans 'Conversations' %}</b></h2> |
43 | 43 | |
44 | - <div class="talks-group"> | |
44 | + <div class="talks-group row"> | |
45 | 45 | {% for chat in conversations %} |
46 | 46 | {% include 'chat/_view.html' with space="0" space_type='general' %} |
47 | 47 | {% endfor %} | ... | ... |
chat/templates/chat/list_participants.html
... | ... | @@ -43,7 +43,7 @@ |
43 | 43 | <div class="panel category-panel-content panel-body"> |
44 | 44 | <h2 class="my-subjects-title"><b>{% trans 'Participants' %}</b></h2> |
45 | 45 | |
46 | - <div class="participants-group"> | |
46 | + <div class="participants-group row"> | |
47 | 47 | {% for participant in participants %} |
48 | 48 | {% include 'chat/_view_participant.html' with space="0" space_type='general' %} |
49 | 49 | {% endfor %} | ... | ... |