comparison src/private/tools/chat.html.luan @ 9:46097e607701

romaji
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 21 Jul 2025 15:16:47 -0600
parents 255c36830154
children 0fb3488a017d
comparison
equal deleted inserted replaced
8:2b7dcf355a78 9:46097e607701
19 <!doctype html> 19 <!doctype html>
20 <html lang="en"> 20 <html lang="en">
21 <head> 21 <head>
22 <% head() %> 22 <% head() %>
23 <style> 23 <style>
24 @import "/chat.css?s=<%=started%>";
25
26 <% if not process_markdown then %> 24 <% if not process_markdown then %>
27 [ai_container] [role] { 25 [markdown] {
28 white-space-collapse: preserve; 26 white-space-collapse: preserve;
29 } 27 }
30 <% end %> 28 <% end %>
31 </style> 29 </style>
32 <script src="https://cdn.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"></script>
33 <script src="/chat.js?s=<%=started%>"></script>
34 </head> 30 </head>
35 <body ai_container> 31 <body>
36 <% header() %> 32 <% header() %>
37 <div content> 33 <div content>
38 <h1>Chat <%=chat_id%></h1> 34 <h1>Chat <%=chat_id%></h1>
39 <h3 name><%= chat.name_html() %></h3> 35 <h3 name><%= chat.name_html() %></h3>
40 <div messages> 36 <div messages>