Commit f909969d authored by Okhin's avatar Okhin

Moving the /media/ to /static/

parent 37700c28
......@@ -142,6 +142,8 @@ INSTALLED_APPS = (
'tastypie',
# Haystack for searching through results
'haystack',
# Debugging bar
'debug_toolbar',
)
TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
......
......@@ -14,12 +14,12 @@
</ul>
<h3>{% trans "Initiators" %}</h3>
<ul>
<li class="logo-org"><img alt="BoF logo" src="{%media_url%}/img/bof.png" /><a href="https://www.bof.nl">Bits of Freedom</a></li>
<li class="logo-org"><img alt="LQDN logo" src="{%media_url%}/img/lqdn.png" /><a href="https://www.laquadrature.net/">La Quadrature du Net</a></li>
<li class="logo-org"><img alt="ORG logo" src="{%media_url%}/img/org.png" /><a href="https://www.openrightsgroup.org/">Open Rights Group</a></li>
<li class="logo-org"><img alt="NURPA logo" src="{%media_url%}/img/nurpa.png" width="80" style="text-align: center; background:#446688"/><br /><a href="http://nurpa.be"><small>Net Users' Rights Protection Association</small></a></li>
<li class="logo-org"><img alt="XNet logo" src="{%media_url%}/img/xnet.png" /><a href="https://xnet-x.net/">X&nbsp;Net</a></li>
<li class="logo-org"><img alt="EDRI logo" src="{%media_url%}/img/edri.png" /><a href="https://edri.org/">X&nbsp;Net</a></li>
<li class="logo-org"><img alt="BoF logo" src="{%static_url%}/img/bof.png" /><a href="https://www.bof.nl">Bits of Freedom</a></li>
<li class="logo-org"><img alt="LQDN logo" src="{%static_url%}/img/lqdn.png" /><a href="https://www.laquadrature.net/">La Quadrature du Net</a></li>
<li class="logo-org"><img alt="ORG logo" src="{%static_url%}/img/org.png" /><a href="https://www.openrightsgroup.org/">Open Rights Group</a></li>
<li class="logo-org"><img alt="NURPA logo" src="{%static_url%}/img/nurpa.png" width="80" style="text-align: center; background:#446688"/><br /><a href="http://nurpa.be"><small>Net Users' Rights Protection Association</small></a></li>
<li class="logo-org"><img alt="XNet logo" src="{%static_url%}/img/xnet.png" /><a href="https://xnet-x.net/">X&nbsp;Net</a></li>
<li class="logo-org"><img alt="EDRI logo" src="{%static_url%}/img/edri.png" /><a href="https://edri.org/">X&nbsp;Net</a></li>
</ul>
</div>
{% endblock %}
......@@ -2,14 +2,14 @@
{% load bt %}
{% load i18n %}
{% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css" media="all" href="{% static_url %}/css/jquery.autocomplete.css" />
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="{%media_url%}/js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="{%media_url%}/js/editor.js"></script>
<script type="text/javascript" src="{%media_url%}/js/jquery.min.js"></script>
<script type="text/javascript" src="{%media_url%}/js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="{%media_url%}/js/form.js"></script>
<script type="text/javascript" src="{%static_url%}/js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="{%static_url%}/js/editor.js"></script>
<script type="text/javascript" src="{%static_url%}/js/jquery.min.js"></script>
<script type="text/javascript" src="{%static_url%}/js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="{%static_url%}/js/form.js"></script>
<script type="text/javascript">
$(document).ready(function(){
init_form();
......
......@@ -13,7 +13,7 @@
<meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
{% block rss %}
{% endblock %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="{% static_url %}/css/style.css" />
{% block styles %}
{% endblock %}
</head>
......
......@@ -3,15 +3,15 @@
{% load i18n %}
{% block active_tab_home %}id="current"{% endblock %}
{% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" media="all" href="{% static_url %}/css/jquery-ui.css" />
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="{%media_url%}/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript" src="{%media_url%}/js/jquery.min.js"></script>
<script type="text/javascript" src="{%media_url%}/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="{%media_url%}/js/jquery.tablesorter.js"> </script>
<script type="text/javascript" src="{%media_url%}/js/form.js"></script>
<script type="text/javascript" src="{%static_url%}/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript" src="{%static_url%}/js/jquery.min.js"></script>
<script type="text/javascript" src="{%static_url%}/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="{%static_url%}/js/jquery.tablesorter.js"> </script>
<script type="text/javascript" src="{%static_url%}/js/form.js"></script>
<script type="text/javascript">
function focushandlers(ed) {
var s = ed.settings;
......
......@@ -9,7 +9,7 @@
, <a href="{%root_url%}/admin/bt/violation/{{v.id}}/ ">{% trans "Edit" %}</a>
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="{%media_url%}/js/jquery.min.js"></script>
<script type="text/javascript" src="{%static_url%}/js/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
function bindPostCommentHandler() {
$('.toggle').click(function(){
......
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