|
4 | 4 | </style> |
5 | 5 |
|
6 | 6 | <div class="navbar"> |
7 | | - <a class="icon-link" title="Delete Conversation" href='{{ delete_url }}'><img class="icon" src="{{ asset_url('trash.png') }}"></a> |
8 | | - <a class="close" title="Close Conversation" href='{{ close_url }}'><img class="icon" src="{{ asset_url('close.png') }}"></a> |
| 7 | + <div class="conversation-actions"> |
| 8 | + <a class="icon-link" title="Delete Conversation" href='{{ delete_url }}'><img class="icon" src="{{ asset_url('trash.png') }}"></a> |
| 9 | + <a class="close" title="Close Conversation" href='{{ close_url }}'><img class="icon" src="{{ asset_url('close.png') }}"></a> |
| 10 | + </div> |
9 | 11 | <h3 class="suggested-title"> |
10 | 12 | {% if is_waiting %} ⌛ {% endif %}Copilot Chat {% if suggested_title %}| {{ suggested_title }}{% endif %} |
11 | 13 | </h3> |
|
24 | 26 | {% endif %} |
25 | 27 | </div> |
26 | 28 |
|
27 | | -<span class="kind {{ section.kind }}"> |
| 29 | +<div class="kind {{ section.kind }}"> |
28 | 30 | {%- if section.kind == "report" -%} |
29 | 31 | <img class="icon" src="{{ asset_url('github.png') }}"> Github Copilot |
30 | 32 | {%- else -%} |
31 | 33 | {% if avatar_img_src %}<img class="icon" src="{{ avatar_img_src }}">{% endif %} {{ section.kind }} |
32 | 34 | {%- endif -%} |
33 | | -</span> |
| 35 | +</div> |
34 | 36 |
|
35 | 37 |
|
36 | 38 | {%- if section.kind == "report" and section.references -%} |
|
58 | 60 | ( |
59 | 61 | "CODE_BLOCK_COMMANDS_" ~ index|string, |
60 | 62 | ( |
| 63 | + "<div class='code-actions'>" ~ |
61 | 64 | "<a class='icon-link' href='" ~ command_url('copilot_conversation_copy_code', {"window_id": window_id, "code_block_index": index}) ~ "'>" ~ |
62 | 65 | "<img class='icon icon-link' src='" ~ asset_url('copy.png') ~ "' /></a>" ~ |
63 | 66 | "<span></span>" ~ |
64 | 67 | " <a class='icon-link' href='" ~ command_url('copilot_conversation_insert_code_shim', {"window_id": window_id, "code_block_index": index}) ~ "'>" ~ |
65 | | - "<img class='icon icon-link' src='" ~ asset_url('insert.png') ~ "' /></a>\n\n" |
| 68 | + "<img class='icon icon-link' src='" ~ asset_url('insert.png') ~ "' /></a>" ~ |
| 69 | + "</div>" |
66 | 70 | ) | safe, |
67 | 71 | ) |
68 | 72 | ) %} |
|
74 | 78 | {% endfor %} |
75 | 79 |
|
76 | 80 | {% if follow_up %} |
| 81 | +<div class="follow-up-wrapper"> |
77 | 82 | Follow up: <a class="icon-link follow-up" href='{{ follow_up_url }}'>{{ follow_up }}</a> |
| 83 | +</div> |
78 | 84 | {% endif %} |
0 commit comments