Initial commit
This commit is contained in:
44
templates/invite/result.html
Normal file
44
templates/invite/result.html
Normal file
@@ -0,0 +1,44 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block content %}
|
||||
<div class="container mt-4">
|
||||
<h2 class="text-center mb-4">Результат сравнения платформ</h2>
|
||||
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<h5 class="mb-3">Процент соответствия платформ:</h5>
|
||||
<ul class="list-group mb-4">
|
||||
{% for platform, score in scores.items() %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
{{ platform }}
|
||||
<span class="badge bg-primary rounded-pill">{{ score }}%</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h5 class="mb-3">Неподдерживаемые функции:</h5>
|
||||
{% for platform, features in unsupported_features.items() %}
|
||||
<div class="mb-3">
|
||||
<strong>{{ platform }}:</strong>
|
||||
{% if features %}
|
||||
<ul class="mt-1">
|
||||
{% for f in features %}
|
||||
<li>{{ f }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p class="text-success mb-0">Все функции поддерживаются</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="text-end">
|
||||
<a href="https://mont.ru" class="btn btn-outline-secondary mt-4">Перейти на сайт МОНТ</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user