Commit 9f09e6ec authored by David Haynes's avatar David Haynes
Browse files

Add popover telling people we are lazy (Closes #46)

- well um, it's kind of true
- hovers, looks nice, and works -- what else do you want!
parent 6026dd2f
...@@ -43,10 +43,17 @@ ...@@ -43,10 +43,17 @@
<strong>Expires:</strong> {{url.expires|default_if_none:"Never"}} <strong>Expires:</strong> {{url.expires|default_if_none:"Never"}}
<br></br> <br></br>
<a class="button btn btn-info btn-sm" href="#"> <a class="button btn btn-danger btn-sm fa" href="{{domain}}delete/{{url.short}}">
<i class="fa fa-cog"></i> Edit</a>
<a class="button btn btn-danger btn-sm" href="{{domain}}delete/{{url.short}}">
<i class="fa fa-trash-o fa-lg"></i> Delete</a> <i class="fa fa-trash-o fa-lg"></i> Delete</a>
<a tabindex="0" class="button btn btn-info btn-sm fa"
role="button" data-toggle="popover" title="Not Implemented Quite Yet :("
data-content=
"We are working on adding this feature in a future
release of Go. If you'd like to check that progress or potentially
contribute code, head to git.gmu.edu/srct/go">
<i class="fa fa-cog"></i> Edit</a>
{% endif %} {% endif %}
<br></br> <br></br>
</div> </div>
...@@ -86,3 +93,10 @@ ...@@ -86,3 +93,10 @@
{% endwith %} {% endwith %}
</div> </div>
</div> </div>
<script>
$(function () {
var option = {'trigger': 'hover'};
$('[data-toggle="popover"]').popover( option )
})
</script>
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