diff --git a/.gitignore b/.gitignore index b6e4761..496ee2c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,129 +1 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.nox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -*.py,cover -.hypothesis/ -.pytest_cache/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py -db.sqlite3 -db.sqlite3-journal - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# IPython -profile_default/ -ipython_config.py - -# pyenv -.python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# PEP 582; used by e.g. github.com/David-OConnor/pyflow -__pypackages__/ - -# Celery stuff -celerybeat-schedule -celerybeat.pid - -# SageMath parsed files -*.sage.py - -# Environments -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/ +.DS_Store \ No newline at end of file diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..06af607 --- /dev/null +++ b/__init__.py @@ -0,0 +1,25 @@ +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 hello(): + return render_template("new_layout.html", menu=menu, product=product_astral, title="ЭЦП в Клину") + +@app.route("/sitemap") +def sitemap(): + return render_template("4956392_4.xml") + + +if __name__ == '__main__': + app.run(debug=True) diff --git a/app.py b/app.py new file mode 100644 index 0000000..f9aa51b --- /dev/null +++ b/app.py @@ -0,0 +1,7 @@ +from flask import Flask +app = Flask(__name__) +@app.route("/") +def hello(): + return "Hello, I love Digital Ocean!" +if __name__ == "__main__": + app.run() diff --git a/static/4956392_4.xml b/static/4956392_4.xml new file mode 100644 index 0000000..3cb1015 --- /dev/null +++ b/static/4956392_4.xml @@ -0,0 +1,14 @@ + + + + + https://klintorg.ru/ + 2021-10-22T08:46:54+01:00 + 1.0 + + + https://klintorg.ru/astral + 2021-10-22T08:46:54+01:00 + 1.0 + + \ No newline at end of file diff --git a/static/css/carousel.css b/static/css/carousel.css new file mode 100644 index 0000000..44a109f --- /dev/null +++ b/static/css/carousel.css @@ -0,0 +1,93 @@ +/* GLOBAL STYLES +-------------------------------------------------- */ +/* Padding below the footer and lighter body text */ + +/* body { */ +/* padding-top: 3rem; */ +/* padding-bottom: 3rem; */ +/* color: #5a5a5a; */ +/* } */ + + +/* CUSTOMIZE THE CAROUSEL +-------------------------------------------------- */ + +/* Carousel base class */ +/* .carousel { */ +/* margin-bottom: 4rem; */ +/* } */ +/* /\* Since positioning the image, we need to help out the caption *\/ */ +/* .carousel-caption { */ +/* bottom: 3rem; */ +/* z-index: 10; */ +/* } */ + +/* Declare heights because of positioning of img element */ +.carousel-item { + height: 32rem; +} +.carousel-item > img { + position: absolute; + top: 0; + left: 0; + min-width: 100%; + height: 32rem; +} + + +/* MARKETING CONTENT +-------------------------------------------------- */ + +/* Center align the text within the three columns below the carousel */ +/* .marketing .col-lg-4 { */ +/* margin-bottom: 1.5rem; */ +/* text-align: center; */ +/* } */ +/* .marketing h2 { */ +/* font-weight: 400; */ +/* } */ +/* /\* rtl:begin:ignore *\/ */ +/* .marketing .col-lg-4 p { */ +/* margin-right: .75rem; */ +/* margin-left: .75rem; */ +/* } */ +/* /\* rtl:end:ignore *\/ */ + + +/* /\* Featurettes */ +/* ------------------------- *\/ */ + +/* .featurette-divider { */ +/* margin: 5rem 0; /\* Space out the Bootstrap
more *\/ */ +/* } */ + +/* /\* Thin out the marketing headings *\/ */ +/* .featurette-heading { */ +/* font-weight: 300; */ +/* line-height: 1; */ +/* /\* rtl:remove *\/ */ +/* letter-spacing: -.05rem; */ +/* } */ + + +/* /\* RESPONSIVE CSS */ +/* -------------------------------------------------- *\/ */ + +/* @media (min-width: 40em) { */ +/* /\* Bump up size of carousel content *\/ */ +/* .carousel-caption p { */ +/* margin-bottom: 1.25rem; */ +/* font-size: 1.25rem; */ +/* line-height: 1.4; */ +/* } */ + +/* .featurette-heading { */ +/* font-size: 50px; */ +/* } */ +/* } */ + +/* @media (min-width: 62em) { */ +/* .featurette-heading { */ +/* margin-top: 7rem; */ +/* } */ +/* } */ diff --git a/static/images/astral.png b/static/images/astral.png new file mode 100644 index 0000000..9242e0b Binary files /dev/null and b/static/images/astral.png differ diff --git a/static/images/astral_2.png b/static/images/astral_2.png new file mode 100644 index 0000000..87cbda5 Binary files /dev/null and b/static/images/astral_2.png differ diff --git a/static/images/egais.png b/static/images/egais.png new file mode 100644 index 0000000..d35ba25 Binary files /dev/null and b/static/images/egais.png differ diff --git a/static/images/klintorg_logo.png b/static/images/klintorg_logo.png new file mode 100644 index 0000000..efe6c1c Binary files /dev/null and b/static/images/klintorg_logo.png differ diff --git a/static/images/ofd.png b/static/images/ofd.png new file mode 100644 index 0000000..b3e713c Binary files /dev/null and b/static/images/ofd.png differ diff --git a/static/images/otchet.png b/static/images/otchet.png new file mode 100644 index 0000000..f8f3994 Binary files /dev/null and b/static/images/otchet.png differ diff --git a/static/images/torgi.png b/static/images/torgi.png new file mode 100644 index 0000000..4eb6b16 Binary files /dev/null and b/static/images/torgi.png differ diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..f6e6d1d --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Allow: / diff --git a/templates/4956392_4.xml b/templates/4956392_4.xml new file mode 100644 index 0000000..3cb1015 --- /dev/null +++ b/templates/4956392_4.xml @@ -0,0 +1,14 @@ + + + + + https://klintorg.ru/ + 2021-10-22T08:46:54+01:00 + 1.0 + + + https://klintorg.ru/astral + 2021-10-22T08:46:54+01:00 + 1.0 + + \ No newline at end of file diff --git a/templates/astral.html b/templates/astral.html new file mode 100644 index 0000000..b681358 --- /dev/null +++ b/templates/astral.html @@ -0,0 +1,4 @@ +{% extends "layout.html" %} +{% block content %} +

Main page

+{% endblock content %} diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..caa96f9 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,137 @@ + + + + + + + + + + + + {% if title %} + Klintorg - {{ title }} + {% else %} + Klintorg + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/new_layout.html b/templates/new_layout.html new file mode 100644 index 0000000..0981063 --- /dev/null +++ b/templates/new_layout.html @@ -0,0 +1,370 @@ + + + + + + + + + + + + + + + + + + + + + + + + {% if title %} + Klintorg - {{ title }} + {% else %} + Klintorg + {% endif %} + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ klintorg.ru - официальный представитель Астрал-ЭТ в Клину +
+
+
Электронная подпись для любых задач
+

Электронная подпись для участия в торгах, работы на государственных порталах и электронного документооборота

+ +
+ +
+
+ +
+
+
+ + + + + +
+ +

Тарифы и цены

+ +
+
+ +

Гибкая тарифная сетка позволит выбрать тот тариф, который оптимален именно для Вас

+
+ +
+ + + + + + + + + + + + + + + + + + + + + {% for prod in product %} +
+
+
+
+
+

{{ prod.name }}

+

{{ prod.description }}

+

{{ prod.price }} ₽

+ + + + +
+ +
+
+ prod.alt +
+ +
+ +
+
+
+ {% endfor %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +