1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Bootstrap5 (#17)

* Bootstrap5 migration
This commit is contained in:
catborise 2021-07-07 14:12:38 +03:00 committed by GitHub
parent 1663a49cee
commit 073b7b6717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
244 changed files with 9494 additions and 8597 deletions

View file

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load bootstrap4 %}
{% load django_bootstrap5 %}
{% load icons %}
{% load i18n %}
@ -15,7 +15,7 @@
<div class="alert alert-warning">
{%trans "Are you sure you want to delete" %} "{{ object }}"?
</div>
<div class="form-group mb-0 float-right">
<div class="mb-0 float-end">
<a class="btn btn-primary" href="javascript:history.back()">{% icon 'times' %} {% trans "Cancel" %}</a>
<button type="submit" class="btn btn-danger">
{% icon 'trash' %} {% trans "Delete" %}

View file

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load bootstrap4 %}
{% load django_bootstrap5 %}
{% load icons %}
{% load i18n %}
@ -16,7 +16,7 @@
</form>
</div>
<div class="card-footer">
<div class="form-group mb-0 float-right">
<div class="mb-0 float-end">
<a class="btn btn-primary" href="javascript:history.back()">{% icon 'times' %} {% trans "Cancel" %}</a>
<button type="submit" form="create-update" class="btn btn-success">
{% icon 'check' %} {% trans "Save" %}