0001-statics-restructure-statics-folder-properly-20436.patch
mandayejs/mandaye/static/mandaye.js → mandayejs/mandaye/static/js/mandaye.js | ||
---|---|---|
1 | 1 |
$(function() { |
2 |
$('head').append('<link rel="stylesheet" href="/_mandaye/static/mandaye.css" type="text/css" />'); |
|
2 |
$('head').append('<link rel="stylesheet" href="/_mandaye/static/css/mandaye.css" type="text/css" />');
|
|
3 | 3 |
$('body').prepend('<div id="mandaye-js">Chargement en cours...</div>'); |
4 | 4 |
$('#mandaye-js').load('/_mandaye/panel'); |
5 | 5 |
}); |
mandayejs/mandaye/templates/mandaye/association_styles.html | ||
---|---|---|
1 | 1 |
{% load static %} |
2 |
<link rel="stylesheet" href="{% static 'mandaye.css' %}" type="text/css" /> |
|
2 |
<link rel="stylesheet" href="{% static 'css/mandaye.css' %}" type="text/css" /> |
mandayejs/mandaye/templates/mandaye/panel.html | ||
---|---|---|
6 | 6 |
var mandaye_logout_locator = '{{logout_locator}}'; |
7 | 7 |
</script> |
8 | 8 | |
9 |
<script type="text/javascript" src="{% static 'force.redirect.js' %}"></script> |
|
10 |
<script type="text/javascript" src="{% static 'single.logout.js' %}"></script> |
|
9 |
<script type="text/javascript" src="{% static 'js/force.redirect.js' %}"></script>
|
|
10 |
<script type="text/javascript" src="{% static 'js/single.logout.js' %}"></script>
|
|
11 | 11 | |
12 | 12 |
{% if site_scripts %} |
13 | 13 |
{%for script in site_scripts%} |
mandayejs/mandaye/templates/mandaye/panel_styles.html | ||
---|---|---|
1 | 1 |
{% load static %} |
2 |
<link rel="stylesheet" href="{% static 'mandaye.css' %}" type="text/css" /> |
|
2 |
<link rel="stylesheet" href="{% static 'css/mandaye.css' %}" type="text/css" /> |
|
3 |
- |