admin: add shell view

This commit is contained in:
Jens Langhammer 2020-11-21 16:16:59 +01:00
parent 6bdcbfbf0e
commit 517b811a99
4 changed files with 4 additions and 8 deletions

View File

@ -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 = [

View File

@ -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"

View File

@ -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:

View File

@ -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);