Skip to content

Commit

Permalink
add png
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvnbbg committed Feb 22, 2024
1 parent 1c536a5 commit fdcd5a6
Show file tree
Hide file tree
Showing 17 changed files with 76 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .flaskenv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# .flaskenv file
FLASK_APP=yourapp
FLASK_APP=app
FLASK_ENV=development
3 changes: 2 additions & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
from config import Config
from app.config import Config
from flask_migrate import Migrate
from app.main import main
from app.auth import auth
from app.models import User
from flask_mail import Mail


# Initialize the database
db = SQLAlchemy()

Expand Down
Binary file added app/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added app/__pycache__/config.cpython-311.pyc
Binary file not shown.
Binary file added app/auth/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added app/auth/__pycache__/forms.cpython-311.pyc
Binary file not shown.
Binary file added app/auth/__pycache__/routes.cpython-311.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion app/auth/forms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired, EqualTo, ValidationError
from yourapp.models import User
from app.models import User

class RegistrationForm(FlaskForm):
username = StringField('Username', validators=[DataRequired()])
Expand Down
Binary file added app/main/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added app/main/__pycache__/routes.cpython-311.pyc
Binary file not shown.
77 changes: 72 additions & 5 deletions app/static/css/min.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
/* min.css */
/* Base Styles */
body {
font-family: Arial, sans-serif;
font-family: 'Roboto', sans-serif; /* Primary font */
margin: 0;
padding: 0;
background-color: #f0f0f0;
background-color: #f0f0f0; /* Light background to ensure readability */
color: #333; /* Primary text color for contrast */
}

/* Container for centering content */
.container {
width: 80%;
margin: auto;
overflow: hidden;
}

/* Header Styles */
header {
background: #333;
background: #007BFF; /* Primary blue as per charte graphique */
color: #fff;
padding-top: 30px;
min-height: 70px;
border-bottom: #0779e4 3px solid;
border-bottom: 3px solid #6C757D; /* Secondary grey for border */
}

header a {
Expand All @@ -26,3 +29,67 @@ header a {
text-transform: uppercase;
font-size: 16px;
}

/* Navigation Styles */
nav ul {
list-style: none;
padding: 0;
}

nav ul li {
display: inline;
margin-right: 10px;
}

/* Button Styles for Actions like Login, Contact, etc. */
.btn {
display: inline-block;
background: #28A745; /* Accent green for buttons */
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.btn:hover {
background-color: #007BFF; /* Darken button on hover */
}

/* Forms Styles for Login, Contact, and Filters */
form {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select {
width: 100%;
padding: 8px;
margin: 10px 0;
border-radius: 4px;
border: 1px solid #ccc;
}

/* Utility Classes for Spacing */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Responsive Design Adjustments */
@media (max-width: 768px) {
.container {
width: 95%;
}

header {
padding-top: 20px;
}
}
Binary file added app/static/images/cars.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 app/static/images/hours.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 app/static/images/logo.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 documentation/8dnpF5B5BKP2MVpJ7uizQ9.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 documentation/diagram_sequence.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 documentation/diagram_use_case.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fdcd5a6

Please sign in to comment.