Skip to content

Commit

Permalink
Updated Download Button (#1)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Prudhvi Sri Harsha Krovvidi <[email protected]>
  • Loading branch information
prudhvi1709 and prudhvi1709 authored Oct 25, 2024
1 parent 0137746 commit 8bee337
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ <h1 class="display-1 my-4 text-center">Automated letter generation</h1>
<h5 class="card-title">VAPT test</h5>
<p class="card-text">Generate a VAPT test report.</p>
<button class="btn btn-primary mb-3 generate" data-src="vapt.xlsx"><i class="bi bi-gear"></i> Generate</button>
<a class="btn btn-secondary mb-3" href="vapt.xlsx"><i class="bi bi-download"></i> Download</a>
</div>
</div>
</div>
Expand All @@ -73,16 +72,19 @@ <h5 class="card-title">VAPT test</h5>
<label class="card-body">
<h5 class="card-title">Custom Report</h5>
<p class="card-text">Use your own VAPT Excel report.</p>
<label for="file-upload" class="btn btn-primary w-100">
<i class="bi bi-cloud-upload"></i> Upload your Excel file here
</label>
<div class="d-flex justify-content-between align-items-center">
<label for="file-upload" class="btn btn-primary flex-fill me-2">
<i class="bi bi-cloud-upload"></i> Upload your Excel file
</label>
<a class="btn btn-secondary flex-fill" href="vapt.xlsx">
<i class="bi bi-download"></i> Download
</a>
</div>
<input id="file-upload" type="file" accept=".xlsx" class="d-none">
</div>
</div>
</div>

<div id="login" class="my-5"></div>

<div id="output"></div>
</div>

Expand Down

0 comments on commit 8bee337

Please sign in to comment.