Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/h5p/view/list.tpl

59 lines
1.6 KiB

{{ tables }}
{{ form }}
<table class="table table-hover table-striped data_table">
<thead>
<tr>
<th>
{{ 'Title'|get_lang }}
</th>
<th>
{{ 'Date'|get_lang }}
</th>
<th></th>
<th>
{{ 'Actions' | get_lang }}
</th>
</tr>
</thead>
<tbody>
{% for term in terms %}
<tr>
<td style="width:20%" >
{{ term.title }}
</td>
<td style="width:25%" >
{{ term.creation_date }}
</td>
<td style="width:15%" >
<a href="{{ _p.web_plugin }}h5p/node_process.php?action=edit&{{ {'id': term.id}|url_encode() }}&{{ {'node_type': term.node_type}|url_encode() }}"
style="border:solid 1px #086A87;background:#086A87!important;color:white!important;" class="btn">
<span class="fa fa-eye fa-fw" aria-hidden="true"></span></a>
</td>
<td style="width:15%" >
<a href="{{ _p.web_plugin }}h5p/list.php?action=edit&{{ {'id': term.id}|url_encode() }}&{{ {'node_type': term.node_type}|url_encode() }}"
class="btn btn-success">
<span class="fa fa-edit fa-fw" aria-hidden="true"></span></a>
<a onclick="return confirm('Are you sure?')"
href="{{ _p.web_plugin }}h5p/list.php?action=delete&{{ {'id': term.id}|url_encode() }}"
class="btn btn-danger">
<span class="fa fa-times fa-fw" aria-hidden="true"></span></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<script>
function installMenuInteractions(){
$('div.logo').parent().parent().css('display','none');
$('#header-section').css('display','none');
$('.tab-homepage').find('a').html('&#8592;');
}
installMenuInteractions();
</script>