Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timetable css #10

Merged
merged 2 commits into from
Oct 12, 2018
Merged
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
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>