Skip to content

Commit

Permalink
fix template style
Browse files Browse the repository at this point in the history
  • Loading branch information
robatipoor committed Mar 28, 2024
1 parent 3045b0c commit c64db1b
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions api/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,16 @@
}

.topnav {
background-color: #9e9797;
text-align: center;
background-color: #ffffff;
overflow: hidden;
}

.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
color: #000000;
padding: 12px 14px;
text-decoration: none;
font-size: 17px;
font-size: 20px;
}

.topnav a:hover {
Expand Down Expand Up @@ -132,7 +131,7 @@ <h2>Paste File</h2>
<br>
<div class="form-group mr-3">
<label for="maxDownload">Maximum download: </label>
<input type="number" name="maxDownload" class="form-control" id="maxDownload"
<input size="12" type="number" name="maxDownload" class="form-control" id="maxDownload"
placeholder="Enter max downloads">
</div>
<br>
Expand Down Expand Up @@ -175,7 +174,7 @@ <h2>Paste File</h2>
<br>
<div class="form-group mr-3">
<label for="downloadUrl">File URL: </label>
<input type="text" name="downloadUrl" class="form-control" id="downloadUrl" placeholder="Enter url">
<input size="50" type="text" name="downloadUrl" class="form-control" id="downloadUrl" placeholder="Enter url">
</div>
<br>
<button id="downloadFile" class="btn btn-primary">Download</button>
Expand All @@ -198,7 +197,7 @@ <h2>Paste File</h2>
<br>
<div class="form-group mr-3">
<label for="maxDownload">Maximum download: </label>
<input type="number" name="maxDownload" class="form-control" id="maxDownload"
<input size="12" type="number" name="maxDownload" class="form-control" id="maxDownload"
placeholder="Enter max downloads">
</div>
<br>
Expand Down Expand Up @@ -412,7 +411,7 @@ <h2>Paste File</h2>
request.onload = function () {
var a = document.createElement("a");
a.href = URL.createObjectURL(this.response);
a.download = this.response.name;
a.download = "filename";
document.body.appendChild(a);
a.click();
}
Expand Down

0 comments on commit c64db1b

Please sign in to comment.