-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add info button to dashboard, details page, qr codes
- Loading branch information
1 parent
66d2ffb
commit 826140a
Showing
6 changed files
with
112 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>URL Details</title> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
<div class="container mt-5"> | ||
<h1>Details for Short URL</h1> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<h3>Original URL:</h3> | ||
<p>{{.URL.URL}}</p> | ||
|
||
<h3>Short URL:</h3> | ||
<p><a href="http://{{.Host}}/r/{{.URL.Key}}">{{.ShortURL}}</a></p> | ||
|
||
<h3>Clicks:</h3> | ||
<p>{{.URL.Clicks}}</p> | ||
</div> | ||
|
||
<div class="col-md-6 text-center"> | ||
<h3>QR Code</h3> | ||
<img src="data:image/png;base64,{{.QRCode}}" alt="QR Code" class="img-fluid"> | ||
</div> | ||
</div> | ||
|
||
<div class="mt-3"> | ||
<a href="/dashboard" class="btn btn-secondary">Back to Dashboard</a> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> | ||
</body> | ||
</html> |