Browse Source

fix: UI detail

master
欧醚 3 years ago
parent
commit
8d7230e13e
2 changed files with 9 additions and 6 deletions
  1. +0
    -2
      app.py
  2. +9
    -4
      templates/list.html

+ 0
- 2
app.py View File

@ -87,8 +87,6 @@ def upload():
if not (check_length(name) and check_length(teacher, 10) and check_length(notes, 200, True)):
abort(422)
print(request.form)
files = request.files.getlist('files[]')
dir_name = username + str(datetime.now())

+ 9
- 4
templates/list.html View File

@ -18,13 +18,17 @@
#ddd calc(50%),
#fff calc(50% + 1px)
);
background-size: 8px 7px;
background-size: 6px 5px;
}
body,
pre {
body {
font-family: 'Noto Sans SC', sans-serif;
}
.qbox pre {
white-space: pre-wrap;
}
h1,
h2,
h3,
@ -80,6 +84,7 @@
.part2 {
min-width: 200px;
min-height: 100vh;
overflow: hidden;
padding-left: 25px;
}
@ -89,7 +94,7 @@
}
.qbox {
background: #fffc;
background: #fffe;
padding: 5px 20px;
color: black;
margin: 5px 5px 20px;

Loading…
Cancel
Save