Spaces:
Sleeping
Sleeping
Update templates/chat.html
Browse files- templates/chat.html +16 -0
templates/chat.html
CHANGED
|
@@ -30,6 +30,22 @@
|
|
| 30 |
</ul>
|
| 31 |
</div>
|
| 32 |
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
</body>
|
| 35 |
</html>
|
|
|
|
| 30 |
</ul>
|
| 31 |
</div>
|
| 32 |
{% endif %}
|
| 33 |
+
<div>
|
| 34 |
+
<ul>
|
| 35 |
+
<li data-query="My HP DeskJet 3755 printer is malfunctioning when printing wirelessly. Can you help?">My HP DeskJet 3755 printer is malfunctioning when printing wirelessly. Can you help?</li>
|
| 36 |
+
<li data-query="I've noticed discrepancies in my Microsoft Office 365 billing statement. Please assist.">I've noticed discrepancies in my Microsoft Office 365 billing statement. Please assist.</li>
|
| 37 |
+
<li data-query="We're experiencing intermittent server failures affecting stability. Need immediate consultation.">We're experiencing intermittent server failures affecting stability. Need immediate consultation.</li>
|
| 38 |
+
</ul>
|
| 39 |
+
|
| 40 |
+
</div>
|
| 41 |
</div>
|
| 42 |
+
<script>
|
| 43 |
+
document.querySelectorAll('.examples li').forEach(item => {
|
| 44 |
+
item.addEventListener('click', () => {
|
| 45 |
+
document.querySelector('input[name="message"]').value = item.getAttribute('data-query');
|
| 46 |
+
});
|
| 47 |
+
});
|
| 48 |
+
</script>
|
| 49 |
+
|
| 50 |
</body>
|
| 51 |
</html>
|