made it look better
This commit is contained in:
parent
a9234f82b7
commit
3d66794683
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
# v5
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
16
dockerfile
Normal file
16
dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
# Start with your base image
|
||||
FROM python:3.12.3-slim
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
# Install any needed packages specified in requirements.txt
|
||||
RUN pip install cherrypy
|
||||
# Copy the rest of your application code into the container at /app
|
||||
COPY . .
|
||||
|
||||
# Make port 8080 available to the world outside this container
|
||||
EXPOSE 8080
|
||||
|
||||
# Run app.py when the container launches
|
||||
CMD ["python", "start.py"]
|
2
start.py
2
start.py
@ -13,7 +13,7 @@ def load(file):
|
||||
with open(f"{path}/webpage/{file}") as f:
|
||||
return f.read()
|
||||
# Maximum time in minutes before a file is removed
|
||||
MAINTENANCE_INTERVAL_MINUTES = 1
|
||||
MAINTENANCE_INTERVAL_MINUTES = 10
|
||||
|
||||
|
||||
def clear_cache():
|
||||
|
@ -1,5 +0,0 @@
|
||||
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><base href = "https://mcnhs.schoology.com/"></head><body><p dir="ltr"><span style="font-family: 'Times New Roman',serif; color: black;">Virtual insanity is a song about monsters and the monster is humans desire to innovate. And relates to my theme as this innovation causes humanity to be isolated from each other.</span></p>
|
||||
<p><span style="font-family: 'Times New Roman',serif; color: black;"> </span></p>
|
||||
<p><span style="font-family: 'Times New Roman',serif; color: black;">This is shown to us in the quote “and now every mother can chose the color of her child, that’s not nature’s way” and”</span> And now there is no sound, for we all live underground”<span style="font-family: 'Times New Roman',serif; color: black;">. The first quote shows that the Monster is humans desire to innovate by telling us that we are messing with things that can have massive consequences for nature and therefore ourselves. the next quote proves that as when he says that they live underground. He is referring to how technology is isolating us from others. It could also have the more literal meaning of how an incident involving technology forced humanity underground. </span></p>
|
||||
<p><span style="font-family: 'Times New Roman',serif; color: black;"> </span></p>
|
||||
<p><span style="font-family: 'Times New Roman',serif; color: black;">The second quote I have to prove this is “Always seem to be governed by this love we have For useless twisting of our new technology “This quote talks about how we get caught up in making more technology that we fail to take into account other important things like social issues, poverty, and the environment. This means the technology is a monster as it distracts us from fixing other important issues. This relates to my theme as this means technology isolates us from important issues.</span></p></body></html>
|
@ -7,8 +7,10 @@
|
||||
|
||||
<body>
|
||||
<style>
|
||||
.title {
|
||||
background-color: #ff0000;
|
||||
.title,
|
||||
.main {
|
||||
background-color: hsl(10, 100%, 51%);
|
||||
backdrop-filter: blur(10px);
|
||||
color: white;
|
||||
padding: 20px;
|
||||
margin: 20px;
|
||||
@ -16,23 +18,29 @@
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: hsla(120, 3%, 23%, 0.6);
|
||||
display: flex;
|
||||
background-color: gray;
|
||||
padding: 20px;
|
||||
margin: 20px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
background-color: rgb(37, 37, 37);
|
||||
background: hsla(198, 100%, 50%, 1);
|
||||
|
||||
background: linear-gradient(90deg, hsla(198, 100%, 50%, 1) 0%, hsla(188, 92%, 49%, 1) 48%, hsla(201, 100%, 49%, 1) 97%);
|
||||
|
||||
background: -moz-linear-gradient(90deg, hsla(198, 100%, 50%, 1) 0%, hsla(188, 92%, 49%, 1) 48%, hsla(201, 100%, 49%, 1) 97%);
|
||||
|
||||
background: -webkit-linear-gradient(90deg, hsla(198, 100%, 50%, 1) 0%, hsla(188, 92%, 49%, 1) 48%, hsla(201, 100%, 49%, 1) 97%);
|
||||
|
||||
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00B2FF", endColorstr="#0AD2F1", GradientType=1);
|
||||
}
|
||||
|
||||
.upload,
|
||||
.download {
|
||||
color: white;
|
||||
border-radius: 20px;
|
||||
background-color: #ff0000;
|
||||
background-color: #fe0000;
|
||||
margin: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
@ -58,7 +66,7 @@
|
||||
<body>
|
||||
<div class="title">
|
||||
<h1>Here to there</h1>
|
||||
<h2>A simple file transfer webserver</h2>
|
||||
<h2>A simple file transfer website</h2>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="upload">
|
||||
|
@ -8,12 +8,13 @@
|
||||
<body>
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
background-color: rgb(37, 37, 37);
|
||||
}
|
||||
|
||||
.popup {
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
color: white;
|
||||
border-radius: 20px;
|
||||
background-color: #ff0000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user