This commit is contained in:
Xes
2025-08-14 22:39:38 +02:00
parent 3641e93527
commit 5403f346e3
3370 changed files with 327179 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="configuration.php" method="post" name="configuration_form">
<div class="col-md-2">&nbsp;</div>
<div class="col-md-8">
{% if message_info != "" %}
<div class="confirmation-message">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="error-message">
{{ message_error }}
</div>
{% endif %}
<fieldset>
<legend>{{ 'SepeUser' | get_plugin_lang('SepePlugin') }}</legend>
<div class="form-group">
<label class="col-md-2 control-label">{{ 'ApiKey' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-md-7">
<input class="form-control" type="text" id="input_key" name="api_key" value="{{ info }}" />
</div>
<div class="col-md-3">
<input type="button" id="key-sepe-generator" class="btn btn-info" value="{{ 'GenerateApiKey' | get_plugin_lang('SepePlugin') }}" />
</div>
</div>
</fieldset>
</div>
<div class="col-md-2">&nbsp;</div>
</form>
</div>

View File

@@ -0,0 +1,300 @@
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="formative-action-edit.php" method="post" name="data-center-form">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_action == "1" %}
<input type="hidden" name="action_id" value="0" />
<input type="hidden" name="course_id" value="{{ course_id }}" />
{% else %}
<input type="hidden" name="action_id" value="{{ info.id }}" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<fieldset>
<legend>{{ 'FormativeAction' | get_plugin_lang('SepePlugin') }}</legend>
<div class="well">
<legend><h4>{{ 'ActionIdentifier' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'ActionOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-2">
<input class="form-control" type="text" name="action_origin" value="{{ info.action_origin }}" />
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'ActionCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-2">
<input class="form-control" type="text" name="action_code" value="{{ info.action_code }}" />
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'Situation' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<select name="situation" class="form-control">
<option value=""></option>
{% if info.situation == "10" %}
<option value="10" selected="selected">{{ 'Situation10' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="10">{{ 'Situation10' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.situation == "20" %}
<option value="20" selected="selected">{{ 'Situation20' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="20">{{ 'Situation20' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.situation == "30" %}
<option value="30" selected="selected">{{ 'Situation30' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="30">{{ 'Situation30' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.situation == "40" %}
<option value="40" selected="selected">{{ 'Situation40' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="40">{{ 'Situation40' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.situation == "50" %}
<option value="50" selected="selected">{{ 'Situation50' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="50">{{ 'Situation50' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
</div>
</div>
<div class="well">
<legend><h4>{{ 'MainSpecialtyIdentifier' | get_plugin_lang('SepePlugin') | upper }}</h4></legend>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'SpecialtyOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<input class="form-control" type="text" name="specialty_origin" value="{{ info.specialty_origin }}" />
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'ProfessionalArea' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<input class="form-control" type="text" name="professional_area" value="{{ info.professional_area }}" />
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'SpecialtyCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<input class="form-control" type="text" name="specialty_code" value="{{ info.specialty_code }}"/>
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'Duration' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-2">
<input class="form-control" type="number" name="duration" value="{{ info.duration }}" />
</div>
<div class="col-md-7 alert alert-info sepe-message-info">
{{ 'NumHoursFormativeAction' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'StartDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-4">
<select name="day_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_start == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="col-md-5 alert alert-info sepe-message-info">
{{ 'StartDateMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'EndDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-4">
<select name="day_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_end == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info col-md-5 sepe-message-info">
{{ 'EndDateMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'FullItineraryIndicator' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-2">
<select class="form-control" name="full_itinerary_indicator">
<option value=""></option>
{% if info.full_itinerary_indicator == "SI" %}
<option value="SI" selected="selected">SI</option>
{% else %}
<option value="SI">SI</option>
{% endif %}
{% if info.full_itinerary_indicator == "NO" %}
<option value="NO" selected="selected">NO</option>
{% else %}
<option value="NO">NO</option>
{% endif %}
</select>
</div>
<div class="alert alert-info col-md-7 sepe-message-info">
{{ 'FullItineraryIndicatorMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'FinancingType' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-2">
<select name="financing_type" class="form-control">
<option value=""></option>
{% if info.financing_type == "PU" %}
<option value="PU" selected="selected">{{ 'Public' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="PU">{{ 'Public' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.financing_type == "PR" %}
<option value="PR" selected="selected">{{ 'Private' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="PR">{{ 'Private' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
</div>
<div class="alert alert-info col-md-7 sepe-message-info">
{{ 'FinancingTypeMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'AttendeesCount' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-2">
<input class="form-control" type="number" name="attendees_count" value="{{ info.attendees_count }}" />
</div>
<div class="alert alert-info col-md-7 sepe-message-info">
{{ 'AttendeesCountMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="well">
<legend><h4>{{ 'DescriptionAction' | get_plugin_lang('SepePlugin') | upper }}</h4></legend>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'NameAction' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<input class="form-control" type="text" name="action_name" value="{{ info.action_name }}" />
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'NameActionMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'GlobalInfo' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<textarea class="form-control" name="global_info">{{ info.global_info }}</textarea>
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'GlobalInfoMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'Schedule' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<textarea class="form-control" name="schedule">{{ info.schedule }}</textarea>
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'ScheduleMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'Requirements' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<textarea class="form-control" name="requirements">{{ info.requirements }}</textarea>
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'RequirementsMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{{ 'ContactAction' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-md-9">
<textarea class="form-control" name="contact_action">{{ info.contact_action }}</textarea>
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'ContactActionMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,269 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Options' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li class="sepe-edit-link">
<a href="formative-action-edit.php?action_id={{ action_id }}">{{ 'ActionEdit' | get_plugin_lang('SepePlugin') }}</a>
</li>
<li class="sepe-delete-link">
<input type="hidden" id="action_id" value="{{ action_id }}" />
<input type="hidden" id="confirmDeleteAction" value="{{ 'confirmDeleteAction' | get_plugin_lang('SepePlugin') }}" />
<a href="formative-action-delete.php" id="delete-action">{{ 'DeleteAction' | get_plugin_lang('SepePlugin') }}</a>
</li>
<li class="sepe-list-link">
<a href="formative-actions-list.php">{{ 'ActionsList' | get_plugin_lang('SepePlugin') }}</a>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<form class="form-horizontal">
<fieldset>
<legend>{{ 'FormativeAction' | get_plugin_lang('SepePlugin') }}:</legend>
{% if info != false %}
<div class="well">
<legend><h4>{{ 'ActionIdentifier' | get_plugin_lang('SepePlugin') }}: </h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ActionOrigin' | get_plugin_lang('SepePlugin') }}:</label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.action_origin|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ActionCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.action_code|e }}</label>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Situation' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">
{% if info.situation == "10" %}
10-Solicitada Autorización
{% endif %}
{% if info.situation == "20" %}
20-Programada/Autorizada
{% endif %}
{% if info.situation == "30" %}
30-Iniciada
{% endif %}
{% if info.situation == "40" %}
40-Finalizada
{% endif %}
{% if info.situation == "50" %}
50-Cancelada
{% endif %}
</label>
</div>
</div>
<div class="well sepe-subfield">
<legend><h4>{{ 'MainSpecialtyIdentifier' | get_plugin_lang('SepePlugin') }}</h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'SpecialtyOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.specialty_origin|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ProfessionalArea' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.professional_area|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'SpecialtyCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.specialty_code|e }}</label>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Duration' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">
{% if info.duration > 0 %}
{{ info.duration }}
{% else %}
<i>{{ 'Unspecified' | get_plugin_lang('SepePlugin') }}</i>
{% endif %}
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'StartDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">
{% if info.start_date == "0000-00-00" %}
<i>{{ 'Unspecified' | get_plugin_lang('SepePlugin') }}</i>
{% else %}
{{ start_date }}
{% endif %}
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'EndDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">
{% if info.end_date == "0000-00-00" %}
<i>{{ 'Unspecified' | get_plugin_lang('SepePlugin') }}</i>
{% else %}
{{ end_date }}
{% endif %}
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'FullItineraryIndicator' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.full_itinerary_indicator }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'FinancingType' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">
{% if info.financing_type == "PU" %}
Pública
{% endif %}
{% if info.financing_type == "PR" %}
Privada
{% endif %}
{% if info.financing_type == "" %}
<i>{{ 'Unspecified' | get_plugin_lang('SepePlugin') }}</i>
{% endif %}
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'AttendeesCount' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.attendees_count }}</label>
</div>
</div>
<div class="well">
<legend><h4>{{ 'DescriptionAction' | get_plugin_lang('SepePlugin') }}</h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'NameAction' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.action_name|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'GlobalInfo' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.global_info|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Schedule' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.schedule|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Requirements' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.requirements|e }}</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ContactAction' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ info.contact_action|e }}</label>
</div>
</div>
</div>
{% else %}
<div class="error-message">{{ 'NoFormativeAction' | get_plugin_lang('SepePlugin') }}</div>
{% endif %}
</fieldset>
</form>
</div>
<div class="well_border">
<form class="form-horizontal">
<fieldset>
<legend>{{ 'Specialtys' | get_plugin_lang('SepePlugin') }}:
<a href="specialty-action-edit.php?new_specialty=1&action_id={{ action_id }}" class="btn btn-info pull-right">{{ 'CreateSpecialty' | get_plugin_lang('SepePlugin') }}</a>
</legend>
<input type="hidden" id="confirmDeleteSpecialty" value="{{ 'confirmDeleteSpecialty' | get_plugin_lang('SepePlugin') }}" />
{% for specialty in listSpecialty %}
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Specialty' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<table width="100%" class="sepe-input-text">
<tr>
<td>{{ specialty.specialty_origin }} {{ specialty.professional_area }} {{ specialty.specialty_code }}</td>
<td>
<a href="#" class="btn btn-danger btn-sm pull-right sepe-margin-side delete-specialty" id="specialty{{ specialty.id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a>
<a href="specialty-action-edit.php?new_specialty=0&specialty_id={{ specialty.id }}&action_id={{ action_id }}" class="btn btn-warning btn-sm pull-right sepe-margin-side">{{ 'Edit' | get_plugin_lang('SepePlugin') }}</a>
</td>
</tr>
</table>
</div>
</div>
{% endfor %}
</fieldset>
</form>
</div>
<div class="well_border">
<form class="form-horizontal">
<fieldset>
<legend>{{ 'Participants' | get_plugin_lang('SepePlugin') }}:
<a href="participant-action-edit.php?new_participant=1&action_id={{ action_id }}" class="btn btn-info pull-right">{{ 'CreateParticipant' | get_plugin_lang('SepePlugin') }}</a>
</legend>
<input type="hidden" id="confirmDeleteParticipant" value="{{ 'confirmDeleteParticipant' | get_plugin_lang('SepePlugin') }}" />
{% for participant in listParticipant %}
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Participant' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<table width="100%" class="sepe-input-text">
<tr>
<td>{{ participant.firstname }} {{ participant.lastname }} </td>
<td>{{ participant.document_number }} {{ participant.documente_letter }} </td>
<td>
<a href="#" class="btn btn-danger btn-sm pull-right sepe-margin-side delete-participant" id="participant{{ participant.id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a>
<a href="participant-action-edit.php?new_participant=0&participant_id={{ participant.id }}&action_id={{ action_id }}" class="btn btn-warning btn-sm pull-right sepe-margin-side">{{ 'Edit' | get_plugin_lang('SepePlugin') }}</a>
</td>
</tr>
</table>
</div>
</div>
{% endfor %}
</fieldset>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,71 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<div class="col-md-12">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="page-header">
<h2>{{ 'FormativesActionsList' | get_plugin_lang('SepePlugin') }}</h2>
</div>
<div class="report_section">
{% if course_action_list|length > 0 %}
<input type="hidden" id="confirmDeleteUnlinkAction" value="{{ 'confirmDeleteAction' | get_plugin_lang('SepePlugin') }}" />
<table class="table table-hover table-striped table-bordered sepe-box-center" style="width:auto">
{% for course in course_action_list %}
<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="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-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>
</td>
</tr>
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning">
{{ 'NoFormativeActionToCourse' | get_plugin_lang('SepePlugin') }}
</div>
{% endif %}
</div>
<hr />
<div class="page-header">
<h2>{{ 'CourseFreeOfFormativeAction' | get_plugin_lang('SepePlugin') }}</h2>
</div>
<div class="report_section">
<input type="hidden" id="alertAssignAction" value="{{ 'alertAssignAction'| get_plugin_lang('SepePlugin') }}" />
<table class="table table-striped">
{% for course in course_free_list %}
<tr>
<td class="sepe-vertical-align-middle">{{ 'Course' | get_lang }}: <strong>{{ course.title }}</strong></td>
<td class="text-center sepe-vertical-align-middle">
<select class="chzn-select" id="action_formative{{ course.id }}" style="width:250px">
<option value="">{{ 'SelectAction' | get_plugin_lang('SepePlugin') }}</option>
{% for action in action_free_list %}
<option value="{{ action.id }}">
{{ action.action_origin }} {{ action.action_code }}
</option>
{% endfor %}
</select>
</td>
<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="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>
</tr>
{% endfor %}
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,86 @@
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="identification-data-edit.php" method="post" name="form_data_center">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Options' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
<input type="hidden" name="id" value="{{ info.id }}" />
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border span8">
<fieldset>
<legend>{{ 'DataCenter' | get_plugin_lang('SepePlugin') }}</legend>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-2">
<input type="text" class="form-control" name="center_origin" value="{{ info.center_origin }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-2">
<input type="text" class="form-control" name="center_code" value="{{ info.center_code }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'NameCenter' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<input type="text" class="form-control" name="center_name" value="{{ info.center_name }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'PlatformUrl' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<input type="text" class="form-control" name="url" value="{{ info.url }}" style="width:100%"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'TrackingUrl' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<input type="text" class="form-control" name="tracking_url" value="{{ info.tracking_url }}" style="width:100%" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'Phone' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-3">
<input type="text" class="form-control" name="phone" value="{{ info.phone }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'Mail' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-3">
<input type="text" class="form-control" name="mail" value="{{ info.mail }}" />
</div>
</div>
</fieldset>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,96 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Options' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li class="sepe-edit-link">
<a href="identification-data-edit.php">
{% if info == false %}
{{ 'NewCenter' | get_plugin_lang('SepePlugin') }}
{% else %}
{{ 'EditCenter' | get_plugin_lang('SepePlugin') }}
{% endif %}
</a>
</li>
<li class="sepe-delete-link">
<input type="hidden" id="confirmDeleteCenterData" value="{{ 'confirmDeleteCenterData'|get_plugin_lang('SepePlugin') }}" />
<a href="identification-data-delete.php" id="delete-center-data">{{ 'DeleteCenter' | get_plugin_lang('SepePlugin') }}</a>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<form class="form-horizontal">
<fieldset>
<legend>{{ 'DataCenter' | get_plugin_lang('SepePlugin') }}</legend>
{% if info != false %}
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.center_origin }}</label>
</div>
</div>
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.center_code }}</label>
</div>
</div>
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'NameCenter' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.center_name }}</label>
</div>
</div>
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'PlatformUrl' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.url }}</label>
</div>
</div>
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'TrackingUrl' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.tracking_url }}</label>
</div>
</div>
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'Phone' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.phone }}</label>
</div>
</div>
<div class="form-group ">
<label class="col-sm-3 control-label">{{ 'Mail' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<label class="sepe-input-text text-primary">{{ info.mail }}</label>
</div>
</div>
{% else %}
<div class="alert alert-danger">{{ 'NoIdentificationData' | get_plugin_lang('SepePlugin') }}</div>
{% endif %}
</fieldset>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,320 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<script type='text/javascript'>
$(document).ready(function () {
$("select[name='company_tutor_id']").change(function(){
if ($(this).val() == "0") {
$("#new-company-tutor-layer").show();
} else {
$("#new-company-tutor-layer").hide();
}
});
$("select[name='training_tutor_id']").change(function(){
if ($(this).val() == "0") {
$("#new-training-tutor-layer").show();
} else {
$("#new-training-tutor-layer").hide();
}
});
});
</script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="participant-action-edit.php" method="post" name="form_participant_action">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_participant == "1" %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="new_participant" value="1" />
{% else %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="participant_id" value="{{ participant_id }}" />
<input type="hidden" name="new_participant" value="0" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<fieldset>
<legend>{{ 'FormativeActionParticipant' | get_plugin_lang('SepePlugin') }}</legend>
<div class="well sepe-subfield">
<legend><h4>{{ 'UserPlatformList' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Student' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input type="hidden" id="alertSelectUser" value="{{ 'alertSelectUser'|get_plugin_lang('SepePlugin') }}" />
<select name="platform_user_id" id="platform_user_id" class="form-control">
{% if info_user_platform is empty %}
<option value="" selected="selected"></option>
{% else %}
<option value=""></option>
<option value="{{ info_user_platform.user_id }}" selected="selected">{{ info_user_platform.firstname }} {{ info_user_platform.lastname }}</option>
{% endif %}
{% for student in listStudent %}
<option value="{{ student.user_id }}">{{ student.firstname }} {{ student.lastname }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
<div class="well sepe-subfield">
<legend><h4>{{ 'ParticipantIdentifier' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentType' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="document_type" class="form-control">
<option value=""></option>
{% if info.document_type == "D" %}
<option value="D" selected="selected">{{ 'DocumentTypeD' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="D">{{ 'DocumentTypeD' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "E" %}
<option value="E" selected="selected">{{ 'DocumentTypeE' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="E">{{ 'DocumentTypeE' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "U" %}
<option value="U" selected="selected">{{ 'DocumentTypeU' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="U">{{ 'DocumentTypeU' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "G" %}
<option value="G" selected="selected">{{ 'DocumentTypeG' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="G">{{ 'DocumentTypeG' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "W" %}
<option value="W" selected="selected">{{ 'DocumentTypeW' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="W">{{ 'DocumentTypeW' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "H" %}
<option value="H" selected="selected">{{ 'DocumentTypeH' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="H">{{ 'DocumentTypeH' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-3">
<input class="form-control" type="text" name="document_number" value="{{ info.document_number }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentLetter' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="document_letter" value="{{ info.document_letter }}" />
</div>
</div>
<div class="alert alert-warning">
{{ 'DocumentFormatMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CompetenceKey' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="key_competence" value="{{ info.key_competence }}" />
</div>
</div>
<div class="well sepe-subfield">
<legend class="sepe-subfield">{{ 'TrainingAgreement' | get_plugin_lang('SepePlugin') | upper }}: </legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ContractId' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="contract_id" value="{{ info.contract_id }}" />
{{ 'ContractIdMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CompanyFiscalNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="company_fiscal_number" value="{{ info.company_fiscal_number }}" />
</div>
</div>
<div class="well">
<legend class="sepe-subfield2">{{ 'TutorIdCompany' | get_plugin_lang('SepePlugin') | upper }}: </legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CompanyTutorsList' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<select name="company_tutor_id" class="form-control">
<option value="" selected="selected">{{ 'NoTutor' | get_plugin_lang('SepePlugin') }}</option>
<option value="0">{{ 'CreateNewTutorCompany' | get_plugin_lang('SepePlugin') }}</option>
{% for tutor in list_tutor_company %}
{% if tutor.id == info.company_tutor_id or ( info|length == 0 and tutor.id == "1" ) %}
<option value="{{ tutor.id }}" selected="selected">{{ tutor.alias }}</option>
{% else %}
<option value="{{ tutor.id }}">{{ tutor.alias }}</option>
{% endif %}
{% endfor %}
</select>
</div>
</div>
<div id="new-company-tutor-layer" style="display:none">
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Name' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="tutor_company_alias" value="" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentType' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="tutor_company_document_type" class="form-control">
<option value="" selected="selected"></option>
<option value="D">{{ 'DocumentTypeD' | get_plugin_lang('SepePlugin') }}</option>
<option value="E">{{ 'DocumentTypeE' | get_plugin_lang('SepePlugin') }}</option>
<option value="U">{{ 'DocumentTypeU' | get_plugin_lang('SepePlugin') }}</option>
<option value="G">{{ 'DocumentTypeG' | get_plugin_lang('SepePlugin') }}</option>
<option value="W">{{ 'DocumentTypeW' | get_plugin_lang('SepePlugin') }}</option>
<option value="H">{{ 'DocumentTypeH' | get_plugin_lang('SepePlugin') }}</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-3">
<input class="form-control" type="text" name="tutor_company_document_number" value="" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentLetter' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="tutor_company_document_letter" value="" />
</div>
</div>
<div class="alert alert-warning mensaje_info">
{{ 'DocumentFormatMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="well">
<legend class="sepe-subfield2">{{ 'TutorIdTraining' | get_plugin_lang('SepePlugin') | upper }}: </legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'TrainingTutorsList' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<select name="training_tutor_id" class="form-control">
<option value="" selected="selected">{{ 'NoTutor' | get_plugin_lang('SepePlugin') }}</option>
<option value="0">{{ 'CreateNewTutorTraining' | get_plugin_lang('SepePlugin') }}</option>
{% for tutor in list_tutor_training %}
{% if tutor.id == info.training_tutor_id or ( info|length == 0 and tutor.id == "1" ) %}
<option value="{{ tutor.id }}" selected="selected">{{ tutor.alias }}</option>
{% else %}
<option value="{{ tutor.id }}">{{ tutor.alias }}</option>
{% endif %}
{% endfor %}
</select>
</div>
</div>
<div id="new-training-tutor-layer" style="display:none">
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Name' | get_plugin_lang('SepePlugin') }}</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="tutor_training_alias" value="" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentType' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="tutor_training_document_type" class="form-control">
<option value="" selected="selected"></option>
<option value="D">{{ 'DocumentTypeD' | get_plugin_lang('SepePlugin') }}</option>
<option value="E">{{ 'DocumentTypeE' | get_plugin_lang('SepePlugin') }}</option>
<option value="U">{{ 'DocumentTypeU' | get_plugin_lang('SepePlugin') }}</option>
<option value="G">{{ 'DocumentTypeG' | get_plugin_lang('SepePlugin') }}</option>
<option value="W">{{ 'DocumentTypeW' | get_plugin_lang('SepePlugin') }}</option>
<option value="H">{{ 'DocumentTypeH' | get_plugin_lang('SepePlugin') }}</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-3">
<input class="form-control" type="text" name="tutor_training_document_number" value="" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentLetter' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="tutor_training_document_letter" value="" />
</div>
</div>
<div class="alert alert-warning">
{{ 'DocumentFormatMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
</div>
<div class="well sepe-subfield">
{% if new_participant == "1" %}
<legend>{{ 'SpecialtiesParcipant' | get_plugin_lang('SepePlugin') | upper }}: </legend>
<div class="alert alert-warning">{{ 'SpecialtiesParcipantMessage' | get_plugin_lang('SepePlugin') }}</div>
{% else %}
<legend>{{ 'SpecialtiesParcipant' | get_plugin_lang('SepePlugin') | upper }}:
<a href="participant-specialty-edit.php?new_specialty=1&participant_id={{ info.id }}&action_id={{ action_id }}" class="btn btn-sm btn-info pull-right">{{ 'CreateSpecialty' | get_plugin_lang('SepePlugin') }}</a>
</legend>
<input type="hidden" id="confirmDeleteParticipantSpecialty" value="{{ 'confirmDeleteParticipantSpecialty'|get_plugin_lang('SepePlugin') }}" />
{% for specialty in listParticipantSpecialty %}
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Specialty' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="sepe-input-text">{{ specialty.specialty_origin }} {{ specialty.professional_area }} {{ specialty.specialty_code }}
<a href="#" class="btn btn-danger btn-sm pull-right sepe-margin-side delete-specialty-participant" id="specialty{{ specialty.id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a>
<a href="participant-specialty-edit.php?new_specialty=0&participant_id={{ info.id }}&specialty_id={{ specialty.id }}&action_id={{ action_id }}" class="btn btn-warning btn-sm pull-right sepe-margin-side">{{ 'Edit' | get_plugin_lang('SepePlugin') }}</a>
</label>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</fieldset>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,322 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="participant-specialty-edit.php" method="post" name="form_specialty_action">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_specialty == "1" %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="participant_id" value="{{ participant_id }}" />
<input type="hidden" name="new_specialty" value="1" />
{% else %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="participant_id" value="{{ participant_id }}" />
<input type="hidden" name="new_specialty" value="0" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<fieldset>
<legend>{{ 'SpecialtiesParcipant' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="well sepe-subfield">
<legend><h4>{{ 'SpecialtyIdentifier' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'SpecialtyOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="specialty_origin" value="{{ info.specialty_origin }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ProfessionalArea' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="professional_area" value="{{ info.professional_area }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'SpecialtyCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="specialty_code" value="{{ info.specialty_code }}" />
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{{ 'RegistrationDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_registration" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_registration == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_registration" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_registration == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_registration" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_registration == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info col-lg-5 sepe-message-info">
{{ 'RegistrationDateMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{{ 'LeavingDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_leaving" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_leaving == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_leaving" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_leaving == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_leaving" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_leaving == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info col-lg-5">
{{ 'LeavingDateMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="well sepe-subfield">
{% if new_specialty == "1" %}
<legend>{{ 'ClassroomTutorials' | get_plugin_lang('SepePlugin') | upper }}: </legend>
<div class="alert alert-warning">
{{ 'ClassroomTutorialsMessage' | get_plugin_lang('SepePlugin') }}
</div>
{% else %}
<legend>{{ 'ClassroomTutorials' | get_plugin_lang('SepePlugin') | upper }}:
<a href="specialty-tutorial-edit.php?new_tutorial=1&specialty_id={{ info.id }}&action_id={{ action_id }}" class="btn btn-sm btn-info pull-right">{{ 'CreateClassroomTutorial' | get_plugin_lang('SepePlugin') }}</a>
</legend>
{% for tutorial in listSpecialtyTutorials %}
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ClassroomTutorial' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="campo_texto">{{ tutorial.center_origin }} {{ tutorial.center_code }}
<a href="#" class="btn btn-danger btn-sm pull-right sepe-margin-side del_classroom" id="tutorial{{ tutorial.id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a>
<a href="specialty-tutorial-edit.php?new_tutorial=0&specialty_id={{ info.id }}&tutorial_id={{ tutorial.id }}&action_id={{ action_id }}" class="btn btn-warning btn-sm pull-right sepe-margin-side">{{ 'Edit' | get_plugin_lang('SepePlugin') }}</a>
</label>
</div>
</div>
{% endfor %}
{% endif %}
</div>
<div class="well sepe-subfield">
<legend><h4>{{ 'FinalEvaluation' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="well">
<legend class="sepe-subfield2">{{ 'FinalEvaluationClassroom' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="center_origin" value="{{ info.center_origin }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="center_code" value="{{ info.center_code }}" />
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{{ 'StartDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year_2 %}
{% if year_start == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info col-lg-5 sepe-message-info">
{{ 'StartDateMessageEvaluation' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{{ 'EndDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year_2 %}
{% if year_end == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info col-lg-5 sepe-message-info">
{{ 'EndDateMessageEvaluation' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="well sepe-subfield">
<legend><h4>{{ 'Results' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'FinalResult' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="final_result" class="form-control">
<option value=""></option>
{% if info.final_result == "0" %}
<option value="0" selected="selected">{{ 'Initiated' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="0">{{ 'Initiated' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "1" %}
<option value="1" selected="selected">{{ 'LeavePlacement' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="1">{{ 'LeavePlacement' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "2" %}
<option value="2" selected="selected">{{ 'AbandonOtherReasons' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="2">{{ 'AbandonOtherReasons' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "3" %}
<option value="3" selected="selected">{{ 'EndsPositiveEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="3">{{ 'EndsPositiveEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "4" %}
<option value="4" selected="selected">{{ 'EndsNegativeEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="4">{{ 'EndsNegativeEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "5" %}
<option value="5" selected="selected">{{ 'EndsNoEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="5">{{ 'EndsNoEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "6" %}
<option value="6" selected="selected">{{ 'FreeEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="6">{{ 'FreeEvaluation' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.final_result == "7" %}
<option value="7" selected="selected">{{ 'Exempt' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="7">{{ 'Exempt' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'FinalResultMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'FinalQualification' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="final_qualification" value="{{ info.final_qualification }}" />
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'FinalQualificationMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'FinalScore' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" class="form-control" type="text" name="final_score" value="{{ info.final_score }}" />
<div class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'FinalScoreMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,5 @@
<div class="row">
<div class="col-md-12">
{{ html_text }}
</div>
</div>

View File

@@ -0,0 +1,365 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="specialty-action-edit.php" method="post" name="form_specialty_action">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_action == "1" %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="new_specialty" value="1" />
{% else %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="new_specialty" value="0" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<fieldset>
<legend>{{ 'SpecialtyFormativeAction' | get_plugin_lang('SepePlugin') }}</legend>
<div class="well">
<legend><h4>{{ 'SpecialtyIdentifier' | get_plugin_lang('SepePlugin') | upper}}: </h4></legend>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'SpecialtyOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="specialty_origin" value="{{ info.specialty_origin }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ProfessionalArea' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="professional_area" value="{{ info.professional_area }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'SpecialtyCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-3">
<input class="form-control" type="text" name="specialty_code" value="{{ info.specialty_code }}" />
</div>
</div>
</div>
<div class="well">
<legend><h4>{{ 'DeliveryCenter' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="center_origin" value="{{ info.center_origin }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-3">
<input class="form-control" type="text" name="center_code" value="{{ info.center_code }}" />
</div>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{{ 'StartDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_start == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info sepe-message-info col-lg-5">
{{ 'SpecialtyStartDateMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{{ 'EndDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_end" class="form-control sepe-slt-date">
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_end == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="col-lg-5 sepe-message-info alert alert-info">
{{ 'SpecialtyEndDateMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ModalityImpartition' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="modality_impartition" class="chzn-select">
<option value=""></option>
{% if info.modality_impartition == "TF" %}
<option value="TF" selected="selected">Teleformación</option>
{% else %}
<option value="TF">Teleformación</option>
{% endif %}
{% if info.modality_impartition == "PR" %}
<option value="PR" selected="selected">Presencial</option>
{% else %}
<option value="PR">Presencial</option>
{% endif %}
{% if info.modality_impartition == "PE" %}
<option value="PE" selected="selected">Práctica no laboral (formación) en centro de trabajo</option>
{% else %}
<option value="PE">Práctica no laboral (formación) en centro de trabajo</option>
{% endif %}
</select>
<em class="alert alert-info sepe-message-info sepe-margin-top">
{{ 'ModalityImpartitionMessage' | get_plugin_lang('SepePlugin') }}
</em>
</div>
</div>
<div class="well sepe-subfield">
<legend><h4>{{ 'DurationData' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ClassroomHours' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="classroom_hours" value="{{ info.classroom_hours }}" />
</div>
<div class="col-sm-7 alert alert-info sepe-message-info">{{ 'ClassroomHoursMessage' | get_plugin_lang('SepePlugin') }}</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'DistanceHours' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="distance_hours" value="{{ info.distance_hours }}" />
</div>
<div class="col-sm-7 alert alert-info sepe-message-info">{{ 'DistanceHoursMessage' | get_plugin_lang('SepePlugin') }}</div>
</div>
</div>
<div class="well">
{% if new_action == "1" %}
<legend><h4>{{ 'ClassroomSessionCenter' | get_plugin_lang('SepePlugin') | upper}}: </h4></legend>
<div class="alert alert-warning">{{ 'ClassroomSessionCenterMessage' | get_plugin_lang('SepePlugin') }}</div>
{% else %}
<legend>
<h4>
{{ 'ClassroomSessionCenter' | get_plugin_lang('SepePlugin') }}:
<a href="specialty-classroom-edit.php?new_classroom=1&specialty_id={{ info.id }}&action_id={{ action_id }}" class="btn btn-sm btn-info pull-right">{{ 'CreateClassroomCenter' | get_plugin_lang('SepePlugin') }}</a>
</h4>
</legend>
<input type="hidden" id="confirmDeleteClassroom" value="{{ 'confirmDeleteClassroom'|get_plugin_lang('SepePlugin') }}" />
{% for classroom in listClassroom %}
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ClassroomCenter' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="campo_texto">{{ classroom.center_origin }} {{ classroom.center_code }}
<a href="#" class="btn btn-danger btn-sm pull-right sepe-margin-side delete-classroom" id="classroom{{ classroom.id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a>
<a href="specialty-classroom-edit.php?new_classroom=0&specialty_id={{ info.id }}&classroom_id={{ classroom.id }}&action_id={{ action_id }}" class="btn btn-warning btn-sm pull-right sepe-margin-side">{{ 'Edit' | get_plugin_lang('SepePlugin') }}</a>
</label>
</div>
</div>
{% endfor %}
{% endif %}
</div>
<div class="well">
{% if new_action == "1" %}
<legend><h4>{{ 'TrainingTutors' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="alert alert-warning">{{ 'TrainingTutorsMessage' | get_plugin_lang('SepePlugin') }}</div>
{% else %}
<legend>
<h4>
{{ 'TrainingTutors' | get_plugin_lang('SepePlugin') }}:
<a href="specialty-tutor-edit.php?new_tutor=1&specialty_id={{ info.id }}&action_id={{ action_id }}" class="btn btn-sm btn-info pull-right">{{ 'CreateTrainingTutor' | get_plugin_lang('SepePlugin') }}</a>
</h4>
</legend>
<input type="hidden" id="confirmDeleteTutor" value="{{ 'confirmDeleteTutor'|get_plugin_lang('SepePlugin') }}" />
{% for tutor in listTutors %}
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'TrainingTutor' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<label class="campo_texto">
{{ tutor.firstname }} {{ tutor.lastname }}
( {{ tutor.document_number }}-{{ tutor.document_letter }} )
<a href="#" class="btn btn-danger btn-sm pull-right sepe-margin-side delete-tutor" id="tutor{{ tutor.id }}">{{ 'Delete' | get_plugin_lang('SepePlugin') }}</a>
<a href="specialty-tutor-edit.php?new_tutor=0&specialty_id={{ info.id }}&tutor_id={{ tutor.id }}&action_id={{ action_id }}" class="btn btn-warning btn-sm pull-right sepe-margin-side">{{ 'Edit' | get_plugin_lang('SepePlugin') }}</a>
</label>
</div>
</div>
{% endfor %}
{% endif %}
</div>
<div class="well">
<legend><h4>{{ 'ContentUse' | get_plugin_lang('SepePlugin') | upper }}</h4></legend>
<div class="well">
<legend class="sepe-subfield2">{{ 'MorningSchedule' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="alert alert-info sepe-message-info">{{ 'MorningScheduleMessage' | get_plugin_lang('SepePlugin') }}</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ParticipantsNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="mornings_participants_number" value="{{ info.mornings_participants_number }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'AccessNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="mornings_access_number" value="{{ info.mornings_access_number }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'TotalDuration' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="morning_total_duration" value="{{ info.morning_total_duration }}"/>
</div>
</div>
</div>
<hr />
<div class="well">
<legend class="sepe-subfield2">{{ 'AfternoonSchedule' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="alert alert-info sepe-message-info">{{ 'AfternoonScheduleMessage' | get_plugin_lang('SepePlugin') }}</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ParticipantsNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="afternoon_participants_number" value="{{ info.afternoon_participants_number }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'AccessNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="afternoon_access_number" value="{{ info.afternoon_access_number }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'TotalDuration' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="afternoon_total_duration" value="{{ info.afternoon_total_duration }}"/>
</div>
</div>
</div>
<hr />
<div class="well">
<legend class="sepe-subfield2">{{ 'NightSchedule' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="alert alert-info sepe-message-info">{{ 'NightScheduleMessage' | get_plugin_lang('SepePlugin') }}</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ParticipantsNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="night_participants_number" value="{{ info.night_participants_number }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'AccessNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="night_access_number" value="{{ info.night_access_number }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'TotalDuration' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="night_total_duration" value="{{ info.night_total_duration }}"/>
</div>
</div>
</div>
<hr />
<div class="well">
<legend class="sepe-subfield2">{{ 'MonitoringAndEvaluation' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'ParticipantsNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="attendees_count" value="{{ info.attendees_count }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'LearningActivityCount' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="learning_activity_count" value="{{ info.learning_activity_count }}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'AttemptCount' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="attempt_count" value="{{ info.attempt_count }}"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{ 'EvaluationActivityCount' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="evaluation_activity_count" value="{{ info.evaluation_activity_count }}"/>
</div>
</div>
</div>
<hr />
</div>
</fieldset>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,94 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="specialty-classroom-edit.php" method="post" name="form_specialty_action">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_classroom == "1" %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="new_classroom" value="1" />
{% else %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="classroom_id" value="{{ classroom_id }}" />
<input type="hidden" name="new_classroom" value="0" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
{% if new_classroom == "1" %}
<div class="well_border">
<div class="form-group">
<label class="control-label col-sm-3">{{ 'UseExistingCenter' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select id="slt_centers_exists" class="chzn-select" style="width:100%" name="slt_centers_exists">
<option value="1" selected="selected">{{ 'UseExisting' | get_plugin_lang('SepePlugin') }}</option>
<option value="0">{{ 'CreateNewCenter' | get_plugin_lang('SepePlugin') }}</option>
</select>
</div>
</div>
</div>
<div class="well_border" id="centers-list-layer">
<fieldset>
<legend>{{ 'CenterList' | get_plugin_lang('SepePlugin') }}</legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Center' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="exists_center_id" class="chzn-select" style="width:100%">
<option value="" selected="selected"></option>
{% for center in listExistsCenters %}
<option value="{{ center.id }}">{{ center.center_origin }} {{ center.center_code }}</option>
{% endfor %}
</select>
</div>
</div>
</fieldset>
</div>
<div class="well_border" style="display:none" id="center-data-layer">
{% else %}
<div class="well_border" id="center-data-layer">
{% endif %}
<fieldset>
<legend>{{ 'ClassroomCenter' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="center_origin" value="{{ info.center_origin }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-3">
<input class="form-control" type="text" name="center_code" value="{{ info.center_code }}" />
</div>
</div>
</fieldset>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,285 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<script type='text/javascript'>
$(document).ready(function () {
$("input[type='submit']").click(function(e){
e.preventDefault();
e.stopPropagation();
if ( $("#slt_user_exists").val() == "1" ) {
if ($("select[name='existingTutor']").val()=="") {
alert("{{ 'SelectUserExistsMessage' | get_plugin_lang('SepePlugin') }}")
} else {
$("form").submit();
}
} else {
var document_type = $("select[name='document_type']").val();
var document_number = $("input[name='document_number']").val();
var document_letter = $("input[name='document_letter']").val();
var vplatform_user_id = $("select[name='platform_user_id']").val();
if ($.trim(document_type)=='' || $.trim(document_number)=='' || $.trim(document_letter)=='') {
alert("{{ 'RequiredTutorField' | get_plugin_lang('SepePlugin') }}");
} else {
if ($("input[name='new_tutor']" ).val()=="0") {
$.post("function.php", {tab:"checkTutorEdit", type:document_type, number:document_number, letter:document_letter, platform_user_id:vplatform_user_id},
function (data) {
if (data.status == "false") {
if (confirm(data.content)) {
$("form").submit();
}
} else {
$("form").submit();
}
}, "json");
} else {
$("form").submit();
}
}
}
});
});
</script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="specialty-tutor-edit.php" method="post" name="form_specialty_action">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_tutor == "1" %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="new_tutor" value="1" />
{% else %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="specialtyTutorId" value="{{ tutor_id }}" />
<input type="hidden" name="new_tutor" value="0" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
{% if new_tutor == "1" %}
<div class="well_border">
<div class="form-group">
<label class="control-label col-sm-3">{{ 'UseExistingTutor' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select id="slt_user_exists" class="form-control" name="slt_user_exists">
<option value="1" selected="selected">{{ 'UseExisting' | get_plugin_lang('SepePlugin') }}</option>
<option value="0">{{ 'CreateNewTutor' | get_plugin_lang('SepePlugin') }}</option>
</select>
</div>
</div>
</div>
<div class="well_border" id="tutors-list-layer">
<fieldset>
<legend>{{ 'TutorsList' | get_plugin_lang('SepePlugin') }}</legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Tutor' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="existingTutor" class="form-control">
<option value=""></option>
{% for tutor in ExistingTutorsList %}
<option value="{{ tutor.id }}">{{ tutor.data }}</option>
{% endfor %}
</select>
</div>
</div>
</fieldset>
</div>
<div class="well_border" style="display:none" id="tutor-data-layer">
{% else %}
<input type="hidden" name="slt_user_exists" value="0" />
<div class="well_border" id="tutor-data-layer">
{% endif %}
<fieldset>
<legend>{{ 'TutorTrainer' | get_plugin_lang('SepePlugin') }}</legend>
<div class="well">
<legend><h4>{{ 'TutorIdentifier' | get_plugin_lang('SepePlugin') | upper }}: </h4></legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentType' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="document_type" class="form-control">
<option value=""></option>
{% if info.document_type == "D" %}
<option value="D" selected="selected">{{ 'DocumentTypeD' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="D">{{ 'DocumentTypeD' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "E" %}
<option value="E" selected="selected">{{ 'DocumentTypeE' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="E">{{ 'DocumentTypeE' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "U" %}
<option value="U" selected="selected">{{ 'DocumentTypeU' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="U">{{ 'DocumentTypeU' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "G" %}
<option value="G" selected="selected">{{ 'DocumentTypeG' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="G">{{ 'DocumentTypeG' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "W" %}
<option value="W" selected="selected">{{ 'DocumentTypeW' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="W">{{ 'DocumentTypeW' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.document_type == "H" %}
<option value="H" selected="selected">{{ 'DocumentTypeH' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="H">{{ 'DocumentTypeH' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentNumber' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="text" name="document_number" value="{{ info.document_number }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'DocumentLetter' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-1">
<input class="form-control" type="text" name="document_letter" value="{{ info.document_letter }}" />
</div>
</div>
<div class="warning-message">
{{ 'DocumentFormatMessage' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'TutorAccreditation' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="tutor_accreditation" value="{{ info.tutor_accreditation }}" style="width:100%" />
<div class="alert alert-info sepe-message-info sepe-margin-top">{{ 'TutorAccreditationMessage' | get_plugin_lang('SepePlugin') }}</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ProfessionalExperience' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" class="sepe-numeric-field" type="number" name="professional_experience" value="{{ info.professional_experience }}" />
</div>
<div class="alert alert-info sepe-message-info col-sm-7">{{ 'ProfessionalExperienceMessage' | get_plugin_lang('SepePlugin') }}</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'TeachingCompetence' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="teaching_competence" class="form-control" >
<option value=""></option>
{% if info.teaching_competence == "01" %}
<option value="01" selected="selected">{{ 'TeachingCompetence01' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="01">{{ 'TeachingCompetence01' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.teaching_competence == "02" %}
<option value="02" selected="selected">{{ 'TeachingCompetence02' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="02">{{ 'TeachingCompetence02' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}{% if info.teaching_competence == "03" %}
<option value="03" selected="selected">{{ 'TeachingCompetence03' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="03">{{ 'TeachingCompetence03' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}{% if info.teaching_competence == "04" %}
<option value="04" selected="selected">{{ 'TeachingCompetence04' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="04">{{ 'TeachingCompetence04' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}{% if info.teaching_competence == "05" %}
<option value="05" selected="selected">{{ 'TeachingCompetence05' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="05">{{ 'TeachingCompetence05' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}{% if info.teaching_competence == "06" %}
<option value="06" selected="selected">{{ 'TeachingCompetence06' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="06">{{ 'TeachingCompetence06' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'ExperienceTeleforming' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-2">
<input class="form-control" type="number" name="experience_teleforming" value="{{ info.experience_teleforming }}" />
</div>
<div class="col-sm-7 alert alert-info sepe-message-info">{{ 'ExperienceTeleformingMessage' | get_plugin_lang('SepePlugin') }}</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'TrainingTeleforming' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="training_teleforming" class="form-control">
<option value=""></option>
{% if info.training_teleforming == "01" %}
<option value="01" selected="selected">{{ 'TrainingTeleforming01' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="01">{{ 'TrainingTeleforming01' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.training_teleforming == "02" %}
<option value="02" selected="selected">{{ 'TrainingTeleforming02' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="02">{{ 'TrainingTeleforming02' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.training_teleforming == "03" %}
<option value="03" selected="selected">{{ 'TrainingTeleforming03' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="03">{{ 'TrainingTeleforming03' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
{% if info.training_teleforming == "04" %}
<option value="04" selected="selected">{{ 'TrainingTeleforming04' | get_plugin_lang('SepePlugin') }}</option>
{% else %}
<option value="04">{{ 'TrainingTeleforming04' | get_plugin_lang('SepePlugin') }}</option>
{% endif %}
</select>
</div>
</div>
<div class="well sepe-subfield">
<legend class="sepe-subfield">{{ 'PlatformTeacher' | get_plugin_lang('SepePlugin') | upper }}: </legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'Teacher' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<select name="platform_user_id" class="form-control">
<option value="" selected="selected"></option>
{% for teacher in listTeachers %}
{% if info.platform_user_id == teacher.user_id %}
<option value="{{ teacher.id }}" selected="selected">{{ teacher.firstname }} {{ teacher.lastname }}</option>
{% else %}
<option value="{{ teacher.id }}">{{ teacher.firstname }} {{ teacher.lastname }}</option>
{% endif %}
{% endfor %}
</select>
</div>
</div>
</div>
</fieldset>
</div>
</form>
</div>

View File

@@ -0,0 +1,127 @@
<script type='text/javascript' src="../js/sepe.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
<div class="row">
<form class="form-horizontal" action="specialty-tutorial-edit.php" method="post" name="form_specialty_action">
<div class="col-md-3">
<div id="course_category_well" class="well">
<ul class="nav nav-list">
<li class="nav-header"><h3>{{ 'Actions' | get_plugin_lang('SepePlugin') }}:</h3></li>
<li>
{% if new_tutorial == "1" %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="new_tutorial" value="1" />
{% else %}
<input type="hidden" name="action_id" value="{{ action_id }}" />
<input type="hidden" name="specialty_id" value="{{ specialty_id }}" />
<input type="hidden" name="tutorial_id" value="{{ tutorial_id }}" />
<input type="hidden" name="new_tutorial" value="0" />
{% endif %}
<input type="hidden" name="sec_token" value="{{ sec_token }}" />
<input class="btn btn-primary sepe-btn-menu-side" type="submit" value="{{ 'SaveChanges' | get_plugin_lang('SepePlugin') }}" />
</li>
<li>
<input class="btn btn-warning sepe-btn-menu-side" type="reset" value="{{ 'Reset' | get_plugin_lang('SepePlugin') }}" />
</li>
</ul>
</div>
</div>
<div class="col-md-9">
{% if message_info != "" %}
<div class="alert alert-success">
{{ message_info }}
</div>
{% endif %}
{% if message_error != "" %}
<div class="alert alert-danger">
{{ message_error }}
</div>
{% endif %}
<div class="well_border">
<fieldset>
<legend>{{ 'ClassroomCenter' | get_plugin_lang('SepePlugin') | upper }}</legend>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="center_origin" value="{{ info.center_origin }}" />
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-sm-9">
<input class="form-control" type="text" name="center_code" value="{{ info.center_code }}" />
</div>
</div>
</fieldset>
<div class="form-group">
<label class="control-label col-lg-3">{{ 'StartDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_start == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_start" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_start == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info sepe-message-info col-lg-5">
{{ 'StartDateMessageTutorial' | get_plugin_lang('SepePlugin') }}
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{{ 'EndDate' | get_plugin_lang('SepePlugin') }}: </label>
<div class="col-lg-4">
<select name="day_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..31 %}
<option value="{{ i }}" {% if day_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="month_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in 1..12 %}
<option value="{{ i }}" {% if month_end == i %} selected="selected" {% endif %} >{{ "%02d"|format(i) }}</option>
{% endfor %}
</select>
/
<select name="year_end" class="form-control sepe-slt-date">
<option value=""></option>
{% for i in list_year %}
{% if year_end == i %}
<option value="{{ i }}" selected="selected">{{ i }}</option>
{% else %}
<option value="{{ i }}">{{ i }}</option>
{% endif %}
{% endfor %}
</select>
</div>
<div class="alert alert-info sepe-message-info col-lg-5">
{{ 'EndDateMessageTutorial' | get_plugin_lang('SepePlugin') }}
</div>
</div>
</div>
</div>
</form>
</div>