Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Yadhu567 authored Feb 21, 2024
1 parent 79c9fa3 commit 6866a44
Show file tree
Hide file tree
Showing 38 changed files with 989 additions and 0 deletions.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions animaldetectionwebsite/animaldetection/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 animaldetectionwebsite/animaldetection/apps.py
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 not shown.
14 changes: 14 additions & 0 deletions animaldetectionwebsite/animaldetection/models.py
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 animaldetectionwebsite/animaldetection/static/css/alldocuments.css
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 animaldetectionwebsite/animaldetection/static/css/home.css
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 animaldetectionwebsite/animaldetection/static/css/lastdocument.css
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 animaldetectionwebsite/animaldetection/static/css/login.css
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 animaldetectionwebsite/animaldetection/static/css/registration.css
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;
}
Loading

0 comments on commit 6866a44

Please sign in to comment.