Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ecf7e6
commit caa0e24
Showing
397 changed files
with
54,809 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>Code Blue</title> | ||
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
||
<style> | ||
@import url("./css/reset.css"); | ||
@import url("./css/common.css"); | ||
@import url("./css/desktop.css"); | ||
</style> | ||
</head> | ||
<body> | ||
<header id="header"> | ||
<h1 id="header-title"><a href="index.html">Code Blue</a></h1> | ||
|
||
<nav id="header-nav"> | ||
<ul> | ||
<li><a href="about.html">What's Code Blue</a></li> | ||
<li><a href="login.html">Login</a></li> | ||
<li><a href="signup.html">Sign Up</a></li> | ||
</ul> | ||
</nav> | ||
|
||
<div class="clear"></div> | ||
|
||
</header> | ||
|
||
<section id="content"> | ||
|
||
<div id="padding-content"><!-- padding-content --> | ||
<div id="leftNav"> | ||
<ul> | ||
<a href="about.html"><li>About</li></a> | ||
<a href="team.html"><li>Team</li></a> | ||
<a href="contact.html"><li>Contact</li></a> | ||
</ul> | ||
</div> | ||
|
||
<div id="main_content"><!-- content --> | ||
<h3>So, What's CodeBlue Anyway?</h3> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
|
||
<h3>Upcoming Features</h3> | ||
<blockquote> | ||
<ul> | ||
<li>- Syntax Highlighting</li> | ||
<li>- Function Reference</li> | ||
<li>- Code Snippets</li> | ||
</ul> | ||
</blockquote> | ||
|
||
<h3>UIUC Web Monkeys</h3> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</div><!-- end main_content --> | ||
|
||
</div><!-- padding-content --> | ||
|
||
</section> | ||
|
||
<footer id="footer"> | ||
|
||
<nav id="footer-nav"> | ||
<ul> | ||
<li><a href="about.html">About</a></li> | ||
<li><a href="">Legal</a></li> | ||
<li><a href="">Github</a></li> | ||
<li><a href="contact.html">Contact</a></li> | ||
</ul> | ||
</nav> | ||
|
||
</footer> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>Code Blue</title> | ||
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
||
<style> | ||
@import url("./css/reset.css"); | ||
@import url("./css/common.css"); | ||
@import url("./css/desktop.css"); | ||
</style> | ||
</head> | ||
<body> | ||
<header id="header"> | ||
<h1 id="header-title"><a href="index.html">Code Blue</a></h1> | ||
|
||
<nav id="header-nav"> | ||
<ul> | ||
<li><a href="about.html">What's Code Blue</a></li> | ||
<li><a href="login.html">Login</a></li> | ||
<li><a href="signup.html">Sign Up</a></li> | ||
</ul> | ||
</nav> | ||
|
||
<div class="clear"></div> | ||
|
||
</header> | ||
|
||
<section id="content"> | ||
|
||
<div id="padding-content"><!-- padding-content --> | ||
<div id="leftNav"> | ||
<ul> | ||
<a href="about.html"><li>About</li></a> | ||
<a href="team.html"><li>Team</li></a> | ||
<a href="contact.html"><li>Contact</li></a> | ||
</ul> | ||
</div> | ||
|
||
<div id="main_content"><!-- content --> | ||
|
||
<h3>Contact UIUC Web Monkeys</h3> | ||
|
||
<p><strong>Website:</strong> <a href="http://www.acm.uiuc.edu/webmonkeys" target="_blank">www.acm.uiuc.edu/webmonkeys</a></p> | ||
<p><strong>Github:</strong> <a href="https://github.com/acm-uiuc/CodeBlue" target="_blank">www.github.com/acm-uiuc/CodeBlue</a></p> | ||
</div><!-- end main_content --> | ||
|
||
</div><!-- padding-content --> | ||
|
||
</section> | ||
|
||
<footer id="footer"> | ||
|
||
<nav id="footer-nav"> | ||
<ul> | ||
<li><a href="about.html">About</a></li> | ||
<li><a href="">Legal</a></li> | ||
<li><a href="">Github</a></li> | ||
<li><a href="contact.html">Contact</a></li> | ||
</ul> | ||
</nav> | ||
|
||
</footer> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
html, body, div, ul, ol { | ||
padding: 0px; | ||
margin: 0px; | ||
list-style-type: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: node app.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
var http = require('http'); | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
|
||
var server = http.createServer(function (request, response) { | ||
|
||
console.log('request starting...'); | ||
|
||
var filePath = '.' + request.url; | ||
if (filePath == './') { | ||
filePath = './index.html'; | ||
} | ||
|
||
console.log(filePath); | ||
|
||
var extname = path.extname(filePath); | ||
var contentType = 'text/html'; | ||
switch (extname) { | ||
case '.js': | ||
contentType = 'text/javascript'; | ||
break; | ||
case '.css': | ||
contentType = 'text/css'; | ||
break; | ||
} | ||
|
||
|
||
fs.readFile(filePath, function(error, content) { | ||
response.writeHead(200, { 'Content-Type': contentType }); | ||
response.end(content, 'utf-8'); | ||
|
||
}); | ||
|
||
}).listen(3000, "127.0.0.1"); | ||
|
||
console.log('Server running at http://127.0.0.1:3000/'); | ||
|
||
var io = require('socket.io').listen(server); | ||
|
||
io.sockets.on('connection', function (socket) { | ||
socket.on('code', function (data) { | ||
socket.broadcast.emit('push code', data); | ||
}); | ||
}); |
Oops, something went wrong.