Изменение типов кнопок

This commit is contained in:
2024-12-04 11:39:07 +03:00
parent 392ba2161f
commit 576c0632d5
9 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
<h1 class="mt-5">Успешно!</h1> <h1 class="mt-5">Успешно!</h1>
<p class="lead">Отчет успешно добавлен в базу данных!</p> <p class="lead">Отчет успешно добавлен в базу данных!</p>
<div class="gap-2 py-5"> <div class="gap-2 py-5">
<a href="{{ url_for('index') }}"><button class="btn btn-primary">На главную страницу</button></a> <a href="{{ url_for('index') }}"><button class="btn btn-secondary">На главную страницу</button></a>
<a href="{{ url_for('report_bp.menu') }}"><button class="btn btn-primary">В меню отчетов</button></a> <a href="{{ url_for('report_bp.menu') }}"><button class="btn btn-primary">В меню отчетов</button></a>
</div> </div>
</div> </div>

View File

@@ -63,7 +63,7 @@
</div> </div>
<div class="d-flex justify-content-center mt-5"> <div class="d-flex justify-content-center mt-5">
<a href="{{ url_for('index') }}"><button class="btn btn-warning">Главное меню</button></a> <a href="{{ url_for('index') }}"><button class="btn btn-secondary">Главное меню</button></a>
</div> </div>
</body> </body>
</html> </html>

View File

@@ -35,7 +35,7 @@
</div> </div>
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-12 d-flex justify-content-center"> <div class="col-12 d-flex justify-content-center">
<a href="{{ url_for('index') }}"><button class="btn btn-warning">Главное меню</button></a> <a href="{{ url_for('index') }}"><button class="btn btn-secondary">Главное меню</button></a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -40,7 +40,7 @@
<button type="submit" class="btn btn-primary">Отправить</button> <button type="submit" class="btn btn-primary">Отправить</button>
</form> </form>
<div class="d-flex justify-content-center mt-5"> <div class="d-flex justify-content-center mt-5">
<a href="{{ url_for('requests_bp.requests') }}"><button class="btn btn-warning">Обратно в меню запросов</button></a> <a href="{{ url_for('requests_bp.requests') }}"><button class="btn btn-secondary">Обратно в меню запросов</button></a>
</div> </div>
</div> </div>
</main> </main>

View File

@@ -43,7 +43,7 @@
<button type="submit" class="btn btn-primary">Отправить</button> <button type="submit" class="btn btn-primary">Отправить</button>
</form> </form>
<div class="d-flex justify-content-center mt-5"> <div class="d-flex justify-content-center mt-5">
<a href="{{ url_for('requests_bp.requests') }}"><button class="btn btn-warning">Обратно в меню запросов</button></a> <a href="{{ url_for('requests_bp.requests') }}"><button class="btn btn-secondary">Обратно в меню запросов</button></a>
</div> </div>
</div> </div>
</main> </main>

View File

@@ -35,7 +35,7 @@
</div> </div>
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-12 d-flex justify-content-center"> <div class="col-12 d-flex justify-content-center">
<a href="{{ url_for('index') }}"><button class="btn btn-warning">Главное меню</button></a> <a href="{{ url_for('index') }}"><button class="btn btn-secondary">Главное меню</button></a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -12,7 +12,7 @@
<h1 class="mt-5">Накладная оформлена</h1> <h1 class="mt-5">Накладная оформлена</h1>
<p class="lead">Номер вашей накладной: {{ order_id }}</p> <p class="lead">Номер вашей накладной: {{ order_id }}</p>
<div class="mt-4"> <div class="mt-4">
<a href="{{ url_for('index') }}" class="btn btn-primary me-2">На главную страницу</a> <a href="{{ url_for('index') }}" class="btn btn-secondary me-2">На главную страницу</a>
</div> </div>
</div> </div>
</main> </main>

View File

@@ -11,7 +11,7 @@
<div class="container"> <div class="container">
<h1 class="mt-5">Сожалеем</h1> <h1 class="mt-5">Сожалеем</h1>
<p class="lead"> {{ error_message }}</p> <p class="lead"> {{ error_message }}</p>
<a href="{{ url_for('index') }}"><button class="btn btn-primary">На главную страницу</button></a> <a href="{{ url_for('index') }}"><button class="btn btn-secondary">На главную страницу</button></a>
</div> </div>
</main> </main>
</body> </body>

View File

@@ -55,7 +55,7 @@
</div> </div>
{% endif %} {% endif %}
<div class="d-flex justify-content-center gap-2"> <div class="d-flex justify-content-center gap-2">
<a href="{{ link }}"><button class="btn btn-primary">Вернуться в меню выбора</button></a> <a href="{{ link }}"><button class="btn btn-secondary">Вернуться в меню выбора</button></a>
</div> </div>
</body> </body>
</html> </html>