ascenso.html.twig
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{% extends 'base_app.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<style>
.esc_oposicion, .esc_asistente, .esc_agregado, .esc_asociado, .esc_titular{
display: none;
}
h1, h4{
margin:0;
}
.container{
margin-bottom: 0;
}
</style>
{% endblock %}
{% block body %}
<div class="container">
<h4 class="alert alert-info"><i class="fa fa-info-circle"></i>
Estimado (a) Docente
<strong>{{app.user.idRolInstitucion.idRol.idPersona.primerNombre}}
{{app.user.idRolInstitucion.idRol.idPersona.primerApellido}}</strong>,
En este apartado usted podrá solicitar el ascenso al siguiente escalafón.
<ul>
<li>Escalafón Actual: {{ ultima_escala.idEscala.nombre }}</li>
<li>Escalafón Solicitud: {{ nueva_escala.nombre }}</li>
</ul>
</h4>
</div>
<div class="account-container register">
<div class="content clearfix">
<h1>Solicitud de Ascenso</h1>
{% form_theme form 'bootstrap_3_layout.html.twig' %}
{{ form_start(form) }}
{{ form_widget(form) }}
{{ form_end(form) }}
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type="text/javascript">
$('#ascenso_tipoTrabajoInvestigacion').click(function() {
$('.esc_oposicion')[this.checked ? "show" : "hide"]();
});
</script>
{% endblock %}