Skip to content

Commit

Permalink
move chat 3-dots to left of chat_bubble
Browse files Browse the repository at this point in the history
  • Loading branch information
nworbnhoj committed Jan 13, 2025
1 parent 276ab75 commit 992b0dc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
34 changes: 17 additions & 17 deletions appeal/templates/appeal/accept.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 68,23 @@
{% for entry in appeal.log %}
{% if entry.id == player_id %}
<div class="log_entry align_end {{ entry.klass }}">
{% if bids|get_item:entry.pk %}
<div class="drop_down icon">
<div class="btn todo" data-down="false">
<i class="fa-solid fa-ellipsis-vertical fa-xl"></i>
</div>
<div class="down hidden">
<label class="btn tertiary menu">
<input hidden type="submit" name='decline' value='{{ bid.pk }}'>
decline
</label>
</div>
</div>
<label class="btn primary round">
<input hidden type="submit" name='accept' value='{{ entry.pk }}' onclick="return confirm('You are about to schedule a Match. A chat sesion will be opened with your rival. Continue?')">
<i class="fa-solid fa-right-long fa-xl"></i>
</label>
{% endif %}
{% else %}
<div class="log_entry align_start {{ entry.klass }}">
<div class="btn special2">
Expand Down Expand Up @@ -97,23 114,6 @@
{% endif %}
<span class="text">{{ entry.text }}</span>
</div>
{% if bids|get_item:entry.pk %}
<div class="drop_down icon">
<div class="btn todo" data-down="false">
<i class="fa-solid fa-ellipsis-vertical fa-xl"></i>
</div>
<div class="down hidden">
<label class="btn tertiary menu">
<input hidden type="submit" name='decline' value='{{ bid.pk }}'>
decline
</label>
</div>
</div>
<label class="btn primary round">
<input hidden type="submit" name='accept' value='{{ entry.pk }}' onclick="return confirm('You are about to schedule a Match. A chat sesion will be opened with your rival. Continue?')">
<i class="fa-solid fa-right-long fa-xl"></i>
</label>
{% endif %}
</div>
{% endfor %}
</div>
Expand Down
28 changes: 14 additions & 14 deletions appeal/templates/appeal/bid.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 59,9 @@
{% for entry in appeal.log %}
{% if entry.id == player_id %}
<div class="log_entry align_end {{ entry.klass }}">
{% else %}
<div class="log_entry align_start {{ entry.klass }}">
<div class="btn special2">
<i class="fa-solid {{ entry.icon }} fa-2x"></i>
</div>
{% endif %}
<div class="chat_bubble">
<span class="name">{{ entry.name }}</span>
<time datetime="{{ entry.created }}"></time>
<span class="text">{{ entry.text }}</span>
</div>
{% if bid %}
{% if entry.pk == bid.pk %}
<div class="drop_down icon head_more">
{% if bid %}
{% if entry.pk == bid.pk %}
<div class="drop_down icon">
<div class="btn drop" data-down="false">
<i class="fa-solid fa-ellipsis-vertical fa-2x"></i>
</div>
Expand All @@ -86,8 75,19 @@
</form>
</div>
</div>
{% endif %}
{% endif %}
{% else %}
<div class="log_entry align_start {{ entry.klass }}">
<div class="btn special2">
<i class="fa-solid {{ entry.icon }} fa-2x"></i>
</div>
{% endif %}
<div class="chat_bubble">
<span class="name">{{ entry.name }}</span>
<time datetime="{{ entry.created }}"></time>
<span class="text">{{ entry.text }}</span>
</div>
</div>
{% endfor %}
</div>
Expand Down

0 comments on commit 992b0dc

Please sign in to comment.