Skip to content

Commit

Permalink
all done
Browse files Browse the repository at this point in the history
  • Loading branch information
Nafiz43 committed Apr 26, 2020
1 parent d4424a0 commit 6cd46f4
Show file tree
Hide file tree
Showing 25 changed files with 1,965 additions and 192 deletions.
Binary file added docs - Shortcut.lnk
Binary file not shown.
61 changes: 59 additions & 2 deletions docs/About.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,65 @@
</nav>

<div class="container">
<br><br>
<h4><p>MAAS provides the facility of fingerprint based attendance system.</p></h4>
<h2>Mist Automated Automated System was made by few students of MIST CSE-17.</h2>
<h3>Concerned personnals for this project:</h3>
<table>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td> <style type="text/css">
.tg {border-collapse:collapse;border-color:#bbb;border-spacing:0;}
.tg td{background-color:#E0FFEB;border-color:#bbb;border-style:solid;border-width:1px;color:#594F4F;
font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:17px 20px;word-break:normal;}
.tg th{background-color:#9DE0AD;border-color:#bbb;border-style:solid;border-width:1px;color:#493F3F;
font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:17px 20px;word-break:normal;}
.tg .tg-p0ci{background-color:#68cbd0;border-color:inherit;color:#000000;text-align:left;vertical-align:top}
.tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top}
</style>
<table class="tg">
<tr>
<th class="tg-p0ci">Serial No.</th>
<th class="tg-p0ci">Student ID</th>
<th class="tg-p0ci">Name</th>
<th class="tg-p0ci">Email</th>
</tr>
<tr>
<td class="tg-0pky">01</td>
<td class="tg-0pky">201714013</td>
<td class="tg-0pky">AHM Zobayer</td>
<td class="tg-0pky">[email protected]</td>
</tr>
<tr>
<td class="tg-0pky">02</td>
<td class="tg-0pky">201714023</td>
<td class="tg-0pky">Farzana Faruk Jhumu</td>
<td class="tg-0pky">[email protected]</td>
</tr>
<tr>
<td class="tg-0pky">03</td>
<td class="tg-0pky">201714027</td>
<td class="tg-0pky">Masrur Hasan Mahin</td>
<td class="tg-0pky">[email protected]</td>
</tr>
<tr>
<td class="tg-0pky">04</td>
<td class="tg-0pky">201714031</td>
<td class="tg-0pky">Md. Ariful Islam Tarek</td>
<td class="tg-0pky">[email protected]</td>
</tr>
<tr>
<td class="tg-0pky">05</td>
<td class="tg-0pky">201714043</td>
<td class="tg-0pky">Nafiz Imtiaz Khan</td>
<td class="tg-0pky">[email protected]</td>
</tr>
<tr>
<td class="tg-0pky">06</td>
<td class="tg-0pky">201714059</td>
<td class="tg-0pky">Sumaiya Nuha Mustafina</td>
<td class="tg-0pky">[email protected]</td>
</tr>
</table></td>
<td></td>
</table>

</div>

Expand Down
9 changes: 8 additions & 1 deletion docs/html/ADMIN/js/add_new_update.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function update_user() {

var category=document.getElementById("category");
var category_text=category.options[category.selectedIndex].text;
var s_mail=document.getElementById("email").value;



Expand All @@ -132,6 +133,11 @@ function update_user() {
alert("Select Category");
document.getElementById("category").style.borderColor = "red";
}
else if(s_mail=='')
{
alert("Enter Email");
document.getElementById("email").style.borderColor = "red";
}
else
{
// alert("Hello "+name);
Expand All @@ -141,7 +147,8 @@ function update_user() {
firebase.database().ref('User/'+id).set({
username: name,
userpass : pass,
usercategory : category_text
usercategory : category_text,
useremail : s_mail
}, function(error) {
if (error) {
alert("Failed to Save data");
Expand Down
73 changes: 73 additions & 0 deletions docs/html/ADMIN/js/individual_attendance.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ function individual_attendance() {
}
else
{
var data_x=[];
var data_y=[];

document.getElementById("loader").innerHTML=load_content;
basic_content='';
basic_content=basic_content+'<table class="table table-striped" border="1">';
Expand Down Expand Up @@ -181,6 +184,8 @@ function individual_attendance() {
content=content+'<div style="font-size: 16pt" class="alert alert-success" role="alert">';
content=content+'<strong>Data </strong>Found! </div> ';
document.getElementById("alert_there").innerHTML=content;
data_x[c-1]=c;
data_y[c-1]=present_count/(c- excused_count)*100;
c=c+1;
document.getElementById("loader").innerHTML='';
}
Expand Down Expand Up @@ -221,6 +226,74 @@ function individual_attendance() {

});
});
setTimeout(function(){

let myChart = document.getElementById('myChart').getContext('2d');

Chart.defaults.global.defaultFontSize = 18;
Chart.defaults.global.defaultFontColor = '#000000';

let massPopChart = new Chart(myChart, {
type:'line', // bar, horizontalBar, pie, line, doughnut, radar, polarArea
data:{
labels:data_x,
datasets:[{
label:'Percentage',
data:data_y,
//backgroundColor:'green',
backgroundColor:[
'rgba(255, 99, 132, 0.6)',
'rgba(54, 162, 235, 0.6)',
'rgba(255, 206, 86, 0.6)',
'rgba(75, 192, 192, 0.6)',
'rgba(153, 102, 255, 0.6)',
'rgba(255, 159, 64, 0.6)',
'rgba(255, 99, 132, 0.6)'
],
borderWidth:1,
borderColor:'#777',
hoverBorderWidth:3,
hoverBorderColor:'#000'
}]
},
options:{
scales: {
yAxes: [{
ticks: {
max: 100,
min: 0,
stepSize: 10
}
}]
},
title:{
display:true,
text:'Summary of Term',
fontSize:25
},
legend:{
display:true,
position:'right',
labels:{
fontColor:'#000'
}
},
layout:{
padding:{
left:50,
right:0,
bottom:0,
top:0
}
},
tooltips:{
enabled:true
}
}
});


}, 5000);



Expand Down
12 changes: 12 additions & 0 deletions docs/html/ADMIN/view_classwise_attendance.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
</head>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
Expand Down Expand Up @@ -43,6 +44,13 @@
background-color: #3B5998;
color: white
}
canvas{

width:1150px !important;
height:400px !important;

}

</style>
<body>

Expand Down Expand Up @@ -299,13 +307,17 @@ <h4>Percentage :</h4>
<!-- <textarea class="form-control rounded-0" id="exampleFormControlTextarea1" rows="1" ></textarea> -->
</div>
</div>
</div>
<br>
<canvas id="myChart"></canvas>y





</div>
</div>



</div>
Expand Down
38 changes: 15 additions & 23 deletions docs/html/ADMIN/view_individual_attendance.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
</head>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
Expand Down Expand Up @@ -41,6 +42,13 @@
background-color: #3B5998;
color: white
}
canvas{

width:1150px !important;
height:400px !important;

}

</style>
<body>

Expand Down Expand Up @@ -203,12 +211,7 @@ <h2>Fill up the followings:</h2>
<option value="2">Level-4,Term-2</option>
<option value="3">Level-3,Term-2</option>
</select>
<!-- <select class="browser-default custom-select">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select> -->

</div>
</div>

Expand All @@ -226,12 +229,7 @@ <h2>Fill up the followings:</h2>
<option value="2">CSE-460(HW)</option>
<option value="3">CSE-401</option>
</select>
<!-- <select class="browser-default custom-select">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select> -->

</div>
</div>

Expand All @@ -247,14 +245,7 @@ <h2>Fill up the followings:</h2>



<!-- <select class="browser-default custom-select">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select> -->




</form>
<div class="form-group">
Expand All @@ -270,9 +261,7 @@ <h2>Fill up the followings:</h2>

</div>

<div id="table_content">

</div>
<div id="table_content"></div>

</div>

Expand Down Expand Up @@ -312,6 +301,8 @@ <h4>Percentage :</h4>
<!-- <textarea class="form-control rounded-0" id="exampleFormControlTextarea1" rows="1" ></textarea> -->
</div>
</div>
<br>
<canvas id="myChart"></canvas>



Expand All @@ -324,6 +315,7 @@ <h4>Percentage :</h4>
</div>
</div>


<script src="js/individual_attendance.js"></script>
<script src="../../js/basic.js"></script>
<script src="js/jquery.min.js"></script>
Expand Down
34 changes: 9 additions & 25 deletions docs/html/STUDENT/attendance.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
</head>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
Expand All @@ -37,6 +38,12 @@
background-color: #3B5998;
color: white
}
canvas{

width:1150px !important;
height:400px !important;

}
</style>
<body>

Expand Down Expand Up @@ -208,31 +215,7 @@ <h2>Fill Up The Followings</h2>
</div>

<div id="table_content">
<!-- <table class="table table-striped" border="1">
<thead class="thead-light">
<tr class="bg-success">
<th>Ser No.</th>
<th>Course Code</th>
<th>Date</th>
<th>Time</th>
<th>Present</th>
<th>Absent</th>
<th>Excused</th>
</tr>
</thead>
<tbody>
<tr >
<td>1</td>
<td>CSE-401</td>
<td>19/02/2020</td>
<td>08:00-08:55</td>
<td><div class="checkbox"><label><input type="checkbox" value="" checked></label></div> </td>
<td><div class="checkbox"><label><input type="checkbox" value=""></label></div> </td>
<td><div class="checkbox"><label><input type="checkbox" value=""></label></div> </td>
</tr>
</tbody> -->

</table>


Expand Down Expand Up @@ -273,6 +256,7 @@ <h4>Percentage :</h4>
</div>
</div>
<br>
<canvas id="myChart"></canvas>

<br>
<br>
Expand Down
Loading

0 comments on commit 6cd46f4

Please sign in to comment.