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
147 changes: 146 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ex03 Time Table
## Date:
## Date: 14-03-2024

## AIM
To write a html webpage page to display your slot timetable.
Expand All @@ -24,10 +24,155 @@ Add your timetable using ```<td>``` tag.
Execute the program using runserver command.

## PROGRAM
```
<html>
<head>

<title> My time table </title>
</head>
<body>
<img src="logo.png" height="200" width="1200">

<table border="4" cellspacing="5" cellpadding="4" width="800" height="200">

<caption> <strong> SLOT TIME TABLE-NITHISH S(212223220070) </caption>

<tr>
<th bgcolor="plum">Day/time</th>
<th bgcolor="plum">Monday</th>
<th bgcolor="plum">Tuesday</th>
<th bgcolor="plum">Wednesday</th>
<th bgcolor="plum">Thursday</th>
<th bgcolor="plum">Friday</th>
<th bgcolor="plum">Saturday</th>
</tr>
<tr>
<td bgcolor="plum">8-10</td>
<td colspan="4" align="center" bgcolor="BLUE">FREESLOT</td>
<td bgcolor="BLUE">FWAD</td>
<td bgcolor="BLUE">FREESLOT</td>

</tr>

<tr>
<td bgcolor="plum">10-12</td>
<td bgcolor="orange">ENG</td>
<td bgcolor="orange">C PROG</td>
<td bgcolor="orange">MATHS</td>
<td bgcolor="orange">C PROG</td>
<td bgcolor="BLUE">FREESLOT</td>
<td bgcolor="orange">OS</td>

</tr>

<tr>
<td bgcolor="plum">12-1</td>
<td colspan="6" align="center" bgcolor="orange">LUNCH</td>


</tr>

<tr>
<td bgcolor="plum">1-3</td>
<td bgcolor="orange">DS</td>
<td bgcolor="orange">FWAD</td>
<td bgcolor="orange">ENG</td>
<td bgcolor="orange">FWAD</td>
<td bgcolor="BLUE">FREESLOT</td>
<td bgcolor="orange">MATHS</td>

</tr>

<tr>
<td bgcolor="plum">3-5</td>
<td bgcolor="orange">OS</td>
<td colspan="4" align="center" bgcolor="BLUE">FREESLOT</td>

<td bgcolor="orange">DS</td>

</tr>

</table>


</body>

</html>



<html>

<body>

<table border="1" cellspacing="5" cellpadding="2" width="600" height="300">

<tr>

<th><strong>S.No.</th>
<th><strong>Subject Code</th>
<th><strong>Subject Name</th>

</tr>


<tr>

<td>1.</td>
<td>19A1304</td>
<td>Fundamentals of C Programming (C PROG)</td>

</tr>

<tr>
<td>2.</td>
<td>19AI403</td>
<td>Introduction to Data Science (DS)</td>
</tr>

<tr>
<td>3.</td>
<td>19AI414</td>
<td>Fundamentals of Web Application Development (FWAD)</td>
</tr>

<tr>
<td>4.</td>
<td>19CS405</td>
<td>Operating System (OS)</td>
</tr>
<td>5.</td>
<td>19EN101</td>
<td>Communicative English (ENG)</td>

</tr>

<tr>
<td>6.</td>
<td>19MA222</td>
<td>Probability and Queueing Models (MATHS)</td>
</tr>

</table>



</body>






</html>

```


## OUTPUT

![alt text](<Screenshot (14).png>)


## RESULT
The program for creating slot timetable using basic HTML tags is executed successfully.
Binary file added Screenshot (13).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 Screenshot (14).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added thalapathy/db.sqlite3
Empty file.
22 changes: 22 additions & 0 deletions thalapathy/manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys


def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'thalapathy.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)


