Compare commits
2 Commits
12b66c3b83
...
7a3369eb28
Author | SHA1 | Date | |
---|---|---|---|
7a3369eb28 | |||
d94931eb95 |
@ -33,6 +33,8 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
MEDIA_ROOT = os.path.join(VAR_DIR, 'media')
|
||||
NGINX_DIR = os.environ['NGINX_DIRECTORY']
|
||||
|
||||
STATIC_ROOT = os.path.join(VAR_DIR, 'staticfiles')
|
||||
MEDIA_ROOT = os.path.join(NGINX_DIR, 'media')
|
||||
|
||||
STATIC_ROOT = os.path.join(NGINX_DIR, 'staticfiles')
|
||||
|
@ -154,4 +154,21 @@
|
||||
</div>
|
||||
|
||||
{% include "common_files/contact.html" with responsable="Nathalie ROHRBACH, Directrice" email="ecole@musique-meyenheim.fr" %}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('[data-toggle="popover"]').popover({trigger: "hover"})
|
||||
})
|
||||
|
||||
appear({
|
||||
elements: function elements(){
|
||||
// work with all elements with the class "track"
|
||||
return document.getElementsByClassName('track');
|
||||
},
|
||||
appear: function appear(el){
|
||||
console.log('visible', el);
|
||||
$(el).popover('show');
|
||||
},
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user