- include 'html5doctype.html' - load sass_tags - load static - load i18n %html %head %meta(charset="utf-8")/ %title - block 'title' FurmeetApp Bot %link{'href': "{% static 'favicon.png' %}", 'rel': 'shortcut icon', 'type': "image/png"} %link{'href': "{% sass_src 'dashboard.sass' %}", 'rel': "stylesheet", 'type': "text/css"} %link{'href': "{% static 'font-awesome-4.7.0/css/font-awesome.min.css' %}", 'rel': 'stylesheet', 'type': "text/css"} %body %aside %header %a{'href': "{% url 'home' %}"} %span FurmeetApp's %span Chat Bot %main %h3< Site navigation %ul %li{'class': "{% if request.resolver_match.url_name == 'home' %}active{% endif %}"}< %a{'href': "{% url 'home' %}"}< %i.fa.fa-home(aria-hidden="true")> %span>= ' ' Home %li{'class': "{% if request.resolver_match.url_name == 'terms' %}active{% endif %}"}< %a{'href': "{% url 'terms' %}"}< %i.fa.fa-legal(aria-hidden="true")> %span>= ' ' Terms of Service %li{'class': "{% if request.resolver_match.url_name == 'privacy' %}active{% endif %}"}< %a{'href': "{% url 'privacy' %}"}< %i.fa.fa-home(aria-hidden="true")> %span>= ' ' Privacy Policy %footer %span © 2020 All rights reserved %section %header - block 'header' %h2 - block 'headerText' Header .floatRight.marginTop1em5Negative - if settings.BOT_NAME - if tg_user %span< %span>= tg_user.name ( %span>= tg_user.tg_id ) %a.btn.btn-danger(href="") Log out - else %a.btn.btn-success(href="https://t.me/#{settings.BOT_NAME}/start=true") Log in %a.btn.btn-info(href="https://t.me/#{settings.BOT_NAME}/startgroup=true") Invite to group - else %span.btn.btn-warn Problem: BOT_NAME is unset %main - block 'content' content %footer - block 'footer' This service would not possible as is without: %ul %li< %a(href="https://telegram.org/")>Telegram , an instant message app by Telegram LLC %li< %a(href="https://cas.chat/")>Combot Anti-Spam System , a blacklist for known Telegram spammers that requires an active link and a "Powered by CAS" in bot's description %li< %a(href="https://github.com/buildbot/guanlecoja")>Guanlecoja , a template that inspired this one you're seeing %li< %a(href="https://github.com/angular/components/blob/master/src/material/core/theming/_palette.scss")>Angular's Material Palette , a color palette with great-looking colors %li< %a(href="https://fontawesome.com/v4.7.0/")>FontAwesome , a free pictographic language of web-related actions. %li< %a(href="{% url 'python_licenses' %}")>These other Python projects , which are powers this web application