if __name__ == '__main__':
main()
Empty file added thalapathy/slotapp/__init__.py
Empty file.
Binary file not shown.
Binary file added thalapathy/slotapp/__pycache__/admin.cpython-312.pyc
Binary file not shown.
Binary file added thalapathy/slotapp/__pycache__/apps.cpython-312.pyc
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions thalapathy/slotapp/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions thalapathy/slotapp/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class SlotappConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'slotapp'
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions thalapathy/slotapp/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
141 changes: 141 additions & 0 deletions thalapathy/slotapp/static/TVK.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<html>
<head>

<title> My time table </title>
</head>
<body>
<img src="logo.png" height="200" width="1200">

<table border="4" cellspacing="5" cellpadding="4" width="800" height="200">

<caption> <strong> SLOT TIME TABLE-NITHISH S(212223220070) </caption>

<tr>
<th bgcolor="plum">Day/time</th>
<th bgcolor="plum">Monday</th>
<th bgcolor="plum">Tuesday</th>
<th bgcolor="plum">Wednesday</th>
<th bgcolor="plum">Thursday</th>
<th bgcolor="plum">Friday</th>
<th bgcolor="plum">Saturday</th>
</tr>
<tr>
<td bgcolor="plum">8-10</td>
<td colspan="4" align="center" bgcolor="BLUE">FREESLOT</td>
<td bgcolor="BLUE">FWAD</td>
<td bgcolor="BLUE">FREESLOT</td>

</tr>

<tr>
<td bgcolor="plum">10-12</td>
<td bgcolor="orange">ENG</td>
<td bgcolor="orange">C PROG</td>
<td bgcolor="orange">MATHS</td>
<td bgcolor="orange">C PROG</td>
<td bgcolor="BLUE">FREESLOT</td>
<td bgcolor="orange">OS</td>

</tr>

<tr>
<td bgcolor="plum">12-1</td>
<td colspan="6" align="center" bgcolor="orange">LUNCH</td>


</tr>

<tr>
<td bgcolor="plum">1-3</td>
<td bgcolor="orange">DS</td>
<td bgcolor="orange">FWAD</td>
<td bgcolor="orange">ENG</td>
<td bgcolor="orange">FWAD</td>
<td bgcolor="BLUE">FREESLOT</td>
<td bgcolor="orange">MATHS</td>

</tr>

<tr>
<td bgcolor="plum">3-5</td>
<td bgcolor="orange">OS</td>
<td colspan="4" align="center" bgcolor="BLUE">FREESLOT</td>

<td bgcolor="orange">DS</td>

</tr>

</table>


</body>

</html>



<html>

<body>

<table border="1" cellspacing="5" cellpadding="2" width="600" height="300">

<tr>

<th><strong>S.No.</th>
<th><strong>Subject Code</th>
<th><strong>Subject Name</th>

</tr>


<tr>

<td>1.</td>
<td>19A1304</td>
<td>Fundamentals of C Programming (C PROG)</td>

</tr>

<tr>
<td>2.</td>
<td>19AI403</td>
<td>Introduction to Data Science (DS)</td>
</tr>

<tr>
<td>3.</td>
<td>19AI414</td>
<td>Fundamentals of Web Application Development (FWAD)</td>
</tr>

<tr>
<td>4.</td>
<td>19CS405</td>
<td>Operating System (OS)</td>
</tr>
<td>5.</td>
<td>19EN101</td>
<td>Communicative English (ENG)</td>

</tr>

<tr>
<td>6.</td>
<td>19MA222</td>
<td>Probability and Queueing Models (MATHS)</td>
</tr>

</table>



</body>






</html>

File renamed without changes
3 changes: 3 additions & 0 deletions thalapathy/slotapp/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
3 changes: 3 additions & 0 deletions thalapathy/slotapp/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file added thalapathy/thalapathy/__pycache__/urls.cpython-312.pyc
Binary file not shown.
Binary file not shown.
16 changes: 16 additions & 0 deletions thalapathy/thalapathy/asgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
ASGI config for thalapathy project.

It exposes the ASGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'thalapathy.settings')

application = get_asgi_application()
Loading