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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
1 change: 1 addition & 0 deletions NearMe
Submodule NearMe added at 0a99e4
39 changes: 0 additions & 39 deletions README.md

This file was deleted.

Binary file added anna.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 gill.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 link map.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 mapapp/db.sqlite3
Empty file.
22 changes: 22 additions & 0 deletions mapapp/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', 'mapapp.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 mapapp/map/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions mapapp/map/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 mapapp/map/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class MapConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'map'
Empty file.
3 changes: 3 additions & 0 deletions mapapp/map/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.
22 changes: 22 additions & 0 deletions mapapp/map/static/anna.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ANNA ARCH</title>
</head>
<body bgcolor="light blue">

<center> <h1>ANNA ARCH<h1> <center>
<pre>Anna Arch in Arumbakkam is an iconic structure that stands as a testament
to Chennai's architectural legacy. Maintenance efforts focus on preserving
its aesthetic appeal and ensuring the area remains tidy and accessible to the
public. Regular inspections are carried out to address wear and tear, keeping
the structure in good condition. While there isn’t a formal
customer service desk, municipal authorities occasionally install information
boards to guide visitors. Traffic management around the arch is also prioritized to ensure
smooth vehicular movement. Plans for enhanced lighting during the evening hours and periodic
repainting further contribute to its upkeep, making it a
valued part of Chennai’s urban landscape. </pre>
</body>
</html>
21 changes: 21 additions & 0 deletions mapapp/map/static/gill.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GILL NAGAR PARK</title>
</head>
<body bgcolor="green">

<center> <h1>GILL NAGAR PARK<h1> <center>
<pre>Gill Nagar Park in Chennai is a peaceful community space known
for its greenery and well-maintained environment. The park's maintenance
includes regular cleaning, pruning of plants, and upkeep of walking paths
and benches. The children's play area and exercise equipment are inspected
periodically to ensure safety. while there is no formal customer service desk,
park staff are friendly and assist visitors when needed. Security measures,
such as a gated entrance and occasional patrols, ensure a safe environment
for families and individuals. Overall, Gill Nagar Park is a well-kept
urban retreat that serves as a great spot for relaxation and recreation.</pre>
</body>
</html>
23 changes: 23 additions & 0 deletions mapapp/map/static/map.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<html>
<head>
<title>My City</title>
</head>
<body>
<h1 align="center">
<font color="yellow"><b>CMBT</b></font>
</h1>
<h3 align="center">
<font color="blue"><b>NAVEEN KUMAR P (24901080)</b></font>
</h3>
<center>
<img src="map1.png" usemap="#image-map" height="610" width="1450">
<map name="image-map">
<area target="_self" alt="vr" title="vr" href="http://127.0.0.1:5501/mapapp/map/static/vr.htm" coords="589,69,51" shape="circle">
<area target="_self" alt="rohini" title="rohini" href="http://127.0.0.1:5501/mapapp/map/static/rohini.html" coords="564,184,56" shape="circle">
<area target="_self" alt="anna" title="anna" href="http://127.0.0.1:5501/mapapp/map/static/anna.html" coords="948,177,66" shape="circle">
<area target="_self" alt="thiru" title="thiru" href="http://127.0.0.1:5501/mapapp/map/static/thiru.html" coords="1086,127,63" shape="circle">
<area target="_self" alt="gill" title="gill" href="http://127.0.0.1:5501/mapapp/map/static/gill.html" coords="1063,373,68" shape="circle">
</map>
</center>
</body>
</html>
Binary file added mapapp/map/static/map1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions mapapp/map/static/rohini.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ROHINI CINEMAS </title>
</head>
<body >

<center> <h1>ROHINI CINEMAS<h1> <center>
<pre>Rohini Cinemas in Chennai is renowned for its excellent
maintenance and customer service. The cinema is kept clean and hygienic, with
well-maintained seating, air conditioning, and washrooms to enhance the movie-watching experience.
Regular checks ensure the sound and screen quality remain top-notch.
The customer service team is approachable and efficient,assisting patrons with ticket
bookings, seating arrangements, and queries. Online and on-site support make
the process seamless, while staff ensure timely service at concession stands.
With a focus on comfort and convenience, Rohini Cinemas strives to
deliver an enjoyable experience for every visitor.</pre>
</body>
</html>
Binary file added mapapp/map/static/static - Shortcut.lnk
Binary file not shown.
21 changes: 21 additions & 0 deletions mapapp/map/static/thiru.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>THIRU VI KA PARK </title>
</head>
<body bgcolor="yellow">

<center> <h1>THIRU VI KA PARK<h1> <center>
<pre>Thiru Vi Ka Park in Chennai is a well-maintained public space, offering a
serene environment for relaxation and recreation. The park’s
maintenance includes regular cleaning, landscaping, and upkeep of walking paths, ensuring a pleasant
experience for visitors.Amenities like seating areas and play zones are periodically
inspected and repaired as needed.While there isn't a dedicated customer service team, park staff
are approachable and assist visitors with any concerns. Security personnel ensure the
safety of visitors, and information boards provide guidelines for responsible use of
the facilities. Overall, Thiru Vi Ka Park is a well-cared-for space that reflects the city's
commitment to providing quality public amenities.</pre>
</body>
</html>
17 changes: 17 additions & 0 deletions mapapp/map/static/vr.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VR CHENNAI</title>
</head>
<body bgcolor="gray">

<center> <h1>VR CHENNAI<h1> <center>
<pre>The maintenance and customer service at VR Chennai Mall are designed to enhance your shopping experience.
The mall is well-maintained, ensuring clean and safe environments, with timely upkeep of facilities.
The customer service team is approachable and attentive, ready to assist with inquiries,
resolve issues, and provide directions or support.Their commitment to quality
ensures a seamless and enjoyable visit for every guest.</pre>
</body>
</html>
3 changes: 3 additions & 0 deletions mapapp/map/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 mapapp/map/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 added mapapp/mapapp/__init__.py
Empty file.
Binary file added mapapp/mapapp/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Binary file added mapapp/mapapp/__pycache__/urls.cpython-312.pyc
Binary file not shown.
Binary file added mapapp/mapapp/__pycache__/wsgi.cpython-312.pyc
Binary file not shown.
16 changes: 16 additions & 0 deletions mapapp/mapapp/asgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
ASGI config for mapapp 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.1/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

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

application = get_asgi_application()
124 changes: 124 additions & 0 deletions mapapp/mapapp/settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
"""
Django settings for mapapp project.

Generated by 'django-admin startproject' using Django 5.1.2.

For more information on this file, see
https://docs.djangoproject.com/en/5.1/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/5.1/ref/settings/
"""

from pathlib import Path
import os
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-*@rkg3*dw4#zgd-y9et*8wroc=rav2p_nai6q)n%#m^%t(v=7x'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['*']


# Application definition

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'mapapp.urls'

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

WSGI_APPLICATION = 'mapapp.wsgi.application'


# Database
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}


# Password validation
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]


# Internationalization
# https://docs.djangoproject.com/en/5.1/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.1/howto/static-files/

STATIC_URL = 'static/'
STATICFILES_DIRS=[os.path.join(BASE_DIR,'map/static')]

# Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
22 changes: 22 additions & 0 deletions mapapp/mapapp/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"""
URL configuration for mapapp project.

The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/5.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path

urlpatterns = [
path('admin/', admin.site.urls),
]
Loading