Software /
code /
prosody-modules
Comparison
mod_jsxc/templates/template.html @ 4825:4bdfd83e091f
mod_jsxc: Demo module serving JSXC relatively easily from Prosody
Copy of mod_conversejs adjusted for JSXC.
README TODO
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 15 Dec 2021 18:28:40 +0100 |
parent | 4823:mod_conversejs/templates/template.html@d3e926bf0c8a |
child | 4826:3a5fbb6c61b3 |
comparison
equal
deleted
inserted
replaced
4824:205b9d06fe6b | 4825:4bdfd83e091f |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta charset="utf-8"> | |
5 <meta name="viewport" content="width=device-width, initial-scale=1"> | |
6 {header_style# | |
7 <link rel="stylesheet" type="text/css" media="screen" href="{item}"/>} | |
8 {header_scripts# | |
9 <script charset="utf-8" src="{item}"></script>} | |
10 <title>{service_name?Prosody IM and JSXC}</title> | |
11 {header_tags# | |
12 {item!}} | |
13 </head> | |
14 <body> | |
15 <form id="jsxc_login_form"> | |
16 <dl> | |
17 <dt><label for="jsxc_username">Username</label></dt> | |
18 <dd><input id="jsxc_username" name="username" placeholder="Alice"/></dd> | |
19 <dt><label for="jsxc_password">Password</label></dt> | |
20 <dd><input id="jsxc_password" name="password" type="password"/></dd> | |
21 </dl> | |
22 <button type="submit">Login</button> | |
23 </form> | |
24 | |
25 <script>{jsxcjs.startup.script!}</script> | |
26 </body> | |
27 </html> |