Add logo
This commit is contained in:
@@ -91,8 +91,9 @@
|
||||
</head>
|
||||
<body class="min-h-screen flex items-center justify-center p-4">
|
||||
|
||||
<div class="w-full max-w-[493px] flex flex-col items-end">
|
||||
|
||||
<!--<div class="w-full max-w-[493px] flex flex-col items-end">-->
|
||||
<div class="w-full max-w-[493px] flex flex-col items-center">
|
||||
<img src="/static/logo.png" alt="Send.it logo" style="width:50%;" class="mb-2 border-black">
|
||||
<div class="box">
|
||||
<header class="mb-6 border-b-2 border-black pb-2 text-center">
|
||||
<h1 class="text-xl font-bold uppercase">Send it</h1>
|
||||
@@ -264,6 +265,8 @@
|
||||
const fd = new FormData();
|
||||
fd.append("file", file);
|
||||
fd.append("once", document.getElementById("once").checked ? "true" : "false");
|
||||
const hours = parseInt(document.getElementById("duration").value, 10);
|
||||
fd.append("duration", hours * 3600); // convert hours to seconds
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
currentXhr = xhr;
|
||||
|
||||
Reference in New Issue
Block a user