Skip to content

Instantly share code, notes, and snippets.

View ArnoldoRicardo's full-sized avatar

Arnoldo Ricardo L.F. ArnoldoRicardo

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
map = [[" ", " ", " "], [" ", " ", " "], [" ", " ", " "]]
def si(preg):
from string import lower
resp = lower(raw_input(preg))
return (resp[0] == 's')
<ul class="nav navbar-nav">
{% url 'cursos' as url %}
<li {% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">cursos</a></li>
{% url 'estadisticas' as url %}
<li {% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">estadisticas</a></li>
{% url 'administrativos' as url %}
<li {% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">administrativos</a></li>
</ul>