Commit ae132572 authored by David Haynes's avatar David Haynes 🙆
Browse files

Prettier link box via more css

- spacing, header(ing), renaming
- added edit link to be completed in issue 25
parent 94b06409
...@@ -16,32 +16,43 @@ ...@@ -16,32 +16,43 @@
<div class="container"> <div class="container">
<div class="col-md-8"> <div class="col-md-8">
<strong>Long:</strong> <a href="{{url.target}}">{{url.target}}</a> <h3>Go Address:</h3>
<br /> <a href="{{url.short}}">go.gmu.edu/{{url.short}}</a>
<br></br>
<strong>Short:</strong> <a href="/{{url.short}}">{{url.short}}</a> <h3>Address Details:</h3>
<br /> <strong>Target URL:</strong>
<br />
<a href="{{url.target}}">{{url.target}}</a>
<br></br>
{% if url.owner = request.user and request.user|is_registered %} {% if url.owner = request.user and request.user|is_registered %}
<strong>Clicks:</strong> {{url.clicks}} <strong>Clicks:</strong>
<br /> {{url.clicks}}
<br />
<strong>QR Code Uses:</strong> {{url.qrclicks}} <strong>QR Code Uses:</strong> {{url.qrclicks}}
<br /> <br />
<strong>Social Clicks:</strong> {{url.socialclicks}} <strong>Social Clicks:</strong> {{url.socialclicks}}
<br /> <br />
<strong>Expires:</strong> {{url.expires|default_if_none:"Never"}} <strong>Expires:</strong> {{url.expires|default_if_none:"Never"}}
<br /> <br></br>
<strong> <strong>
<a href="{%url 'delete' url.short%}" <a href="https://www.google.com">
onclick="return confirm('Are you sure you want to delete this link?');"> Edit
Delete </a>
</a> </strong>
</strong> <br />
{% endif %}
<br></br> <strong>
<a href="{%url 'delete' url.short%}" onclick="return confirm('Are you sure you want to delete this link?');">
Delete
</a>
</strong>
{% endif %}
<br></br>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment