- Timestamp:
- Jun 2, 2015, 12:42:44 PM (9 years ago)
- Branches:
- master
- Children:
- acaecfe
- Parents:
- 061939f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
templates/base.html
red76b2c rf2802a4 11 11 </div> 12 12 </div> 13 <!-- contenedor para el menú de la aplicación -->14 <!--<div class="container-fluid bg_sections">15 <div class="row">16 <div class="col-md-2">17 <img src="{% static 'images/logompv.png' %}" class="img-responsive" width="70%">18 </div>19 <div class="col-md-10">20 21 <h2>Simulador Integral de Cadena Productivas</h2>22 23 </div>24 </div>25 </div>-->26 13 {% include 'base_menu.html' %} 27 14 … … 37 24 {% endblock %} 38 25 </div> 39 <!--<div class="container-fluid bg_sections"> 40 <div class="text-center">Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) - Copyleft 2015</div> 41 </div>--> 42 <div class="footer navbar-fixed-bottom"> 43 <div class="container text-center"> 44 <p class="text-muted" style="color:#FFFFFF"> 45 Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL) - GPL v2.0 - Copyleft 2015 - {% now "Y" %}. 46 </p> 47 </div> 48 </div> 49 {% for message in messages %} 50 {% if message %} 51 <script type="text/javascript"> 52 bootbox.dialog({ 53 message: "{{ message }}", 54 title: "{% trans 'Aviso' %}", 55 buttons: { 56 success: { 57 label: "{% trans 'Cerrar' %}", 58 className: "btn-success", 59 callback: function() { 60 61 } 62 } 63 } 64 }); 65 </script> 66 {% endif %} 67 {% endfor %} 68 <script type="text/javascript"> 69 /** 70 * @brief Función que actualiza la imagen captcha del formulario 71 * 72 * @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 73 * @copyright GNU/GPLv2 74 * @date 14-05-2015 75 * @return Retorna falso en caso de no obtener respuesta del servidor, en caso contrario, muestra la nueva imagen captcha 76 */ 77 $('.js-captcha-refresh').click(function(){ 78 $form = $(this).parents('form'); 79 var url = location.protocol + "//" + window.location.hostname + ":" + location.port + "/captcha/refresh/"; 80 81 $.getJSON(url, {}, function(json) { 82 $form.find('input[name="captcha_0"]').val(json.key); 83 $form.find('img.captcha').attr('src', json.image_url); 84 }); 85 86 return false; 87 }); 88 </script> 26 {% include 'base_footer.html' %} 27 {% block extra_footer %}{% endblock %} 89 28 </body> 90 29 </html>
Note: See TracChangeset
for help on using the changeset viewer.