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

js is amazing

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