Performer custom fields (#5487)

* Backend changes
* Show custom field values
* Add custom fields table input
* Add custom field filtering
* Add unit tests
* Include custom fields in import/export
* Anonymise performer custom fields
* Move json.Number handler functions to api
* Handle json.Number conversion in api
This commit is contained in:
WithoutPants
2024-12-03 13:49:55 +11:00
committed by GitHub
parent a0e09bbe5c
commit 8c8be22fe4
56 changed files with 2158 additions and 277 deletions

View File

@@ -197,6 +197,15 @@ button.collapse-button.btn-primary:not(:disabled):not(.disabled):active {
border: none;
box-shadow: none;
color: #f5f8fa;
text-align: left;
}
button.collapse-button {
.fa-icon {
margin-left: 0;
}
padding-left: 0;
}
.hover-popover-content {
@@ -678,3 +687,44 @@ button.btn.favorite-button {
}
}
}
.custom-fields .detail-item .detail-item-title {
max-width: 130px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.custom-fields-input > .collapse-button {
font-weight: 700;
}
.custom-fields-row {
align-items: center;
font-family: "Courier New", Courier, monospace;
font-size: 0.875rem;
.form-label {
margin-bottom: 0;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
}
// labels with titles are styled with help cursor and dotted underline elsewhere
div.custom-fields-field label.form-label {
cursor: inherit;
text-decoration: inherit;
}
.form-control,
.btn {
font-size: 0.875rem;
}
&.custom-fields-new > div:not(:last-child) {
padding-right: 0;
}
}