parent
14bd40a23a
commit
09be551d22
@ -1,71 +1,71 @@ |
|||||||
<script type='text/javascript' src="../js/sepe.js"></script> |
<script type='text/javascript' src="../js/sepe.js"></script> |
||||||
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/> |
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/> |
||||||
|
|
||||||
<div class="row"> |
<div class="row"> |
||||||
<div class="col-md-12"> |
<div class="col-md-12"> |
||||||
{% if message_info != "" %} |
{% if message_info != "" %} |
||||||
<div class="alert alert-success"> |
<div class="alert alert-success"> |
||||||
{{ message_info }} |
{{ message_info }} |
||||||
</div> |
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
{% if message_error != "" %} |
{% if message_error != "" %} |
||||||
<div class="alert alert-danger"> |
<div class="alert alert-danger"> |
||||||
{{ message_error }} |
{{ message_error }} |
||||||
</div> |
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
<div class="page-header"> |
<div class="page-header"> |
||||||
<h2>{{ 'FormativesActionsList' | get_plugin_lang('SepePlugin') }}</h2> |
<h2>{{ 'FormativesActionsList' | get_plugin_lang('SepePlugin') }}</h2> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<div class="report_section"> |
<div class="report_section"> |
||||||
{% if course_action_list|length > 0 %} |
{% if course_action_list|length > 0 %} |
||||||
<input type="hidden" id="confirmDeleteUnlinkAction" value="{{ 'confirmDeleteAction' | get_plugin_lang('SepePlugin') }}" /> |
<input type="hidden" id="confirmDeleteUnlinkAction" value="{{ 'confirmDeleteAction' | get_plugin_lang('SepePlugin') }}" /> |
||||||
<table class="table table-bordered sepe-box-center" style="width:auto"> |
<table class="table table-hover table-striped table-bordered sepe-box-center" style="width:auto"> |
||||||
{% for course in course_action_list %} |
{% for course in course_action_list %} |
||||||
<tr> |
<tr> |
||||||
<td class="sepe-vertical-align-middle">{{ 'Course' | get_lang }}: <strong>{{ course.title }}</strong> -> {{ 'ActionId' | get_plugin_lang('SepePlugin') | upper }}: <strong>{{ course.action_origin }} {{ course.action_code }}</strong></td> |
<td class="sepe-vertical-align-middle">{{ 'Course' | get_lang }}: <strong>{{ course.title }}</strong> -> {{ 'ActionId' | get_plugin_lang('SepePlugin') | upper }}: <strong>{{ course.action_origin }} {{ course.action_code }}</strong></td> |
||||||
<td class="text-center"> |
<td class="text-center"> |
||||||
<a href="#" class="btn btn-danger btn-sm sepe-margin-side delete-action" id="delete-action-id{{ course.action_id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a> |
<a href="#" class="btn btn-danger btn-sm sepe-margin-side delete-action" id="delete-action-id{{ course.action_id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a> |
||||||
<a href="#" class="btn btn-warning btn-sm sepe-margin-side unlink-action" id="unlink-action-id{{ course.id }}">{{ 'Unlink' | get_plugin_lang('SepePlugin') }}</a> |
<a href="#" class="btn btn-warning btn-sm sepe-margin-side unlink-action" id="unlink-action-id{{ course.id }}">{{ 'Unlink' | get_plugin_lang('SepePlugin') }}</a> |
||||||
<a href="formative-action.php?cid={{ course.course_id }}" class="btn btn-info btn-sm sepe-margin-side">{{ 'SeeOrEdit' | get_plugin_lang('SepePlugin') }}</a> |
<a href="formative-action.php?cid={{ course.course_id }}" class="btn btn-info btn-sm sepe-margin-side">{{ 'SeeOrEdit' | get_plugin_lang('SepePlugin') }}</a> |
||||||
</td> |
</td> |
||||||
</tr> |
</tr> |
||||||
{% endfor %} |
{% endfor %} |
||||||
</table> |
</table> |
||||||
{% else %} |
{% else %} |
||||||
<div class="alert alert-warning"> |
<div class="alert alert-warning"> |
||||||
{{ 'NoFormativeActionToCourse' | get_plugin_lang('SepePlugin') }} |
{{ 'NoFormativeActionToCourse' | get_plugin_lang('SepePlugin') }} |
||||||
</div> |
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
</div> |
</div> |
||||||
<hr /> |
<hr /> |
||||||
<div class="page-header"> |
<div class="page-header"> |
||||||
<h2>{{ 'CourseFreeOfFormativeAction' | get_plugin_lang('SepePlugin') }}</h2> |
<h2>{{ 'CourseFreeOfFormativeAction' | get_plugin_lang('SepePlugin') }}</h2> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<div class="report_section"> |
<div class="report_section"> |
||||||
<input type="hidden" id="alertAssignAction" value="{{ 'alertAssignAction'| get_plugin_lang('SepePlugin') }}" /> |
<input type="hidden" id="alertAssignAction" value="{{ 'alertAssignAction'| get_plugin_lang('SepePlugin') }}" /> |
||||||
<table class="table table-striped"> |
<table class="table table-striped"> |
||||||
{% for course in course_free_list %} |
{% for course in course_free_list %} |
||||||
<tr> |
<tr> |
||||||
<td class="sepe-vertical-align-middle">{{ 'Course' | get_lang }}: <strong>{{ course.title }}</strong></td> |
<td class="sepe-vertical-align-middle">{{ 'Course' | get_lang }}: <strong>{{ course.title }}</strong></td> |
||||||
<td class="text-center sepe-vertical-align-middle"> |
<td class="text-center sepe-vertical-align-middle"> |
||||||
<select class="chzn-select" id="action_formative{{ course.id }}" style="width:250px"> |
<select class="chzn-select" id="action_formative{{ course.id }}" style="width:250px"> |
||||||
<option value="">{{ 'SelectAction' | get_plugin_lang('SepePlugin') }}</option> |
<option value="">{{ 'SelectAction' | get_plugin_lang('SepePlugin') }}</option> |
||||||
{% for action in action_free_list %} |
{% for action in action_free_list %} |
||||||
<option value="{{ action.id }}"> |
<option value="{{ action.id }}"> |
||||||
{{ action.action_origin }} {{ action.action_code }} |
{{ action.action_origin }} {{ action.action_code }} |
||||||
</option> |
</option> |
||||||
{% endfor %} |
{% endfor %} |
||||||
</select> |
</select> |
||||||
</td> |
</td> |
||||||
<td class="text-center sepe-vertical-align-middle" style="min-width:240px"> |
<td class="text-center sepe-vertical-align-middle" style="min-width:240px"> |
||||||
<a href="#" class="btn btn-info btn-sm sepe-margin-side assign_action" id="course_id{{ course.id }}">{{ 'AssignAction' | get_plugin_lang('SepePlugin') }}</a> |
<a href="#" class="btn btn-info btn-sm sepe-margin-side assign_action" id="course_id{{ course.id }}">{{ 'AssignAction' | get_plugin_lang('SepePlugin') }}</a> |
||||||
<a href="formative-action-edit.php?new_action=1&cid={{ course.id }}" class="btn btn-success btn-sm sepe-margin-side">{{ 'CreateAction' | get_plugin_lang('SepePlugin') }}</a> |
<a href="formative-action-edit.php?new_action=1&cid={{ course.id }}" class="btn btn-success btn-sm sepe-margin-side">{{ 'CreateAction' | get_plugin_lang('SepePlugin') }}</a> |
||||||
</td> |
</td> |
||||||
</tr> |
</tr> |
||||||
{% endfor %} |
{% endfor %} |
||||||
</table> |
</table> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
|
|||||||
Loading…
Reference in new issue