-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
989 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file added
BIN
+175 Bytes
animaldetectionwebsite/animaldetection/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+216 Bytes
animaldetectionwebsite/animaldetection/__pycache__/admin.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+472 Bytes
animaldetectionwebsite/animaldetection/__pycache__/apps.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+641 Bytes
animaldetectionwebsite/animaldetection/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+635 Bytes
animaldetectionwebsite/animaldetection/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+3.11 KB
animaldetectionwebsite/animaldetection/__pycache__/views.cpython-310.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class AnimaldetectionConfig(AppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'animaldetection' |
Empty file.
Binary file added
BIN
+186 Bytes
animaldetectionwebsite/animaldetection/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# animaldetection/models.py | ||
from django.db import models | ||
|
||
class AnimalDetection(models.Model): | ||
area_name = models.CharField(max_length=100) | ||
animal_name = models.CharField(max_length=100) | ||
confidence = models.FloatField() | ||
time = models.DateTimeField(auto_now_add=True) | ||
animal_image = models.CharField(max_length=100) | ||
sound_file = models.CharField(max_length=100) | ||
no_detection = models.CharField(max_length=100) | ||
|
||
|
||
|
55 changes: 55 additions & 0 deletions
55
animaldetectionwebsite/animaldetection/static/css/alldocuments.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
body { | ||
font-family: cursive; | ||
background: linear-gradient(90deg, #00220a 0%, #018b13 100%); | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.container { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
|
||
.heading1{ | ||
background: linear-gradient(0deg, #ffffff 0%, #58ff60 100%); | ||
border: 1px solid #14cf2d; | ||
border-radius: 14px; | ||
margin-bottom: 40px; | ||
padding: 7px; | ||
padding-top: 20px; | ||
} | ||
|
||
h1 { | ||
font-size: 28px; | ||
color: #000000; | ||
margin: 0 0 20px; | ||
text-align: center; | ||
} | ||
|
||
.document-list { | ||
background: rgb(213, 248, 213); | ||
padding: 20px; | ||
border: 1px solid #14cf2d; | ||
border-radius: 14px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.document-info { | ||
padding: 10px 0; | ||
border-bottom: 3px solid #14cf2d; | ||
gap: 100; | ||
} | ||
|
||
.document-info p { | ||
margin: 0; | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
|
||
.document-info img { | ||
width: 50%;/* Adjust the max-width as needed */ | ||
padding-top: 10px; | ||
border-radius: 17px; | ||
} |
30 changes: 30 additions & 0 deletions
30
animaldetectionwebsite/animaldetection/static/css/home.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
body { | ||
background: linear-gradient(90deg, #00220a 0%, #018b13 100%); | ||
font-family: cursive; | ||
} | ||
.container { | ||
max-width: 400px; | ||
margin: 0 auto; | ||
padding: 40px; | ||
background: linear-gradient(0deg, #ffffff 30%, #afffb3 100%); | ||
border-radius: 14px; | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); | ||
margin-top: 100px; | ||
} | ||
h1 { | ||
text-align: center; | ||
color: #000000; | ||
} | ||
button { | ||
width: 100%; | ||
height: 40px; | ||
margin-top: 20px; | ||
background-color: #14cf2d; | ||
color: #000000; | ||
border: none; | ||
border-radius: 20px; | ||
font-size: 16px; | ||
font-family: cursive; | ||
font-weight: bold; | ||
cursor: pointer; | ||
} |
59 changes: 59 additions & 0 deletions
59
animaldetectionwebsite/animaldetection/static/css/lastdocument.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
body { | ||
background: linear-gradient(90deg, #00220a 0%, #018b13 100%); | ||
font-family: cursive; | ||
} | ||
|
||
.container { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
background: linear-gradient(0deg, #ffffff 30%, #98ff9e 100%); | ||
border-radius: 20px; | ||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); | ||
text-align: center; | ||
} | ||
|
||
h1 { | ||
color: #000000; | ||
margin-top: 0; | ||
font-size: 35px; | ||
} | ||
|
||
h4 { | ||
font-weight: bolder; | ||
font-size: larger; | ||
background-color: rgb(255, 61, 61); | ||
border-radius: 8px; | ||
padding: 6px; | ||
width: 200px; | ||
margin-left: 190px; | ||
} | ||
|
||
p { | ||
color: #000000; | ||
margin: 10px 0; | ||
font-family: cursive; | ||
font-weight: bold; | ||
} | ||
|
||
.btn { | ||
display: inline-block; | ||
padding: 10px 20px; | ||
background-color:#14cf2d; | ||
font-family: cursive; | ||
font-weight: bold; | ||
color: #000000; | ||
border: none; | ||
border-radius: 20px; | ||
cursor: pointer; | ||
} | ||
|
||
.btn:hover { | ||
background-color: #4caf50; | ||
} | ||
|
||
.button-section { | ||
margin-top: 20px; | ||
text-align: center; | ||
} |
98 changes: 98 additions & 0 deletions
98
animaldetectionwebsite/animaldetection/static/css/login.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
body { | ||
background: linear-gradient(90deg, #00220a 0%, #018b13 100%); | ||
font-family:cursive; | ||
color: #000000; | ||
height: 500px; | ||
margin: auto; | ||
|
||
} | ||
|
||
.container { | ||
max-width: 300px; | ||
margin-top: 60px; | ||
margin-left: 450px; | ||
|
||
padding: 40px; | ||
padding-left: 25px; | ||
padding-bottom: 20px; | ||
background: linear-gradient(0deg, #ffffff 50%, #b6ffbd 100%); | ||
border-radius: 20px; | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
color: #000000; | ||
font-size: 28px; | ||
margin-bottom: 14px; | ||
margin-top: 1px; | ||
} | ||
|
||
label { | ||
display: block; | ||
margin-bottom: 8px; | ||
color: #000000; | ||
font-size: 14px; | ||
margin-top: 10px; | ||
margin-bottom: 5px; | ||
} | ||
|
||
input[type="email"], | ||
input[type="password"] { | ||
width: 100%; | ||
height: 30px; | ||
padding: 8px; | ||
border: 1px solid #f3f3f3; | ||
border-radius: 15px; | ||
font-size: 14px; | ||
font-family: cursive; | ||
color: #000000; | ||
background-color: rgb(224, 224, 224); | ||
outline: none; | ||
} | ||
|
||
input[type="submit"], | ||
button { | ||
width: 100%; | ||
height: 40px; | ||
margin-top: 20px; | ||
background-color: #14cf2d; | ||
color: #000000; | ||
border: none; | ||
border-radius: 20px; | ||
font-size: 16px; | ||
cursor: pointer; | ||
font-weight: bold; | ||
font-family: cursive; | ||
} | ||
|
||
.forgot-password { | ||
margin-top: 10px; | ||
text-align: right; | ||
font-size: 14px; | ||
} | ||
|
||
.forgot-password a { | ||
color: #14cf2d; | ||
text-decoration: none; | ||
font-size: 12px; | ||
} | ||
|
||
.checkbox-label { | ||
display: block; | ||
margin-top: 10px; | ||
margin-bottom: 1px; | ||
color: #000000; | ||
font-size: 14px; | ||
} | ||
|
||
.sign-up { | ||
margin-top: 20px; | ||
text-align: center; | ||
} | ||
|
||
.sign-up a { | ||
color: #14cf2d; | ||
text-decoration: none; | ||
font-size: 14px; | ||
} |
65 changes: 65 additions & 0 deletions
65
animaldetectionwebsite/animaldetection/static/css/registration.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
body { | ||
background-color: #f2f2f2; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
.container { | ||
max-width: 400px; | ||
margin: 0 auto; | ||
padding: 40px; | ||
background-color: #ffffff; | ||
border-radius: 5px; | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
color: #333333; | ||
} | ||
|
||
label { | ||
display: block; | ||
margin-bottom: 8px; | ||
color: #333333; | ||
} | ||
|
||
input[type="text"], | ||
input[type="email"], | ||
input[type="password"] { | ||
width: 100%; | ||
height: 30px; | ||
padding: 5px; | ||
border: 1px solid #cccccc; | ||
border-radius: 5px; | ||
font-size: 12px; | ||
color: #555555; | ||
} | ||
|
||
input[type="submit"], | ||
button { | ||
width: 100%; | ||
height: 40px; | ||
margin-top: 20px; | ||
background-color: #4caf50; | ||
color: #ffffff; | ||
border: none; | ||
border-radius: 5px; | ||
font-size: 16px; | ||
cursor: pointer; | ||
} | ||
|
||
.checkbox-label { | ||
display: block; | ||
margin-top: 10px; | ||
color: #555555; | ||
} | ||
|
||
.sign-in { | ||
margin-top: 20px; | ||
text-align: center; | ||
} | ||
|
||
.sign-in a { | ||
color: #4caf50; | ||
text-decoration: none; | ||
} |
Oops, something went wrong.