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 dac9be6 commit 3045b0c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion api/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
background-color: #161616;
color: white;
}

.topnav a:focus {
background-color: #161616;
color: white;
}
</style>
</head>

Expand Down Expand Up @@ -169,7 +174,7 @@ <h2>Paste File</h2>
</div>
<br>
<div class="form-group mr-3">
<label for="downloadUrl">URL: </label>
<label for="downloadUrl">File URL: </label>
<input type="text" name="downloadUrl" class="form-control" id="downloadUrl" placeholder="Enter url">
</div>
<br>
Expand Down Expand Up @@ -237,6 +242,9 @@ <h2>Paste File</h2>
$("#copyFormDiv").show();
$('#uploadFormDiv').hide();
$('#downloadFormDiv').hide();
$('#copy').addClass('active');
$('#upload').removeClass('active');
$('#download').removeClass('active');
$('.progress-bar').removeClass('is-active');
$('.success').removeClass('is-active');
$('.qr-code').removeClass('is-active');
Expand All @@ -247,6 +255,9 @@ <h2>Paste File</h2>
$("#uploadFormDiv").show();
$('#copyFormDiv').hide();
$('#downloadFormDiv').hide();
$('#upload').addClass('active');
$('#copy').removeClass('active');
$('#download').removeClass('active');
$('.progress-bar').removeClass('is-active');
$('.success').removeClass('is-active');
$('.qr-code').removeClass('is-active');
Expand All @@ -257,6 +268,9 @@ <h2>Paste File</h2>
$("#downloadFormDiv").show();
$('#copyFormDiv').hide();
$('#uploadFormDiv').hide();
$('#download').addClass('active');
$('#copy').removeClass('active');
$('#upload').removeClass('active');
$('.progress-bar').removeClass('is-active');
$('.success').removeClass('is-active');
$('.qr-code').removeClass('is-active');
Expand Down

0 comments on commit 3045b0c

Please sign in to comment.