<commit_before>{% extends 'home/index.html' %}
{% block content %}
	<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
	<meta content="utf-8" http-equiv="encoding">
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
    <title>Attendance Register</title>
    <style type="text/css">
		@import url('https://fonts.googleapis.com/css?family=Open+Sans');
    	body
    	{
    		background-color:#EEE;
    		height: 100vh;
		    font-family: 'Open Sans';
		    font-size:2vh;
		    overflow-x:hidden;
		    color:#555;
    	}
    	p
    	{
    		font-family: 'Open Sans';
		    font-size:3vh;
		    overflow-x:hidden;
		    color:#555;

    	}
    	.info-box
    	{
    		background-color:#DDD;
    		height: :30vh;
    	}
    </style>

	<div id="absent-days" class="modal fade" role="dialog">
  		<div class="modal-dialog">
    		<div class="modal-content">
      			<div class="modal-header">
        			<button type="button" class="close" data-dismiss="modal">&times;</button>
   				 	<h4 class="modal-title">Absent Days</h4>
 			 	</div>
      			<div class="modal-body">
    				<ul id="modal-content">
    				</ul>
     			</div>
  				<div class="modal-footer">
        			<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      			</div>
			 </div>

  		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<h1>Attendace Register</h1>	 	
		 	<div class="row">
			 	<div class="form-group col-md-2">
					<label for="sel1">Course</label>
		  			<select class="form-control" id="sel1" onchange="getData()">
                        <option value="default">Select a course</option>
                          {% for i in CourseAttendanceContext %}
                      <option value="{{i.course.Course_ID.Course_Name}}">{{i.course.Course_ID.Course_Name}}</option>
                          {% endfor %}
					 </select>
				</div>
			</div>
			<div class="info-box col-md-4" style="height:50vh; width:70%">
				<br />
				<p>Number of classes Taken : <span id ="classesTaken" class="label label-default">None</span></p><br /><commit_msg>Update ViewAttendance.html<commit_after>{% extends 'home/index.html' %}
{% block content %}
	<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
	<meta content="utf-8" http-equiv="encoding">
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
    <title>Attendance Register</title>
    <style type="text/css">
		@import url('https://fonts.googleapis.com/css?family=Open+Sans');
    	body
    	{
    		background-color:#EEE;
    		height: 100vh;
		    font-family: 'Open Sans';
		    font-size:2vh;
		    overflow-x:hidden;
		    color:#555;
    	}
    	p
    	{
    		font-family: 'Open Sans';
		    font-size:3vh;
		    overflow-x:hidden;
		    color:#555;

    	}
    	.info-box
    	{
    		background-color:#DDD;
    		height: :30vh;
    	}
    </style>

	<div id="absent-days" class="modal fade" role="dialog">
  		<div class="modal-dialog">
    		<div class="modal-content">
      			<div class="modal-header">
        			<button type="button" class="close" data-dismiss="modal">&times;</button>
   				 	<h4 class="modal-title">Absent Days</h4>
 			 	</div>
      			<div class="modal-body">
    				<ul id="modal-content">
    				</ul>
     			</div>
  				<div class="modal-footer">
        			<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      			</div>
			 </div>

  		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<h1>Attendace Register</h1>	 	
		 	<div class="row">
			 	<div class="form-group col-md-2">
					<label for="sel1">Course</label>
		  			<select class="form-control" id="sel1" onchange="getData()">
                        <option value="default">Select a course</option>
                          {% for i in CourseAttendanceContext %}
                      <option value="{{i.course.Course_ID.Course_Name}}">{{i.course.Course_ID.Course_Name}}</option>
                          {% endfor %}
					 </select>
				</div>
			</div>
			<div class="panel-head"> Attendance </div>
			<div class="info-box col-md-4" style="height:50vh; width:70%">
				<br />
				<p>Number of classes Taken : <span id ="classesTaken" class="label label-default">None</span></p><br />
{'fraction_non_alphanumeric': 0.18074208968814023, 'fraction_numerical': 0.014568631914409288, 'mean_word_length': 2.427457098283931, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '362775', 'n_tokens_mistral': 1766, 'n_tokens_neox': 1531, 'n_words': 255}