Untitled
unknown
html
2 years ago
4.4 kB
4
Indexable
Never
<!-- <!doctype html><html lang="en"> <p>username: </p><p id="username"></p> <p>room: </p><p id="room"></p> <p>roomstr: </p><p>{{roomstr}}</p> <p>{{test_text}}</p> <p>{{roomdata}}</p> {% for d in roomdata %} <p>{{d.message}}</p> {% endfor %} <script type="text/javascript"> var searchURL = window.location.search; searchURL = searchURL.substring(1, searchURL.length); var username = searchURL.split("&")[0].split("=")[1]; document.getElementById("room").innerHTML = username; var room = searchURL.split("&")[1].split("=")[1]; document.getElementById("username").innerHTML = room; </script> </html> --> <!doctype html><html lang="en"><head><script async src="https://www.googletagmanager.com/gtag/js?id=G-TCE0JRTDLZ"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-TCE0JRTDLZ")</script><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Round" rel="stylesheet"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w==" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&display=swap" rel="stylesheet"><link rel="apple-touch-icon" href="/img/logo192.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script><title>CC-Final</title><link href="/static/css/main.a276b285.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="d-flex" id="wrapper"><div id="sidebar-wrapper" style="color:#11131b"><div class="row"><div class="sticky_top header" style="width:100%"><h1 id="chatroom_name">{{roomstr}}</h1></div><div id="history"><div id="chat_list">{%for d in roomdata%}<p style="background-color:#11131b;color:#f7f7f7;padding:10px;margin:10px;border-radius:14px"><b>{{d.username}}</b><br>{{d.message}}</p>{%endfor%}</div></div><div class="sticky_bottom"><textarea id="content" placeholder="Say something..." style="height:100%;width:78%"></textarea><button id="send" style="height:100%;width:20%"><span class="material-icons">send</span></button></div></div></div><div id="root"></div></div><script>!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],p=0,s=[];p<f.length;p++)l=f[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this.webpackJsonpccfinal=this.webpackJsonpccfinal||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var c=i;t()}([])</script><script src="/static/js/2.da5731e2.chunk.js"></script><script src="/static/js/main.8fb65d1e.chunk.js"></script></body></html>