base.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <!DOCTYPE html>
  2. <!--
  3. Este archivo es parte del Gestor de nodos para LaOtraRed La Paz - El Alto
  4. Copyright (C) 2017 Rodrigo Garcia
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU Affero General Public License as
  7. published by the Free Software Foundation, either version 3 of the
  8. License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU Affero General Public License for more details.
  13. You should have received a copy of the GNU Affero General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <html lang="es">
  17. <head>
  18. <meta charset="utf-8">
  19. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  20. <meta name="viewport" content="width=device-width, initial-scale=1">
  21. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  22. <meta name="description" content="">
  23. <meta name="author" content="">
  24. <link rel="icon" href="../static/imgs/favicon.png">
  25. <title>Gestor de Nodos "LaOtraRed" La Paz,El Alto</title>
  26. <!-- Bootstrap core CSS -->
  27. <link href="/static/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  28. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  29. <link href="/static/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
  30. <!-- Custom styles for this template -->
  31. <link href="/static/justified-nav.css" rel="stylesheet">
  32. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  33. <!--[if lt IE 9]>
  34. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  35. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  36. <![endif]-->
  37. </head>
  38. <body>
  39. <div class="container">
  40. <!-- The justified navigation menu is meant for single line per list item.
  41. Multiple lines will require custom code not provided by Bootstrap. -->
  42. <div class="masthead">
  43. <img src="/static/imgs/laotrared_header.png">
  44. <h5 class="text-muted">Gestor de nodos <b>"LaOtraRed"</b> La Paz - El Alto </h5>
  45. {% if nodo is defined and nodo != None %}
  46. <div align="right">
  47. <b><a href="/nodos/{{ nodo }} ">Ver mi NODO</a></b>
  48. (<a href="/logout">cerrar sesión</a>)
  49. </div>
  50. {% endif %}
  51. <nav>
  52. <ul class="nav nav-justified">
  53. <li
  54. {% if p_actual == "inicio" %}
  55. class="active"
  56. {% endif %}
  57. ><a href="/">Inicio </a></li>
  58. <li
  59. {% if p_actual == "agregar" %}
  60. class="active"
  61. {% endif %}
  62. ><a href="/agregar">Agregar NODO</a></li>
  63. <li
  64. {% if p_actual == "nodos" %}
  65. class="active"
  66. {% endif %}
  67. ><a href="/nodos">NODOS</a></li>
  68. <li
  69. {% if p_actual == "mapa" %}
  70. class="active"
  71. {% endif %}
  72. ><a href="#">MAPA</a></li>
  73. <li><a href="https://noticias.lapaz.laotrared.net">Noticias</a></li>
  74. <li
  75. {% if p_actual == "acerca de" %}
  76. class="active"
  77. {% endif %}
  78. ><a href="acerca_de">acerca de</a></li>
  79. </ul>
  80. </nav>
  81. </div>
  82. <!-- Contenido -->
  83. {% block content %}
  84. {% endblock %}
  85. <!-- --------- -->
  86. <!-- Site footer -->
  87. <footer class="footer">
  88. <hr>
  89. &copy; 2017 LaOtraRed La Paz, El Alto
  90. <div align="right">
  91. <small>
  92. desarrollado con:
  93. <a href="http://flask.pocoo.org/" title="flask">
  94. <img src="/static/imgs/flask-logo.png" heigth="27" width="98"></a>
  95. |
  96. <a href="http://getbootstrap.com" title="bootstrap">
  97. <img src="/static/assets/brand/bootstrap-solid.jpg" width="19" heigth="19">
  98. </a>
  99. </small>
  100. </div>
  101. </footer>
  102. </div> <!-- /container -->
  103. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  104. <script src="/static/assets/js/ie10-viewport-bug-workaround.js"></script>
  105. </body>
  106. </html>