1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Converse - Anonymous login demo</title>
- <meta charset="utf-8">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="description" content="Converse XMPP/Jabber Chat"/>
- <meta name="author" content="JC Brand" />
- <meta name="keywords" content="xmpp chat webchat converse.js Converse" />
- <!-- These files are NOT needed when using converse.js in your own project. -->
- <link rel="shortcut icon" type="image/ico" href="../dist/favicon.ico"/>
- <link type="text/css" rel="stylesheet" media="screen" href="../dist/website.min.css" />
- <noscript><p><img src="https://stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
- <script type="text/javascript" src="/analytics.js"></script>
- <!-- *********************************************************************** -->
- <link rel="manifest" href="../manifest.json">
- <link type="text/css" rel="stylesheet" media="screen" href="../dist/converse.css" />
- <script src="../3rdparty/libsignal-protocol.js"></script>
- <script src="../dist/converse.js"></script>
- <style>
- .converse-container {
- height: 50vh;
- }
- </style>
- </head>
- <body id="page-top" data-spy="scroll" class="converse-website">
- <section class="section-wrapper">
- <section id="intro" class="intro text-center" class="container">
- <div class="row">
- <div class="col-md-12 col-md-offset-2">
- <h1 class="brand-heading fade-in">
- <svg class="converse-svg-logo"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- viewBox="0 0 364 364">
- <title>Converse</title>
- <g class="cls-1" id="g904">
- <g data-name="Layer 2">
- <g data-name="Layer 7">
- <path
- class="cls-3"
- d="M221.46,103.71c0,18.83-29.36,18.83-29.12,0C192.1,84.88,221.46,84.88,221.46,103.71Z" />
- <path
- class="cls-4"
- d="M179.9,4.15A175.48,175.48,0,1,0,355.38,179.63,175.48,175.48,0,0,0,179.9,4.15Zm-40.79,264.5c-.23-17.82,27.58-17.82,27.58,0S138.88,286.48,139.11,268.65ZM218.6,168.24A79.65,79.65,0,0,1,205.15,174a12.76,12.76,0,0,0-6.29,4.65L167.54,222a1.36,1.36,0,0,1-2.46-.8v-35.8a2.58,2.58,0,0,0-3.06-2.53c-15.43,3-30.23,7.7-42.73,19.94-38.8,38-29.42,105.69,16.09,133.16a162.25,162.25,0,0,1-91.47-67.27C-3.86,182.26,34.5,47.25,138.37,25.66c46.89-9.75,118.25,5.16,123.73,62.83C265.15,120.64,246.56,152.89,218.6,168.24Z" />
- </g>
- </g>
- </g>
- </svg>
- <span class="brand-heading__text">
- <span>converse<span class="subdued">.js</span></span>
- <p class="byline">messaging freedom</p>
- </span>
- </h1>
- <h3 class="mt-5">Embedded groupchat demo</h3>
- <div class="converse-container mx-auto" style="width: 50vw"">
- <converse-root></converse-root>
- </div>
- </div>
- </div>
- </section>
- </section>
- </body>
- <script>
- converse.initialize({
- authentication: 'anonymous',
- auto_login: true,
- auto_join_rooms: [
- 'anonymous@conference.nomnom.im',
- ],
- bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
- jid: 'nomnom.im', // XMPP server which allows anonymous login (doesn't
- // allow chatting with other XMPP servers).
- notify_all_room_messages: [
- 'anonymous@conference.nomnom.im',
- ],
- singleton: true,
- locales_url: "../locale/{{{locale}}}/LC_MESSAGES/converse.json",
- view_mode: 'embedded',
- });
- </script>
- </html>
|