Permalink
Browse files

Commit friendshipSystem

  • Loading branch information...
1 parent 7ecf7e6 commit caa0e24c78bc2b9eb85a3ad49e9838da4a59845f @rashadrussell rashadrussell committed Nov 9, 2012
Showing 397 changed files with 54,809 additions and 17 deletions.
View
@@ -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>
View
@@ -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>
View
@@ -7,7 +7,7 @@ html {
/* Header */
#header {
- padding: 0 5%;
+ padding: 0 10%;
}
#header-title {
@@ -39,14 +39,60 @@ html {
/* Content */
#padding-content {
- width: 1000px;
- padding-top: 20px;
- padding-bottom: 20px;
- text-align: center;
+ padding: 20px 10%;
margin: 0px auto;
+ overflow: hidden;
+}
+
+#leftNav ul {
+ list-style: none;
+ float: left;
+ border-left: solid 1px #ccc;
+ border-top: solid 1px #ccc;
+ border-right: solid 1px #ccc;
+}
+
+#leftNav li {
+ width: 200px;
+ padding: 10px;
+ border-bottom: solid 1px #ccc;
+ background: #fafafa;
+}
+
+#leftNav ul a li:hover {
+ background-color: #f5f5f5;
+}
+
+#leftNav a:hover {
+ text-decoration: none;
+}
+
+#main_content {
+ width: 700px;
+ padding: 0px 20px;
+ padding-bottom: 20px;
+ background: #fafafa;
+ float: right;
+ margin-bottom: 40px;
+ border: solid 1px #ccc;
+}
+
+#main_content h3 {
+ margin-top: 10px;
+}
+
+.teamList {
+ width: 100%;
+ overflow: hidden;
+}
+
+.teamList li {
+ width: 140px;
+ float: left;
}
.speechCycleImage {
+ margin: 0px 20%;
}
.form {
@@ -72,7 +118,6 @@ html {
width: 303px;
height: 54px;
font-size: 16px;
- folor: #999;
background: url('../img/submitButton.png');
}
@@ -89,6 +134,67 @@ html {
margin-left: 260px;
}
+#text_editor {
+ float: left;
+}
+
+#text_editor textarea {
+ width: 500px;
+ height: 600px;
+ border: solid 5px #d8dde1;
+ border-radius: 5px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ -o-border-radius: 5px;
+ font-size: 14px;
+}
+
+#instant_chat {
+ height: 320px;
+ width: 370px;
+ float: right;
+ border: solid 5px #d8dde1;
+ border-radius: 5px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ -o-border-radius: 5px;
+ position: relative;
+ background: #fff;
+}
+
+#instant_chat form {
+ position: absolute;
+ bottom: 0px;
+}
+
+#friends_online_box {
+ width: 370px;
+ height: 320px;
+ margin-top: 20px;
+ background: #fff;
+ border: solid 5px #d8dde1;
+ border-radius: 5px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ -o-border-radius: 5px;
+ float: right;
+}
+
+#friends_online_box h3 {
+ width: 250px;
+ margin: 0px auto;
+ margin-top: 10px;
+ text-align: center;
+ background: #006699;
+ border: solid 4px #0099cc;
+ border-radius: 5px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ -o-border-radius: 5px;
+ color: #fff;
+ padding: 10px;
+}
+
/* Footer */
#footer-nav {
border-top: 1px solid #AEAEAE;
View
@@ -0,0 +1,5 @@
+html, body, div, ul, ol {
+ padding: 0px;
+ margin: 0px;
+ list-style-type: none;
+}
View
@@ -0,0 +1 @@
+web: node app.js
View
@@ -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.

0 comments on commit caa0e24

Please sign in to comment.