|
1 | 1 | {% load static %} |
2 | 2 | <!DOCTYPE html> |
3 | | -<html lang="pt-br" data-wf-page="5f11fb784cf649f4dd0aa7ab" data-wf-site="5f07a1c9ac6e0b5937b108a7"> |
| 3 | +<html lang="pt-br" data-wf-page="5f11fb784cf649f4dd0aa7ab" data-wf-site="5f07a1c9ac6e0b5937b108a7"> |
4 | 4 | <head> |
5 | 5 | <meta charset="UTF-8"> |
6 | | - <title>{% block title %}Python Pro: Curso da linguagem de programação Python, Presencial Online, do Básico ao Avançado!{% endblock %}</title> |
7 | | - |
8 | | - <meta name="description" content="{% block description %}{% endblock %}" /> |
| 6 | + <title>{% block title %}Python Pro: Curso da linguagem de programação Python, Presencial Online, do Básico ao |
| 7 | + Avançado!{% endblock %}</title> |
| 8 | + |
| 9 | + <meta name="description" content="{% block description %}{% endblock %}"/> |
9 | 10 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> |
10 | | - |
11 | | - <link rel="icon" type="image/png" href="{% static 'img/favicon.png' %}" /> |
| 11 | + |
| 12 | + <link rel="icon" type="image/png" href="{% static 'img/favicon.png' %}"/> |
12 | 13 |
|
13 | 14 | {% block scripts %} |
14 | 15 | {% include 'core/_scripts.html' %} |
|
17 | 18 | {% endblock %} |
18 | 19 |
|
19 | 20 | {% block styles %} |
20 | | - <link rel="stylesheet" href="{% static 'css/custom.css' %}"/> |
21 | | - <link rel="stylesheet" href="{% static 'css/default.css' %}"/> |
22 | | - <link href='//fonts.googleapis.com/css?family=Ubuntu:400,500' rel='stylesheet' type='text/css'/> |
| 21 | + <link rel="stylesheet" href="{% static 'css/custom.css' %}"/> |
| 22 | + <link rel="stylesheet" href="{% static 'css/default.css' %}"/> |
| 23 | + <link href='//fonts.googleapis.com/css?family=Ubuntu:400,500' rel='stylesheet' type='text/css'/> |
23 | 24 | {% endblock %} |
24 | 25 |
|
25 | 26 | {% block head %}{% endblock %} |
26 | 27 | </head> |
27 | 28 | <body class="{% block body_class %}{% endblock %}"> |
28 | 29 | {# Google Tag Manager (noscript)#} |
29 | | -<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{GOOGLE_TAG_MANAGER_ID}}" |
30 | | -height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> |
| 30 | +<noscript> |
| 31 | + <iframe src="https://www.googletagmanager.com/ns.html?id={{ GOOGLE_TAG_MANAGER_ID }}" |
| 32 | + height="0" width="0" style="display:none;visibility:hidden"></iframe> |
| 33 | +</noscript> |
31 | 34 | {# End Google Tag Manager (noscript)#} |
32 | 35 | {% block navbar %} |
33 | | -<nav class="navbar navbar-dark bg-dark navbar-expand-md"> |
34 | | - <a class="navbar-brand" href="/">Python Pro</a> |
35 | | - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" |
36 | | - aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
37 | | - <span class="navbar-toggler-icon"></span> |
38 | | - </button> |
| 36 | + <nav class="navbar navbar-dark bg-dark navbar-expand-md"> |
| 37 | + <a class="navbar-brand" href="/">Python Pro</a> |
| 38 | + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" |
| 39 | + aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
| 40 | + <span class="navbar-toggler-icon"></span> |
| 41 | + </button> |
39 | 42 |
|
40 | | - <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
41 | | - <ul class="navbar-nav mr-auto"> |
42 | | - {% if user.is_authenticated %} |
43 | | - <li class="nav-item dropdown"> |
44 | | - <a class="nav-link dropdown-toggle" href="#" id="navbarCohorts" role="button" data-toggle="dropdown" |
45 | | - aria-haspopup="true" aria-expanded="false"> |
46 | | - Turmas |
47 | | - </a> |
48 | | - <div class="dropdown-menu bg-dark border-light" aria-labelledby="navbarCohorts"> |
49 | | - {% for cohort in ALL_COHORTS %} |
50 | | - <a class="dropdown-item text-light" |
51 | | - href="{{ cohort.get_absolute_url }}">{{ cohort.title }}</a> |
52 | | - {% if not forloop.last %} |
53 | | - <div class="dropdown-divider"></div> |
54 | | - {% endif %} |
55 | | - {% endfor %} |
56 | | - </div> |
57 | | - </li> |
58 | | - <li class="nav-item dropdown"> |
59 | | - <a class="nav-link dropdown-toggle" href="#" id="navbarCourses" role="button" data-toggle="dropdown" |
60 | | - aria-haspopup="true" aria-expanded="false"> |
61 | | - Módulos |
62 | | - </a> |
63 | | - <div class="dropdown-menu bg-dark border-light" aria-labelledby="navbarCourses"> |
64 | | - {% for module in ALL_MODULES %} |
65 | | - <a class="dropdown-item text-light" |
66 | | - href="{{ module.get_absolute_url }}">{{ module.title }}</a> |
67 | | - {% if not forloop.last %} |
68 | | - <div class="dropdown-divider"></div> |
69 | | - {% endif %} |
70 | | - {% endfor %} |
71 | | - </div> |
72 | | - </li> |
73 | | - <li class="nav-item"> |
74 | | - <a class="nav-link" href="{% url 'cohorts:webinars' %}">Webinários</a> |
75 | | - </li> |
| 43 | + <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
| 44 | + <ul class="navbar-nav mr-auto"> |
| 45 | + {% if user.is_authenticated %} |
| 46 | + <li class="nav-item dropdown"> |
| 47 | + <a class="nav-link dropdown-toggle" href="#" id="navbarCohorts" role="button" |
| 48 | + data-toggle="dropdown" |
| 49 | + aria-haspopup="true" aria-expanded="false"> |
| 50 | + Turmas |
| 51 | + </a> |
| 52 | + <div class="dropdown-menu bg-dark border-light" aria-labelledby="navbarCohorts"> |
| 53 | + {% for cohort in ALL_COHORTS %} |
| 54 | + <a class="dropdown-item text-light" |
| 55 | + href="{{ cohort.get_absolute_url }}">{{ cohort.title }}</a> |
| 56 | + {% if not forloop.last %} |
| 57 | + <div class="dropdown-divider"></div> |
| 58 | + {% endif %} |
| 59 | + {% endfor %} |
| 60 | + </div> |
| 61 | + </li> |
| 62 | + <li class="nav-item"> |
| 63 | + <a class="nav-link" href="{% url 'modules:index' %}">Cursos</a> |
| 64 | + </li> |
| 65 | + <li class="nav-item"> |
| 66 | + <a class="nav-link" href="{% url 'cohorts:webinars' %}">Webinários</a> |
| 67 | + </li> |
76 | 68 |
|
77 | | - {% else %} |
| 69 | + {% else %} |
| 70 | + <li class="nav-item"> |
| 71 | + <a class="nav-link" href="{% url 'modules:index' %}">Cursos</a> |
| 72 | + </li> |
| 73 | + {% endif %} |
| 74 | + {% if user.is_authenticated and DISCOURSE_BASE_URL %} |
| 75 | + <li class="nav-item"> |
| 76 | + <a class="nav-link" href="{{ DISCOURSE_BASE_URL }}">Fórum</a> |
| 77 | + </li> |
| 78 | + {% endif %} |
78 | 79 | <li class="nav-item"> |
79 | | - <a class="nav-link" href="{% url 'modules:index' %}">Cursos</a> |
| 80 | + <a class="nav-link" href="{% url 'core:tech_talks' %}">Tech Talks</a> |
80 | 81 | </li> |
81 | | - {% endif %} |
82 | | - {% if user.is_authenticated and DISCOURSE_BASE_URL %} |
83 | 82 | <li class="nav-item"> |
84 | | - <a class="nav-link" href="{{ DISCOURSE_BASE_URL }}">Fórum</a> |
| 83 | + <a class="nav-link" href="{% url 'core:podcast' %}">Podcast</a> |
85 | 84 | </li> |
86 | | - {% endif %} |
87 | | - <li class="nav-item"> |
88 | | - <a class="nav-link" href="{% url 'core:tech_talks' %}">Tech Talks</a> |
89 | | - </li> |
90 | | - <li class="nav-item"> |
91 | | - <a class="nav-link" href="{% url 'core:podcast' %}">Podcast</a> |
92 | | - </li> |
93 | | - </ul> |
94 | | - {% if user.is_authenticated %} |
95 | | - <ul class="navbar-nav "> |
96 | | - <li class="nav-item dropdown"> |
| 85 | + </ul> |
| 86 | + {% if user.is_authenticated %} |
| 87 | + <ul class="navbar-nav "> |
| 88 | + <li class="nav-item dropdown"> |
97 | 89 |
|
98 | | - <a class="nav-link dropdown-toggle" href="#" id="navbarCourses" role="button" data-toggle="dropdown" |
99 | | - aria-haspopup="true" aria-expanded="false"> |
100 | | - {{ user.first_name }} |
101 | | - </a> |
102 | | - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton"> |
103 | | - <a class="dropdown-item" href="{% url 'dashboard:home' %}">Dashboard</a> |
104 | | - <a class="dropdown-item" href="{% url 'core:profile' %}">Perfil</a> |
105 | | - <div class="dropdown-divider"></div> |
106 | | - <div class="dropdown-item"> |
107 | | - <a class="btn btn-danger" href="{% url 'logout' %}">Sair</a> |
| 90 | + <a class="nav-link dropdown-toggle" href="#" id="navbarCourses" role="button" |
| 91 | + data-toggle="dropdown" |
| 92 | + aria-haspopup="true" aria-expanded="false"> |
| 93 | + {{ user.first_name }} |
| 94 | + </a> |
| 95 | + <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton"> |
| 96 | + <a class="dropdown-item" href="{% url 'dashboard:home' %}">Dashboard</a> |
| 97 | + <a class="dropdown-item" href="{% url 'core:profile' %}">Perfil</a> |
| 98 | + <div class="dropdown-divider"></div> |
| 99 | + <div class="dropdown-item"> |
| 100 | + <a class="btn btn-danger" href="{% url 'logout' %}">Sair</a> |
| 101 | + </div> |
108 | 102 | </div> |
109 | | - </div> |
110 | | - </li> |
111 | | - </ul> |
112 | | - {% else %} |
113 | | - <a class="btn btn-light my-2 my-sm-0" |
114 | | - href="{% url 'two_factor:login' %}?next={% url 'dashboard:home' %}">Entrar</a> |
115 | | - {% endif %} |
116 | | - </div> |
117 | | -</nav> |
| 103 | + </li> |
| 104 | + </ul> |
| 105 | + {% else %} |
| 106 | + <a class="btn btn-light my-2 my-sm-0" |
| 107 | + href="{% url 'two_factor:login' %}?next={% url 'dashboard:home' %}">Entrar</a> |
| 108 | + {% endif %} |
| 109 | + </div> |
| 110 | + </nav> |
118 | 111 | {% endblock navbar %} |
119 | 112 | {% block body %}{% endblock body %} |
120 | 113 |
|
121 | 114 | {% block footer %} |
122 | | -<footer class="main-footer text-light"> |
123 | | - <div class="container"> |
124 | | - <div class="row"> |
125 | | - <div class="col"> |
126 | | - <h3 class="mt-3">Entre em contato</h3> |
127 | | - <address class="main-address"> |
128 | | - +55 84 99464-4699<br/> |
129 | | - {{ DEFAULT_FROM_EMAIL }} |
130 | | - </address> |
131 | | - </div> |
132 | | - </div> |
133 | | - </div> |
134 | | - <div class="rights pt-1"> |
| 115 | + <footer class="main-footer text-light"> |
135 | 116 | <div class="container"> |
136 | 117 | <div class="row"> |
137 | 118 | <div class="col"> |
138 | | - <p>Python Pro © {% now "Y" %}. Todos os direitos reservados. CNPJ: 31.080.715/0001-25</p> |
| 119 | + <h3 class="mt-3">Entre em contato</h3> |
| 120 | + <address class="main-address"> |
| 121 | + +55 84 99464-4699<br/> |
| 122 | + {{ DEFAULT_FROM_EMAIL }} |
| 123 | + </address> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | + </div> |
| 127 | + <div class="rights pt-1"> |
| 128 | + <div class="container"> |
| 129 | + <div class="row"> |
| 130 | + <div class="col"> |
| 131 | + <p>Python Pro © {% now "Y" %}. Todos os direitos reservados. CNPJ: 31.080.715/0001-25</p> |
| 132 | + </div> |
139 | 133 | </div> |
140 | 134 | </div> |
141 | 135 | </div> |
142 | | - </div> |
143 | | -</footer> |
| 136 | + </footer> |
144 | 137 | {% endblock footer %} |
145 | 138 |
|
146 | 139 | {% block bottom_scripts %}{% endblock %} |
|
0 commit comments