Commit eda5c7a7 authored by David Haynes's avatar David Haynes
Browse files

Move clipboard static file loading to base.html

 - and use django's static loader
parent fa55a37e
Pipeline #456 passed with stage
in 7 minutes and 18 seconds
...@@ -22,10 +22,15 @@ ...@@ -22,10 +22,15 @@
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="{% static "css/bootswatch.min.css" %}" /> <link rel="stylesheet" href="{% static "css/bootswatch.min.css" %}" />
<link rel="stylesheet" href="{% static "css/styles.css" %}" /> <link rel="stylesheet" href="{% static "css/styles.css" %}" />
<link rel="stylesheet" href="{% static "css/style-link-box.css" %}" />
<link rel="stylesheet" href="{% static "css/style-link-box.css" %}" />
<link rel="icon" type="image/jpg" href="{% static "img/favicon.ico"%}" /> <link rel="icon" type="image/jpg" href="{% static "img/favicon.ico"%}" />
<script src="{% static "js/jquery.min.js" %}"></script> <script src="{% static "js/jquery.min.js" %}"></script>
<script src="{% static "js/bootstrap.min.js" %}"></script> <script src="{% static "js/bootstrap.min.js" %}"></script>
<script src="{% static "js/clipboard.min.js" %}"></script>
<script src="{% static "js/copy.js" %}"></script>
</head> </head>
......
{% load go_extras %} {% load qr_tags %} {% load go_extras %} {% load qr_tags %}
<link rel="stylesheet" type="text/css" href="../../style-link-box.css">
<div class="container"> <div class="container">
<div class="col-md-8"> <div class="col-md-8">
<h3>Go Address:</h3> <h3>Go Address:</h3>
...@@ -108,11 +106,6 @@ ...@@ -108,11 +106,6 @@
</div> </div>
</div> </div>
<link rel="stylesheet" type="text/css" href="../../static/css/style-link-box.css">
<script src="../../static/js/clipboard.min.js"></script>
<script src="../../static/js/copy.js"></script>
<script> <script>
$(function() { $(function() {
var option = { var option = {
......
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