Commit 7da7a08af2fc0e7a423801849af79ecd0cae14c2
1 parent
2a5d9ff833
Exists in
master
añadido ingresar a la aplicación si el usuario quedó logueado, mejorada la inter…
…faz del menu con alineación a la izquierda y derecha
Showing
1 changed file
with
11 additions
and
7 deletions
Show diff stats
app/Resources/views/portal/index.html.twig
| ... | ... | @@ -15,9 +15,9 @@ |
| 15 | 15 | <!-- Nav Menu Section --> |
| 16 | 16 | <div class="logo-menu"> |
| 17 | 17 | <nav class="navbar navbar-default navbar-fixed-top" role="navigation" data-spy="affix" data-offset-top="50"> |
| 18 | - <div class="container"> | |
| 18 | + <div class="container-fluid"> | |
| 19 | 19 | <!-- Brand and toggle get grouped for better mobile display --> |
| 20 | - <div class="navbar-header col-md-3"> | |
| 20 | + <div class="navbar-header"> | |
| 21 | 21 | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| 22 | 22 | <span class="sr-only">Toggle navigation</span> |
| 23 | 23 | <span class="icon-bar"></span> |
| ... | ... | @@ -28,14 +28,18 @@ |
| 28 | 28 | </div> |
| 29 | 29 | |
| 30 | 30 | <div class="collapse navbar-collapse" id="navbar"> |
| 31 | - <ul class="nav navbar-nav col-md-9 pull-right"> | |
| 31 | + <ul class="nav navbar-nav "> | |
| 32 | 32 | <li class="active"><a data-scroll href="#area-principal"><i class="fa fa-home"></i> Inicio</a></li> |
| 33 | 33 | <li><a data-scroll href="#servicios"><i class="fa fa-cogs"></i> Servicios</a></li> |
| 34 | - <li><a data-scroll href="#actividades"><i class="fa fa-flask"></i> Foto</a></li> | |
| 35 | - <li><a data-scroll href="#descarga"><i class="fa fa-puzzle-piece"></i> Descargas</a></li> | |
| 36 | - <li><a data-scroll href="#about"><i class="fa fa-info"></i> El CEA</a></li> | |
| 37 | - <li><a data-scroll href="#adscripcion"><i class="fa fa-envelope"></i> Adscripción</a></li> | |
| 34 | + <li><a data-scroll href="#actividades"><i class="fa fa-photo"></i> Foto</a></li> | |
| 35 | + <li><a data-scroll href="#descarga"><i class="fa fa-download"></i> Descargas</a></li> | |
| 36 | + <li><a data-scroll href="#about"><i class="fa fa-leaf"></i> El CEA</a></li> | |
| 37 | + <li><a data-scroll href="#adscripcion"><i class="fa fa-list-ul"></i> Adscripción</a></li> | |
| 38 | + </ul> | |
| 39 | + <ul class="nav navbar-nav pull-right"> | |
| 38 | 40 | {% if app.user %} |
| 41 | + <li><a href="#"> Bienvenido ¡{{ app.user.username }}!</a></li> | |
| 42 | + <li><a href="{{ path('cea_index') }}"><i class="fa fa-leaf"></i> ingresar a CEA@UBV</a></li> | |
| 39 | 43 | <li><a href="{{ path('logout') }}"><i class="fa fa-close"></i> logout</a></li> |
| 40 | 44 | {% else %} |
| 41 | 45 | <li><a href="{{ path('login') }}"><i class="fa fa-user"></i> Ingresar</a></li> | ... | ... |