Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Registration Form/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ if ('development' == app.get('env')) {
}
//app.post('/file-upload',routes.fileUpload);
app.get('/', routes.index);
app.get('/aboutPage',routes.about);
app.get('/contactPage',routes.contact);
app.get('/index_page',routes.index_page);
//app.get('/users', user.list);
app.get('/login',routes.login);
Expand Down
Binary file added Registration Form/public/img/ali512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Registration Form/public/img/malcolm-x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Registration Form/public/img/nextButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Registration Form/public/img/prevButton.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Registration Form/public/img/prevButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Registration Form/public/img/umar512.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Registration Form/public/img/wajeeh512.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 31 additions & 1 deletion Registration Form/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ body {
}

#websiteDescription{

opacity:0.85;
width: 50%;
margin: auto;
Expand All @@ -18,6 +17,37 @@ line-height: 45px;
#websitePunchline{
color: red;
}
#techsUsed{
color: red;
}
#contactContainer{
width: 75%;
text-align: center;
margin: auto;
display: inline-block;
}
#member1,#member2,#member3,#member4{
text-align: left;
width: 256px;
opacity: 0.95;
display: inline-block;
background-color: green;
color: white;
}
#memberInformation{
color: red;
}
#aboutWebsite{
background-color: #0C2707;
opacity: 0.85;
width: 80%;
margin: auto;
margin-top: 60px;
text-align: center;
font-size: 20px;
letter-spacing: 6px;
color: white;
line-height: 45px;}

a {
color: #00B7FF;
Expand Down
12 changes: 7 additions & 5 deletions Registration Form/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ console.log("herer");
exports.index= function(req,res){
/* res.render('index');*/
res.render('Main');
}
exports.LoginPage = function(req, res){


};
exports.contact = function(req, res){
res.render('contactPage.ejs');
};
exports.about = function(req, res){
res.render('aboutPage.ejs');
};
exports.index_page = function(req,res)
{
res.render('index');
}
};
4 changes: 2 additions & 2 deletions Registration Form/views/Main.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<div id="nav">
<ul class="nav nav-pills">
<li><a class="Sign_Up_NavBar" href="/index_page" style="color:rgb(18, 83, 18);">SignUp</a></li>
<li><a class="Sign_Up_NavBar" href="#" style="color:rgb(18, 83, 18);">Contact</a></li>
<li><a class="Sign_Up_NavBar" href="#" style="color:rgb(18, 83, 18);">About</a></li>
<li><a class="Sign_Up_NavBar" href="/contactPage" style="color:rgb(18, 83, 18);">Contact</a></li>
<li><a class="Sign_Up_NavBar" href="/aboutPage" style="color:rgb(18, 83, 18);">About</a></li>
<li><a class="Sign_Up_NavBar" href="/login" style="color:rgb(18, 83, 18);">Login</a></li>
<span id="mainPagemainHeading">ISSUE TRACKER</span>
</ul>
Expand Down
35 changes: 35 additions & 0 deletions Registration Form/views/aboutPage.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='/stylesheets/style.css' />
<link rel="stylesheet"href="/stylesheets/bootstrap-responsive.css"/>
<link rel="stylesheet"href="/stylesheets/bootstrap.css"/>
<title></title>
</head>
<body style="background: url('/img/SignUpBackGround.jpg')" >
<div >
<div id="nav">
<ul class="nav nav-pills">
<li><a class="Sign_Up_NavBar" href="/index_page" style="color:rgb(18, 83, 18);">SignUp</a></li>
<li><a class="Sign_Up_NavBar" href="/contactPage" style="color:rgb(18, 83, 18);">Contact</a></li>
<li><a class="Sign_Up_NavBar" href="/login" style="color:rgb(18, 83, 18);">Login</a></li>
<span id="mainPagemainHeading">ISSUE TRACKER</span>
</ul>
</div>

<div id="aboutWebsite">
This website is basically a lab project for <span id="techsUsed">Software Engineering</span> Course built by the students of Third Year (5th Semester) with intentions of learning and understanding the Client and Server side relation.<br>
We have used Nodejs for Server-side scripting which enables us to use <span id="techsUsed">JavaScript</span> as the main language.<br>On Client-side we have used <span id="techsUsed">Jquery</span>, <span id="techsUsed">JavaScript</span>, <span id="techsUsed">JSON</span> and <span id="techsUsed">AJAX</span> for post method specifically. <span id="techsUsed">REGEX</span> is employed for form validation.<br>
<span id="techsUsed">MongoDb</span> has been used for doing the database work which is <span id="techsUsed">NO-SQL</span>. We employed the module <span id="techsUsed">Mongoose</span> for creating schema. <span id="techsUsed">FS</span> module of nodejs is used for file-uploading.<br>
By far all the functions integrated are working properly but still this project can improve alot.
</div>

