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, policies_bindings,
property_mappings, property_mappings,
providers, providers,
shell,
sources, sources,
stages, stages,
stages_bindings, stages_bindings,
@ -21,7 +22,6 @@ from passbook.admin.views import (
tasks, tasks,
tokens, tokens,
users, users,
shell,
) )
urlpatterns = [ urlpatterns = [

View File

@ -1,6 +1,8 @@
"""admin shell view"""
from django.views.generic.base import TemplateView from django.views.generic.base import TemplateView
class ShellView(TemplateView): class ShellView(TemplateView):
"""admin shell view"""
template_name = "administration/shell.html" template_name = "administration/shell.html"

View File

@ -79,7 +79,7 @@ class CertificateKeyPair(CreatedUpdatedModel):
) )
def __str__(self) -> str: def __str__(self) -> str:
return f"Certificate-Key Pair {self.name} {self.fingerprint}" return f"Certificate-Key Pair {self.name}"
class Meta: class Meta:

View File

@ -284,12 +284,6 @@ input[data-is-monospace] {
white-space: pre-wrap; 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 */ /* Aggregate Cards */
.pb-aggregate-card { .pb-aggregate-card {
font-size: var(--pf-global--icon--FontSize--lg); font-size: var(--pf-global--icon--FontSize--lg);