mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-24 22:56:26 -08:00
add logo & banner; update upload page
This commit is contained in:
parent
c69b11bce1
commit
a0dfa7efb5
BIN
assets/banner.pdn
Normal file
BIN
assets/banner.pdn
Normal file
Binary file not shown.
BIN
assets/banner.png
Normal file
BIN
assets/banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 448 KiB |
208
assets/monofileLogo.pdn
Normal file
208
assets/monofileLogo.pdn
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/monofileLogo.png
Normal file
BIN
assets/monofileLogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 216 KiB |
|
@ -76,6 +76,7 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<input type="text" id="CopyTB" value="" readonly style="opacity:0;width:10px;height:0%;">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h1>
|
<h1>
|
||||||
monofile
|
monofile
|
||||||
|
@ -94,6 +95,7 @@
|
||||||
<p style="font-family:monospace;position:relative;width:calc( 100% - 50px );left:25px;text-align: center;">
|
<p style="font-family:monospace;position:relative;width:calc( 100% - 50px );left:25px;text-align: center;">
|
||||||
Max filesize on instance: $MaxInstanceFilesize
|
Max filesize on instance: $MaxInstanceFilesize
|
||||||
</p>
|
</p>
|
||||||
|
<p style="font-family:monospace;position:relative;width:calc( 100% - 50px );left:25px;text-align: center;font-size:12px;color:gray;">made by nbitzz — <a style="color:gray;font-family:monospace;font-size:12px;" href="https://github.com/nbitzz/monofile">github</a></p>
|
||||||
<div style="width:100%;height:25px"></div>
|
<div style="width:100%;height:25px"></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -121,7 +123,8 @@
|
||||||
|
|
||||||
xmlhttp.addEventListener("load",function() {
|
xmlhttp.addEventListener("load",function() {
|
||||||
if (xmlhttp.status == 200) {
|
if (xmlhttp.status == 200) {
|
||||||
updateBtnTxt(`Upload complete.<br/>https://${location.hostname}/download/${xmlhttp.responseText}`)
|
document.getElementById("CopyTB").value = `https://${location.hostname}/download/${xmlhttp.responseText}`
|
||||||
|
updateBtnTxt(`Upload complete.<br/><a style="color:blue;font-family:monospace;" href="javascript:document.getElementById('CopyTB').focus();document.getElementById('CopyTB').select();document.execCommand('copy');">Copy URL</a> <a style="color:blue;font-family:monospace;" href="javascript:prompt('This is your download URL.', document.getElementById('CopyTB').value);null">View URL</a>`)
|
||||||
} else {
|
} else {
|
||||||
updateBtnTxt(`Upload failed.<br/>${xmlhttp.responseText}`)
|
updateBtnTxt(`Upload failed.<br/>${xmlhttp.responseText}`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue