Skip to content

Commit d692ac9

Browse files
authored
Made Better TM
1 parent 0a5273d commit d692ac9

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

templates/index.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0"/>
6-
<title>We 🖤 Pizzas</title>
6+
<title>We 🖤 Pizzas</title>
77
<meta name="description" content="We all love pizzas. This is a website dedicated to the Flying Pizza Monster."/>
88
<link rel="canonical" href="https://we-love.pizza"/>
99
<link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
@@ -21,7 +21,7 @@
2121
.drop-area {display:flex;justify-content:center;align-items:center;width:300px;height:300px;border: 4px dashed #f80000;color: #ddd;padding: 50px; font-size: 2.8 em;text-transform: uppercase;margin: 50px;}
2222
.drop-area p{text-align: center;}
2323
.drop-area progress{width:100%;height:20px;margin-bottom:20px;color:#ff0000;background-color:#ff0000;}
24-
.drop-area #progressText{font-size:12px;}
24+
.drop-area #progressText{font-size:1em;text-transform: none;}
2525
#file-input::-webkit-file-upload-button{display: none;}
2626
#file-input {width: 100%;}
2727
#file-input::before {content: "Select a file";display:block;text-align:center;width:100%;text-transform:uppercase;padding-top:10px;padding-bottom:10px;background-color:#ddd;color:#000;font-size:1.2em;font-family:'Quicksand', sans-serif;}
@@ -51,7 +51,7 @@ <h4>The Flying Pizza Monster has heard your prayers. You can now send your files
5151
<h2>Q&A</h2>
5252
<p>
5353
<b>Q: What is this?</b><br>
54-
A: A file hosting platform, duh. Check below for supported formats. Oh, and 100 MB is the limit. In case someone abuses this file hosting service, they'll get IP blocked. And TBH, this site is not worth enough to use a DDoS, or proxies.
54+
A: A file hosting platform, duh. Oh, and 100 MB is the limit.
5555
</p>
5656
<p>
5757
<b>Q: Who made this?</b><br>
@@ -75,10 +75,6 @@ <h2>Q&A</h2>
7575
<b>Q: I found a file which might anger the Flying Pizza Monster.</b><br>
7676
A: Mail me @ <a href="mailto:randomghost@pm.me">randomghost@pm.me</a>. I will remove it before His Holiness sets his eyes on its uploader.
7777
</p>
78-
<p>
79-
<b>Supported Extensions:</b><br>
80-
{{ allowed_ext }}
81-
</p>
8278
</div>
8379
<hr>
8480
<h4 style="color: #fff;">By a random ghost. More specifically, <b><a href="">RandomGhost#0666</a></b>.</h4>
@@ -126,7 +122,7 @@ <h4 style="color: #fff;">By a random ghost. More specifically, <b><a href="">Ran
126122
data: formData,
127123
success: function(result) {
128124
if (result.startsWith("Error")) alert(result);
129-
else window.open(result, '_self');
125+
else $("#progressText").html("Uploaded to <a href='" + result + "'>"+ result +"</a>");
130126
}
131127
};
132128
$('#progressBar').show();

0 commit comments

Comments
 (0)