Restructuring of previous project files
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
// Module handles dealing with all the rtc bs that we need to deal with when
|
||||
// doing rtc things
|
||||
// http2 once auth becomes a thing -> save on them tls handshakes
|
||||
const http = require('http')
|
||||
const io = require('socket.io-client')
|
||||
|
||||
|
||||
var room_id;
|
||||
var local_stream;
|
||||
var remote_stream; // cat streams later(?)
|
||||
var rtc_conn;
|
||||
const iceServers = {
|
||||
'iceServers': [
|
||||
{ 'urls': 'stun:stun.services.mozilla.com'},
|
||||
{ 'urls': 'stun:stun.l.google.com:19302'}
|
||||
]
|
||||
}
|
||||
|
||||
// don't really care about video streams
|
||||
var stream_constraints = { audio: true, video : false }
|
||||
|
||||
var is_caller;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{"username":null}
|
||||
@@ -1,17 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
||||
<link rel="stylesheet" href="../../libs/css/pure.css"/>
|
||||
<link rel="stylesheet" href="../css/welcome.css"/>
|
||||
<title>Freechat</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- For sake of argument we'll keep a list of connected clients in the DOM for now -->
|
||||
<div>
|
||||
<h1>User list</h1>
|
||||
<div id="user-list"></div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="../js/rtc.js"></script>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
||||
<link rel="stylesheet" href="../resources/css/pure.css"/>
|
||||
<link rel="stylesheet" href="../src/css/settings.css"/>
|
||||
<title>Settings</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>this is the settings page</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,13 +0,0 @@
|
||||
/* Overrides for the welcome page background stuff */
|
||||
|
||||
/* For now we'll just worry about dark mode
|
||||
Light mode gets fucked here lmao
|
||||
*/
|
||||
|
||||
$top-grey: #424242;
|
||||
$back-grey: #303030;
|
||||
$bar-grey: #212121;
|
||||
|
||||
body {
|
||||
background: $back-grey;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
@import 'general';
|
||||
|
||||
$text-color: white;
|
||||
|
||||
label {
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: $text-color;
|
||||
display: block;
|
||||
}
|
||||
.center {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
::placeholder {
|
||||
color: $back-grey;
|
||||
}
|
||||
|
||||
input {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
@import 'general';
|
||||
|
||||
$text-color: white;
|
||||
|
||||
label {
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: $text-color;
|
||||
display: block;
|
||||
}
|
||||
.center {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
::placeholder {
|
||||
color: $back-grey;
|
||||
}
|
||||
|
||||
input {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
Reference in New Issue
Block a user