Skip to content

Commit

Permalink
move copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-streltsov committed Oct 11, 2024
1 parent 467e649 commit 7e65173
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,18 @@ <h2>Your Shortened URLs</h2>
>
</td>
<td>
<a
class="pe-2 text-decoration-none"
href="http://{{ $.Host }}/r/{{ .Key }}"
>{{ $.Host }}/r/{{ .Key }}</a
>
<button
class="btn btn-outline-secondary copy-btn"
type="button"
data-url="http://{{ $.Host }}/r/{{ .Key }}"
>
<i class="bi bi-clipboard"></i>
</button>
<a
class="ps-2 text-decoration-none"
href="http://{{ $.Host }}/r/{{ .Key }}"
>{{ $.Host }}/r/{{ .Key }}</a
>
</td>
<td>{{ .CreatedAt.Format "2006-01-02 15:04:05" }}</td>
<td>{{ .Clicks }}</td>
Expand Down

0 comments on commit 7e65173

Please sign in to comment.