-Subproject commit bd60745ce82318b1819768c9a31db0579228654d
+Subproject commit cecb459ff4468a79a43cead3d09e213d0980c080
<table class="listing">
<tr>
- <th class="highlight">{% trans "Title" %}</th>
+ <th class="highlight"><input id="selectAll" type="checkbox"/> select all </th>
+ <th>{% trans "Title" %}</th>
<th>{% trans "Digitized" %}</th>
<th>{% trans "Recordist" %}</th>
{% if location_name %}
</tr>
{% for result in page.object_list %}
<tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td class="highlight">
+ <td class="highlight"><input type="checkbox" class="check1"/></td>
+ <td>
<a href="{% url "telemeta-item-detail" result.object.public_id %}">{{ result.object }}</a></br>
</td>
<td align="center">
<script src="{{ STATIC_URL }}telemeta/js/jquery.js" type="text/javascript"></script>
<script src="{{ STATIC_URL }}telemeta/js/jquery-ui.min.js" type="text/javascript"></script>
<script>
- $(document).ready(function() {
+ $(function() {
var nouvellesIcones = {
header : 'ui-icon-carat-1-e',
activeHeader : 'ui-icon-carat-1-s',
icons : nouvellesIcones,
});
$( "#datepicker").datepicker();
+ $("#selectAll").click(function(){
+ if(this.checked){
+ $(".check1").each(function(){
+ this.checked=true;
+ });
+ }
+ else{
+ $(".check1").each(function(){
+ this.checked=false;
+ });
+ }
+ });
});
</script>
{% endblock %}