diff --git a/passbook/admin/urls.py b/passbook/admin/urls.py index 8a352abfd..76d003672 100644 --- a/passbook/admin/urls.py +++ b/passbook/admin/urls.py @@ -13,6 +13,7 @@ from passbook.admin.views import ( policies_bindings, property_mappings, providers, + shell, sources, stages, stages_bindings, @@ -21,7 +22,6 @@ from passbook.admin.views import ( tasks, tokens, users, - shell, ) urlpatterns = [ diff --git a/passbook/admin/views/shell.py b/passbook/admin/views/shell.py index 804138538..19499452a 100644 --- a/passbook/admin/views/shell.py +++ b/passbook/admin/views/shell.py @@ -1,6 +1,8 @@ +"""admin shell view""" from django.views.generic.base import TemplateView class ShellView(TemplateView): + """admin shell view""" template_name = "administration/shell.html" diff --git a/passbook/crypto/models.py b/passbook/crypto/models.py index a06d4ed83..d7cf07429 100644 --- a/passbook/crypto/models.py +++ b/passbook/crypto/models.py @@ -79,7 +79,7 @@ class CertificateKeyPair(CreatedUpdatedModel): ) def __str__(self) -> str: - return f"Certificate-Key Pair {self.name} {self.fingerprint}" + return f"Certificate-Key Pair {self.name}" class Meta: diff --git a/passbook/static/static/passbook/passbook.css b/passbook/static/static/passbook/passbook.css index e24b0a36f..274765444 100644 --- a/passbook/static/static/passbook/passbook.css +++ b/passbook/static/static/passbook/passbook.css @@ -284,12 +284,6 @@ input[data-is-monospace] { white-space: pre-wrap; } -/* Table buttons (Don't wrap, align) */ -.pb-table-action { - white-space: nowrap !important; - padding: var(--pf-c-table--cell--PaddingTop) var(--pf-c-table--cell--PaddingRight) var(--pf-c-table--cell--PaddingBottom) var(--pf-c-table--cell--PaddingLeft) !important; -} - /* Aggregate Cards */ .pb-aggregate-card { font-size: var(--pf-global--icon--FontSize--lg);