</div>
<script src="/javascripts/jquery-2.0.3.js"></script>
<script src="/javascripts/bootstrap.js"></script>
<script>

</script>

</body>
</html>
95 changes: 95 additions & 0 deletions Registration Form/views/contactPage.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='/stylesheets/style.css' />
<link rel="stylesheet"href="/stylesheets/bootstrap-responsive.css"/>
<link rel="stylesheet"href="/stylesheets/bootstrap.css"/>
<title></title>
</head>
<body style="background: url('/img/SignUpBackGround.jpg')" >
<div >
<div id="nav">
<ul class="nav nav-pills">
<li><a class="Sign_Up_NavBar" href="/index_page" style="color:rgb(18, 83, 18);">SignUp</a></li>
<li><a class="Sign_Up_NavBar" href="/aboutPage" style="color:rgb(18, 83, 18);">About</a></li>
<li><a class="Sign_Up_NavBar" href="/login" style="color:rgb(18, 83, 18);">Login</a></li>
<span id="mainPagemainHeading">ISSUE TRACKER</span>
</ul>
</div>

<div id="contactContainer">
<br><br>

<div id='memberInfo'></div>
<br><br>

<div id='member1'>
<img src='/img/wajeeh512.jpg' width='256px' height='256px'><br>
Name: Wajeeh Ul Hassan<br>Email: enigmatic_wajeeh@hotmail.com<br>P.No: 0300-9264024<br>Project Contribution:<br>File Uploading + breaking into strings<br>Contact Page, About Page

</div>
<br><br>
<div id='member2'>
<img src='/img/ali512.png' width='256px' height='256px' ><br>
Name: Ali Akhtar<br>Email: smart.ali7778@yahoo.com<br>P.No: 0344-2485141<br>Project Contribution:<br>Data Base Work , Login + SignUp implementation, dynamic commenting
</div>
<br><br>
<div id='member3'>
<img src='/img/umar512.JPG' width='256px' height='256px'><br>
Name: Muhammad Umar Tariq<br>Email: m_umar_t@hotmail.com<br>P.No: 0302-2551501<br>Project Contribution:<br>Dynamic HTML, Unit Testing, Comment Highlighting and storing in Database
</div>
<br><br>
<div id='member4'>
<img src='/img/malcolm-x.jpg' width='256px' height='256px'><br>
Name: Syed Junaid Zaki<br>Email: junaid.zaki@hotmail.com<br>P.No: 0333-3438505<br>Project Contribution:<br>UI design, Vaidation, Error Handling
</div>

</div>
<script type="text/javascript">
// var myTextStr=["<img src='/img/malcolm-x.jpg' width='256px' height='256px'>","<img src='/img/malcolm-x.jpg' width='256px' height='256px'>","<img src='/img/malcolm-x.jpg' width='256px' height='256px'>","<img src='/img/malcolm-x.jpg' width='256px' height='256px'>"];
// var count=0;
// document.getElementById('memberInfo').innerHTML = "Click back or next button for member Info";
// var routeId=0;
// $(document).ready(function(){
// $("#nextButtonC").on("click",function(){
// count++;
// if(count>=myTextStr.length){ count=0;}
// $("#memberInfo").append(myTextStr[count]);
// document.getElementById('memberInfo').innerHTML = "Working next";
// alert("Working Prev");
// });
// $("#prevButtonC").on("click",function(){
// count--;
// if(count<=0){ count=myTextStr.length;}
// $("#memberInfo").append(myTextStr[count]);
// document.getElementById('memberInfo').innerHTML = "Working Prev";
// alert("Working Prev");
// });


// });



// $("#nextButtonC").click(function(){
// count++;
// if(count>=myTextStr.length){ count=0;}
// $("#memberInfo").html(myTextStr[count]);
// });

// $("#backButtonC").click(function(){
// count--;
// if(count<=0){ count=myTextStr.length;}
// $("#memberInfo").html(myTextStr[count]);
// });
</script>

</div>
<script src="/javascripts/jquery-2.0.3.js"></script>
<script src="/javascripts/bootstrap.js"></script>
<script>

</script>

</body>
</html>