-{% load staticfiles %}
+{% load staticfiles filex %}
<script src="{% static 'qcg/selectize/selectize.min.js' %}"></script>
<script src="{% static 'filex/underscore/underscore.js' %}"></script>
<script>
var filex;
$(function() {
- filex = new Filex.FilexView({
- host: 'qcg.man.poznan.pl',
- hostOptions: [
- {host: 'qcg.man.poznan.pl', path: '/home/plgrid/{{ request.user.username }}/reef'},
- {host: 'ui.grid.icm.edu.pl', path: '/icm/hydra/home/grid/{{ request.user.username }}'},
- {host: 'ui.plgrid.wcss.wroc.pl', path: '/home/grid/users/{{ request.user.username }}'},
- {host: 'ui.grid.task.gda.pl', path: '/home/plgrid/{{ request.user.username }}'},
- {host: 'zeus.cyfronet.pl', path: '/people/{{ request.user.username }}'}
- ]
- });
+ filex = new Filex.FilexView({locations: {% locations %}});
});
</script>