klintorg_site/__init__.py
2021-10-23 18:33:40 +03:00

23 lines
1.6 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from flask import Flask, render_template
app = Flask(__name__, static_folder='static', static_url_path='')
menu = [{"name": "ЭЦП + Отчетность", "url": "astral", "active": "active"},
{"name": "Программы 1С", "url": "1c", "active": "disabled"},
{"name": "Онлайн-кассы", "url": "atol", "active": "disabled"}]
product_astral = [{"name": "Для регистрации ККТ", "description": "Для регистрации ККТ на сайте налоговой инспекции и для государственных порталов", "price": "от 900", "img": "images/ofd.png", "alt": "Регистрация ККТ в Клину"},
{"name": "Для ЕГАИС", "description": "Квалифицированная ЭП для работы на портале ЕГАИС", "price": "от 2 000", "img": "images/egais.png", "alt": "ЭЦП для ЕГАИС в Клину"},
{"name": "Для отчетности", "description": "Квалифицированная ЭП для сдачи отчетности", "price": "от 1 800", "img": "images/otchet.png", "alt": "ЭЦП сдача отчетности в Клину"},
{"name": "Для торгов", "description": "Для участия в электронных торгах", "price": "от 5000", "img": "images/torgi.png", "alt": "ЭЦП для торгов в клину"}]
@app.route("/astral")
@app.route("/")
def astral_page():
return render_template("new_layout.html", menu=menu, product=product_astral, title="ЭЦП в Клину")
if __name__ == '__main__':
app.run(debug=False)