added about to db
This commit is contained in:
parent
6652284dbc
commit
d44c1b5f97
6 changed files with 79 additions and 20 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ venv
|
||||||
src/static/uploads
|
src/static/uploads
|
||||||
data
|
data
|
||||||
src/lovedb.db
|
src/lovedb.db
|
||||||
|
src/__pycache__
|
||||||
|
|
|
||||||
Binary file not shown.
BIN
src/lovedb.db
BIN
src/lovedb.db
Binary file not shown.
|
|
@ -67,6 +67,7 @@ class User(db.Model):
|
||||||
prefered_age_range = db.Column(db.String(20), nullable=True)
|
prefered_age_range = db.Column(db.String(20), nullable=True)
|
||||||
likes = db.Column(db.JSON, nullable=True)
|
likes = db.Column(db.JSON, nullable=True)
|
||||||
dislikes = db.Column(db.JSON, nullable=True)
|
dislikes = db.Column(db.JSON, nullable=True)
|
||||||
|
about = db.Column(db.String(4096), nullable=True)
|
||||||
xmpp = db.Column(db.String(128), unique=True, nullable=False)
|
xmpp = db.Column(db.String(128), unique=True, nullable=False)
|
||||||
email = db.Column(db.String(128), unique=True, nullable=True)
|
email = db.Column(db.String(128), unique=True, nullable=True)
|
||||||
phone = db.Column(db.String(20), unique=True, nullable=True)
|
phone = db.Column(db.String(20), unique=True, nullable=True)
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'font';
|
font-family: 'font';
|
||||||
src: url('/static/font/font-Bold.ttf') format('truetype');
|
src: url('/static/font/font-Bold.ttf') format('truetype');
|
||||||
|
|
@ -17,12 +18,13 @@ body {
|
||||||
background: #FFE0F4;
|
background: #FFE0F4;
|
||||||
color: #FF00AA;
|
color: #FF00AA;
|
||||||
text-shadow: 0px 0px 5px rgba(255, 0, 170, 0.8);
|
text-shadow: 0px 0px 5px rgba(255, 0, 170, 0.8);
|
||||||
padding: 5px;
|
padding: 10px;
|
||||||
max-width: 75%;
|
max-width: 900px;
|
||||||
|
width: 100%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
font-family: font;
|
font-family: font;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1.2rem;
|
line-height: 1.4rem;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
|
|
@ -33,11 +35,9 @@ footer {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong, b {
|
strong, b {
|
||||||
|
|
@ -47,25 +47,18 @@ strong, b {
|
||||||
section {
|
section {
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 5px;
|
padding: 10px;
|
||||||
border: medium;
|
border: medium dashed #FF00AA;
|
||||||
border-color: #FF00AA;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border-style: dashed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: #FF00AA;
|
color: #FF00AA;
|
||||||
text-decoration: underline yellow;
|
text-decoration: underline yellow;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2, h3 {
|
||||||
color: #FF00AA;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
color: #FF00AA;
|
color: #FF00AA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -80,6 +73,8 @@ a:hover {
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
overflow-x: auto;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td {
|
th, td {
|
||||||
|
|
@ -94,5 +89,66 @@ th {
|
||||||
}
|
}
|
||||||
|
|
||||||
tr:nth-child(even) {
|
tr:nth-child(even) {
|
||||||
background-color: #FF00AA;
|
background-color: #FFB3DA;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 20px;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
padding: 8px;
|
||||||
|
margin-top: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 18px;
|
||||||
|
padding: 6px;
|
||||||
|
line-height: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
padding: 8px;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th, td {
|
||||||
|
padding: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Dating Website</title>
|
<title>Dating Website</title>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='drip.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='drip.css') }}">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<header><h1>Dating Website</h1></header>
|
<header><h1>Dating Website</h1></header>
|
||||||
<nav>
|
<nav>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue