Skip to content

Commit

Permalink
Merge pull request #10 from zarasyversen/timetable_css
Browse files Browse the repository at this point in the history
Timetable css
  • Loading branch information
kaybhutani authored Oct 12, 2018
2 parents a948f1d + 2e6259f commit 026e531
Showing 1 changed file with 77 additions and 81 deletions.
158 changes: 77 additions & 81 deletions templates/timetable.html
Original file line number Diff line number Diff line change
@@ -1,113 +1,109 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../static/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/assets/css/user.css">
<title>JIIT Time Table Extractor</title>

<style>
.tableStyle{
width: 100%;
border-collapse: collapse;
text-align: center;
}
<style>

th{
.time-table {
border-bottom: 1px solid #e7e7e7;
}

background-color: lightgrey;
padding:5px;
.table {
margin-bottom: 0;
}

}
th {
background-color: #e7e7e7;
border-right: 1px solid #cecece!important;
}

table,tr,th,td{
border: 1px solid black;
}
td {
border-right: 1px solid #cecece!important;
}

td{
padding:5px;
}
</style>
</head>
<body>
<div class="time-table table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Days/Time</th>
<th>9 - 9:50 AM</th>
<th>9:55 - 10:45 AM</th>
<th>10:50 - 11:40 AM </th>
<th>11:45 - 12:35 PM</th>
<th>12:40 - 1:30 PM</th>
<th>1:35 - 2:25PM</th>
<th>2:30 - 3:20 PM</th>
<th>3:25 - 4:15 PM</th>
<th>04:20 - 5:10 PM</th>
</tr>
</thead>
<tbody>
<tr>
<td class="table__day">Mon</td>

</style>
</head>
<body>
<table class ="tableStyle" style="width:100%;">
{%for i in range(0,9)%}

<tr>
<th >Days/Time</th>
<th >9-9:50 AM</th>
<th >9:55-10:45 AM </th>
<th >10:50-11:40 AM </th>
<th >11:45-12:35 PM</th>
<th >12:40- 1:30 PM</th>
<th >1:35-2:25PM</th>
<th >2:30-3:20 PM</th>
<th >3:25-4:15 PM</th>
<th >04:20 -5:10 PM</th>
</tr>
<td>{{tt_dict['Mon'][i]}}</td>
{%endfor%}
</tr>


<tr>
<td>Mon</td>
<tr>
<td class="table__day">Tue</td>

{%for i in range(0,9)%}

<td>{{tt_dict['Mon'][i]}}</td>
{%endfor%}
</tr>
{%for i in range(0,9)%}

<td>{{tt_dict['Tue'][i]}}</td>
{%endfor%}
</tr>

<tr>
<td>Tue</td>

{%for i in range(0,9)%}

<td>{{tt_dict['Tue'][i]}}</td>
{%endfor%}
</tr>
<tr>
<td class="table__day">Wed</td>

{%for i in range(0,9)%}

<tr>
<td>Wed</td>
<td>{{tt_dict['Wed'][i]}}</td>
{%endfor%}
</tr>

{%for i in range(0,9)%}

<td>{{tt_dict['Wed'][i]}}</td>
{%endfor%}
</tr>

<tr>
<td class="table__day">Thu</td>

<tr>
<td>Thu</td>
{%for i in range(0,9)%}

{%for i in range(0,9)%}

<td>{{tt_dict['Thu'][i]}}</td>
{%endfor%}
</tr>
<td>{{tt_dict['Thu'][i]}}</td>
{%endfor%}
</tr>


<tr>
<td>Fri</td>
<tr>
<td class="table__day">Fri</td>

{%for i in range(0,9)%}

<td>{{tt_dict['Fri'][i]}}</td>
{%endfor%}
</tr>
{%for i in range(0,9)%}

<td>{{tt_dict['Fri'][i]}}</td>
{%endfor%}
</tr>

<tr>
<td>Sat</td>

{%for i in range(0,9)%}

<td>{{tt_dict['Sat'][i]}}</td>
{%endfor%}
</tr>
<tr>
<td class="table__day">Sat</td>
{%for i in range(0,9)%}

</table>

</body>
<td>{{tt_dict['Sat'][i]}}</td>
{%endfor%}
</tr>
</tbody>
</table>
</div>
</body>
</html>

0 comments on commit 026e531

Please sign in to comment.