diff --git a/src/app/_modules/form-fields/types/document/single/field-document-single.component.html b/src/app/_modules/form-fields/types/document/single/field-document-single.component.html index 5e67bf0..093f645 100644 --- a/src/app/_modules/form-fields/types/document/single/field-document-single.component.html +++ b/src/app/_modules/form-fields/types/document/single/field-document-single.component.html @@ -10,7 +10,8 @@
-
+ diff --git a/src/app/_modules/form-fields/types/document/single/field-document-single.component.ts b/src/app/_modules/form-fields/types/document/single/field-document-single.component.ts index 13b3460..3c6cc8a 100644 --- a/src/app/_modules/form-fields/types/document/single/field-document-single.component.ts +++ b/src/app/_modules/form-fields/types/document/single/field-document-single.component.ts @@ -52,9 +52,6 @@ export class FieldDocumentSingleComponent { this.asset = asset; this.control?.setValue(asset?.id); } - get extension(){ - return `url(/assets/images/icons/document/${ICON_TYPE[this.asset.extension]}.svg)` - } diff --git a/src/app/_modules/registries/registries.module.ts b/src/app/_modules/registries/registries.module.ts index c9cfeb4..f417246 100644 --- a/src/app/_modules/registries/registries.module.ts +++ b/src/app/_modules/registries/registries.module.ts @@ -13,6 +13,7 @@ import {PaginationModule} from "@app/_modules/pagination/pagination.module"; import {SortablejsModule} from "ngx-sortablejs"; import {ReactiveFormsModule} from "@angular/forms"; import {EntryPropertiesComponent} from "@app/_modules/registries/registry/entries/entry/properties/entry-properties.component"; +import { WidjetModule } from '../widjet/widjet.module'; @NgModule({ imports: [ @@ -20,7 +21,8 @@ import {EntryPropertiesComponent} from "@app/_modules/registries/registry/entrie RouterModule, ReactiveFormsModule, PaginationModule, - SortablejsModule + SortablejsModule, + WidjetModule ], declarations: [ RegistryComponent, diff --git a/src/app/_modules/registries/registry/categories/category/registry-category.component.html b/src/app/_modules/registries/registry/categories/category/registry-category.component.html index ffba81d..aff2867 100644 --- a/src/app/_modules/registries/registry/categories/category/registry-category.component.html +++ b/src/app/_modules/registries/registry/categories/category/registry-category.component.html @@ -1,13 +1,13 @@
{{category.name}}
-
+
diff --git a/src/app/_modules/registries/registry/categories/category/registry-category.component.scss b/src/app/_modules/registries/registry/categories/category/registry-category.component.scss index 3062284..e69de29 100644 --- a/src/app/_modules/registries/registry/categories/category/registry-category.component.scss +++ b/src/app/_modules/registries/registry/categories/category/registry-category.component.scss @@ -1,3 +0,0 @@ -.bar { - cursor: pointer; -} diff --git a/src/app/_modules/registries/registry/entries/entry/registry-entry.component.html b/src/app/_modules/registries/registry/entries/entry/registry-entry.component.html index a57d001..2b03136 100644 --- a/src/app/_modules/registries/registry/entries/entry/registry-entry.component.html +++ b/src/app/_modules/registries/registry/entries/entry/registry-entry.component.html @@ -1,10 +1,13 @@
- {{title}} +
+ + {{title}} +
{{title}}
-
+
{{entry.state?.title}}
@@ -16,11 +19,11 @@
-
- - - - +
+ + + +
diff --git a/src/app/_modules/registries/registry/entries/entry/registry-entry.component.scss b/src/app/_modules/registries/registry/entries/entry/registry-entry.component.scss index 8dbf07f..e69de29 100644 --- a/src/app/_modules/registries/registry/entries/entry/registry-entry.component.scss +++ b/src/app/_modules/registries/registry/entries/entry/registry-entry.component.scss @@ -1,45 +0,0 @@ -.main { - .name { - margin-right: 24px; - } - .toggle { - margin-left: auto; - button { - display: block; - width: 20px; - height: 20px; - padding: 0; - background: transparent url('~src/assets/images/icons/expand_less_20.svg') 50% 50% no-repeat; - transform: rotateZ(180deg); - transition: transform 0.3s; - &.less { - transform: rotateZ(0); - } - } - } - .state { - display: inline-block; - padding: 0 8px; - border-radius: 10px; - background-color: #777777; - color: #ffffff; - font-size: 0.875rem; - font-weight: 700; - &.active {background-color: #28A814;} - &.suspended,&.cancelled {background-color: #D9235F;} - } -} - -.details { - padding: 16px 0 0; -} - -.block { - margin-bottom: 16px; - &:last-child {margin-bottom: 0} - &.row { - display: flex; - flex-direction: row; - align-items: center; - } -} diff --git a/src/app/_modules/registries/registry/entries/registry-entries.component.scss b/src/app/_modules/registries/registry/entries/registry-entries.component.scss index 0bd5b46..8b13789 100644 --- a/src/app/_modules/registries/registry/entries/registry-entries.component.scss +++ b/src/app/_modules/registries/registry/entries/registry-entries.component.scss @@ -1,29 +1 @@ -.items { - min-height: 20px; -} -registry-entry { - display: block; - padding: 16px 24px; - border-bottom: #E8E8E8 solid 1px; - &:first-child { - border-top: #E8E8E8 solid 1px; - } -} - -pagination { - display: block; - padding: 0 24px; - &:first-child { - margin-bottom: 12px; - } - &:last-child { - margin-top: 12px; - } -} - -@media screen and (max-width: 1330px) { - registry-entry { - padding: 16px 0; - } -} diff --git a/src/app/_modules/registries/registry/filters/registry-filters.component.html b/src/app/_modules/registries/registry/filters/registry-filters.component.html index 4769176..782041d 100644 --- a/src/app/_modules/registries/registry/filters/registry-filters.component.html +++ b/src/app/_modules/registries/registry/filters/registry-filters.component.html @@ -1,4 +1,4 @@ -
+