Commit bd8c98a7c4713ed90e9e168c83992baec4d6c70e
1 parent
c68d78470b
Exists in
master
mejorada la interfaz de la formalizacion de adscripcion
Showing
3 changed files
with
34 additions
and
10 deletions
Show diff stats
app/Resources/views/solicitudes/adscripcion.html.twig
| @@ -7,18 +7,39 @@ | @@ -7,18 +7,39 @@ | ||
| 7 | .esc_oposicion, .esc_asistente, .esc_agregado, .esc_asociado, .esc_titular{ | 7 | .esc_oposicion, .esc_asistente, .esc_agregado, .esc_asociado, .esc_titular{ |
| 8 | display: none; | 8 | display: none; |
| 9 | } | 9 | } |
| 10 | + | ||
| 11 | + h1, h4{ | ||
| 12 | + margin:0; | ||
| 13 | + } | ||
| 14 | + | ||
| 15 | + .container{ | ||
| 16 | + margin-bottom: 0; | ||
| 17 | + } | ||
| 10 | </style> | 18 | </style> |
| 11 | {% endblock %} | 19 | {% endblock %} |
| 12 | 20 | ||
| 13 | 21 | ||
| 14 | 22 | ||
| 15 | {% block body %} | 23 | {% block body %} |
| 16 | - <div class="account-container register"> | ||
| 17 | - <div class="content clearfix"> | ||
| 18 | - <h1>Solicitud Adscripción</h1> | 24 | + <div class="container"> |
| 25 | + <h4 class="alert alert-info"><i class="fa fa-info-circle"></i> | ||
| 26 | + Estimado (a) Docente | ||
| 27 | + <strong>{{app.user.idRolInstitucion.idRol.idPersona.primerNombre}} | ||
| 28 | + {{app.user.idRolInstitucion.idRol.idPersona.primerApellido}}</strong>, | ||
| 29 | + para poder gozar de los beneficios del sistema cea@ubv, primero debe | ||
| 30 | + formalizar su adscripción ante este centro de estudios, llenando los datos que a continuación | ||
| 31 | + se solicitan. Recuerde que debe tener a su alcance los digitales de los | ||
| 32 | + documentos descritos en el correo enviado. | ||
| 33 | + | ||
| 34 | + </h4> | ||
| 35 | + </div> | ||
| 36 | + <div class="account-container register"> | ||
| 37 | + <div class="content clearfix"> | ||
| 38 | + <h1>Formalización Adscripción</h1> | ||
| 19 | {% form_theme form 'bootstrap_3_layout.html.twig' %} | 39 | {% form_theme form 'bootstrap_3_layout.html.twig' %} |
| 20 | {{ form_start(form) }} | 40 | {{ form_start(form) }} |
| 21 | {{ form_widget(form) }} | 41 | {{ form_widget(form) }} |
| 42 | + {{ form_end(form) }} | ||
| 22 | </div> | 43 | </div> |
| 23 | 44 | ||
| 24 | </div> | 45 | </div> |
src/AppBundle/Form/UserType.php
| @@ -11,7 +11,6 @@ namespace AppBundle\Form; | @@ -11,7 +11,6 @@ namespace AppBundle\Form; | ||
| 11 | 11 | ||
| 12 | use Symfony\Component\Validator\Constraints\File; | 12 | use Symfony\Component\Validator\Constraints\File; |
| 13 | use Symfony\Component\Validator\Constraints\NotBlank; | 13 | use Symfony\Component\Validator\Constraints\NotBlank; |
| 14 | -use Symfony\Component\Validator\Constraints\FileValidator; | ||
| 15 | 14 | ||
| 16 | use Symfony\Component\Form\AbstractType; | 15 | use Symfony\Component\Form\AbstractType; |
| 17 | use Symfony\Component\Form\FormBuilderInterface; | 16 | use Symfony\Component\Form\FormBuilderInterface; |
| @@ -331,7 +330,10 @@ class UserType extends AbstractType | @@ -331,7 +330,10 @@ class UserType extends AbstractType | ||
| 331 | )) | 330 | )) |
| 332 | 331 | ||
| 333 | 332 | ||
| 334 | - ->add('send', SubmitType::class, array('label' => 'Enviar Solicitud')) | 333 | + ->add('send', SubmitType::class, array( |
| 334 | + 'label' => 'Formalizar Adscripción ante el CEA', | ||
| 335 | + 'attr' => array('class' => 'btn btn-success btn-block') | ||
| 336 | + )) | ||
| 335 | 337 | ||
| 336 | 338 | ||
| 337 | ; | 339 | ; |
web/assets/vendor/AppBundle/main.css
| 1 | body{ | 1 | body{ |
| 2 | background: url('../../../bundles/framework/images/portal/body-bg.png'); | 2 | background: url('../../../bundles/framework/images/portal/body-bg.png'); |
| 3 | - color:#838383; | 3 | + color:black; |
| 4 | font: 13px/1.7em 'Open Sans'; | 4 | font: 13px/1.7em 'Open Sans'; |
| 5 | } | 5 | } |
| 6 | 6 | ||
| @@ -17,10 +17,11 @@ body{ | @@ -17,10 +17,11 @@ body{ | ||
| 17 | .account-container { | 17 | .account-container { |
| 18 | width: 500px; | 18 | width: 500px; |
| 19 | display: block; | 19 | display: block; |
| 20 | - margin: 30px auto 0 auto; | ||
| 21 | - background: #f9f9f9; | 20 | + margin: 10px auto 0 auto; |
| 21 | + background:#fff; | ||
| 22 | 22 | ||
| 23 | - border: 1px solid #d5d5d5; | 23 | + border: 1px solid; |
| 24 | + border-color:#CCC; | ||
| 24 | 25 | ||
| 25 | -webkit-border-radius: 5px; | 26 | -webkit-border-radius: 5px; |
| 26 | -moz-border-radius: 5px; | 27 | -moz-border-radius: 5px; |
| @@ -41,7 +42,7 @@ body{ | @@ -41,7 +42,7 @@ body{ | ||
| 41 | .register input{ | 42 | .register input{ |
| 42 | font-family: 'Open Sans'; | 43 | font-family: 'Open Sans'; |
| 43 | font-size: 13px; | 44 | font-size: 13px; |
| 44 | - color: #8e8d8d; | 45 | + color: black; |
| 45 | 46 | ||
| 46 | 47 | ||
| 47 | } | 48 | } |