Skip to content

Commit

Permalink
ui: uses primeng for the frontend
Browse files Browse the repository at this point in the history
* Adds missing format alias on the the REST API.
* Adds placeholder on the contries editor.
* All document detailed view tabs is done in angular.
* Removes useless document views.
* Removes useless document jinja template filters and their corresponding tests.
* Adds layer to css styles to avoid primeng and bootstrap conflicts.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
  • Loading branch information
jma committed Dec 4, 2024
1 parent f5b2b43 commit 1f9caa4
Show file tree
Hide file tree
Showing 33 changed files with 443 additions and 2,070 deletions.
8 changes: 5 additions & 3 deletions rero_ils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,13 +999,15 @@ def _(x):
record_serializers={
"application/json": "rero_ils.modules.serializers:json_v1_response"
},
record_serializers_aliases={
"json": "application/json",
},
record_serializers_aliases={"json": "application/json"},
search_serializers={
"application/json": "rero_ils.modules.serializers:json_v1_search",
"application/rero+json": "rero_ils.modules.holdings.serializers:json_holdings_search",
},
search_serializers_aliases={
"json": "application/json",
"rero+json": "application/json",
},
list_route="/holdings/",
record_loaders={
"application/json": lambda: Holding(request.get_json()),
Expand Down
2 changes: 2 additions & 0 deletions rero_ils/jsonschemas/common/countries-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@
"formlyConfig": {
"props": {
"sort": true,
"placeholder": "Select an option…",
"sortOrder": "asc",
"filter": true,
"itemCssClass": "col-lg-4",
"options": [
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1f9caa4

Please sign in to comment.