-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(content): entries bulk operations for delete, change owner, remo…
…ve from category, download, access control
- Loading branch information
Showing
25 changed files
with
1,182 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...pp/entries/bulk-actions/components/bulk-access-control/bulk-access-control.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<k-area-blocker [showLoader]="_loading" [message]="_sectionBlockerMessage"> | ||
<div class="kContent kOverrideFAIcons"> | ||
<span class="kTitle">{{'applications.content.bulkActions.setAccessControl' | translate}}</span> | ||
|
||
<div class="kAccessControl" *ngIf="_selectedProfile"> | ||
|
||
<div class="kAccessControlDetails"> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.profile' | translate}}</span> | ||
<p-dropdown [options]="(_accessControlProfiles$ | async)?.items" [(ngModel)]="selectedProfile" (onChange)="onChange()"></p-dropdown> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.name' | translate}}</span> | ||
<span>{{selectedProfile.name}}</span> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.accessControl' | translate}}</span> | ||
<span>{{selectedProfile.description}}</span> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.domains' | translate}}</span> | ||
<span>{{_domainsRestriction}}</span> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.countries' | translate}}</span> | ||
<span>{{_countriesRestriction}}</span> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.ips' | translate}}</span> | ||
<span>{{_ipRestriction}}</span> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.flavours' | translate}}</span> | ||
<span>{{_flavourRestriction}}</span> | ||
</div> | ||
<div class="kRow"> | ||
<span class="kLabels">{{'applications.content.entryDetails.accessControl.advanced' | translate}}</span> | ||
<span>{{_advancedRestriction}}</span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="kFooter"> | ||
<button type="button" class="kButtonBranded" pButton label="{{'applications.content.bulkActions.apply' | translate}}" (click)="_apply()"></button> | ||
</div> | ||
</div> | ||
</k-area-blocker> |
61 changes: 61 additions & 0 deletions
61
...pp/entries/bulk-actions/components/bulk-access-control/bulk-access-control.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
@import "app-theme/_variables.scss"; | ||
|
||
.kTitle{ | ||
color: $kGrayscale1; | ||
font-size: 24px; | ||
font-weight: 700; | ||
text-align: center; | ||
border-bottom: 1px solid $kGrayscale4; | ||
height: 78px; | ||
line-height: 78px; | ||
} | ||
.kContent{ | ||
display: flex; | ||
flex-direction: column; | ||
height: 550px; | ||
.kLabel{ | ||
display: block; | ||
margin-bottom: 8px; | ||
} | ||
.kAccessControl{ | ||
padding: 12px; | ||
height: 380px; | ||
overflow-y: auto; | ||
overflow-x: hidden; | ||
.kAccessControlDetails{ | ||
padding-left: 12px; | ||
padding-right: 12px; | ||
width: 100%; | ||
.kRow{ | ||
display: flex; | ||
padding-top: 24px; | ||
align-items: center; | ||
} | ||
.kLabels{ | ||
width: 180px; | ||
flex: 0 0 auto; | ||
} | ||
} | ||
} | ||
} | ||
.kFooter{ | ||
position: absolute; | ||
bottom: 0px; | ||
display: flex; | ||
width: 100%; | ||
height: 66px; | ||
border-top: 1px solid $kGrayscale4; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
:host /deep/ kautocomplete ul.ui-autocomplete-multiple-container.ui-inputtext{ | ||
padding: 0px; | ||
.ui-autocomplete-input-token{ | ||
padding: 0px; | ||
input{ | ||
height: 34px; | ||
padding-left: 4px; | ||
width: 472px; | ||
} | ||
} | ||
} |
Oops, something went wrong.