Skip to content

Commit

Permalink
add index button for DA and OLID
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaw99 committed May 28, 2023
1 parent f577676 commit 7aff5ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,14 @@ <h1 style="font: small-caps bold 20px/1 sans-serif; margin-top: 10px">🗃️ {{
<summary style="font-weight: bold;">ID: {{loop.index}}</summary>
<b>dialog:</b>
<div style='font-style: italic; font-size: 0.75em;'>{{entry["dialog"]}}</div>
<button onclick="addId({{loop.index}})">Add this instance into input box</button>
</details>
{% else %}
<details>
<summary style="font-weight: bold;">ID: {{loop.index}}</summary>
<b>text:</b> <br>
<div style='font-style: italic; font-size: 0.75em;'>{{entry["text"]}}</div>
<button onclick="addId({{loop.index}})">Add this instance into input box</button>
</details>
{% endif %}
<br>
Expand Down

0 comments on commit 7aff5ba

Please sign in to comment.