Commit d807b2d4 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

js is amazing

parent 365c2828
......@@ -10,6 +10,9 @@
<link href="/static/css/bootswatch.min.css" rel="stylesheet" media="screen">
<link href="/static/css/extensions.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script type="text/javascript" src="/static/js/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
<!-- <script type="text/javascript" src="/static/js/isbn.js"></script> -->
<script>
/*
@licstart The following is the entire license notice for the
......@@ -49,11 +52,6 @@
<div id="footer">
{% include 'layouts/footer.html' %}
</div>
{% block javascript %}
<script type="text/javascript" src="/static/js/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/js/isbn.js"></script>
{% endblock %}
{% tracking_code %}
</body>
</html>
......@@ -4,6 +4,9 @@
SRCT Bookshare &bull; {{ listing.title }}
{% endblock %}
{% block javascript %}
{% endblock javascript %}
{% block content %}
{% load crispy_forms_tags %}
......@@ -11,8 +14,15 @@ SRCT Bookshare &bull; {{ listing.title }}
{% load humanize %}
<!-- you can't actually dismiss this for some reason -->
{% if flag_count > 4 %}
<div class="modal show" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
{% if flag_count > 0 %}
<script type="text/javascript">
;$(window).onload(function(){
$('#myModal').modal('show');
});
</script>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header text-center">
......
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