diff --git a/inventory-app/inventory.py b/inventory-app/inventory.py index 21085bc..315ebee 100644 --- a/inventory-app/inventory.py +++ b/inventory-app/inventory.py @@ -129,7 +129,7 @@ class InventoryForm(Form): owner = FormField(MemberForm, label="Owner") user = FormField(MemberForm, label="Current User") usable = BooleanField("Usable") - visibility = SelectField("Visibility", choices=['public', 'unlisted', 'secret'], default='unlisted') + visibility = SelectField("Visibility", choices=['public', 'unlisted', 'secret', 'archived'], default='unlisted') class HardwareForm(Form): serial = StringField("Serial Number") @@ -143,7 +143,6 @@ class ShortenerForm(Form): class InventoryItemForm(CustomForm): type = SelectField("Type", choices=fetch_type_select()) name = StringField('Name') - external_link = StringField('External link') comment = StringField('Comment') inventory = FormField(InventoryForm) hardware = FormField(HardwareForm) diff --git a/inventory-app/templates/base.html b/inventory-app/templates/base.html index 369db3f..37198c8 100644 --- a/inventory-app/templates/base.html +++ b/inventory-app/templates/base.html @@ -27,9 +27,9 @@ body { .csstransforms & th.rotate { height: 140px; white-space: nowrap; - // Firefox needs the extra DIV for some reason, otherwise the text disappears if you rotate + // Firefox needs the extra DIV for some reason, otherwise the text disappears if you rotate > div { - transform: + transform: // Magic Numbers translate(25px, 51px) // 45 is really 360-45 @@ -68,8 +68,14 @@ span.tooltipped { text-decoration-line: underline; text-decoration-style: dotted; } - + .horizontalRow { + display: flex; + justify-content: flex-start; + gap: 20px; + padding: 10px; + } +