-
Notifications
You must be signed in to change notification settings - Fork 846
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VCST-1280: display message when user doesn't have permissions (#2830)
Co-authored-by: artem-dudarev <[email protected]>
- Loading branch information
1 parent
6842264
commit 9b928ab
Showing
6 changed files
with
56 additions
and
1 deletion.
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
16 changes: 16 additions & 0 deletions
16
src/VirtoCommerce.Platform.Web/wwwroot/css/themes/main/sass/modules/_contact-admin.sass
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,16 @@ | ||
.contact-admin | ||
display: flex | ||
flex-direction: column | ||
gap: 30px | ||
padding-bottom: 26px | ||
width: 100% | ||
max-width: 375px | ||
|
||
&__buttons | ||
display: flex | ||
justify-content: space-between | ||
|
||
&__button | ||
min-width: 90px | ||
@media (min-width: 768px) | ||
min-width: 140px |
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
21 changes: 21 additions & 0 deletions
21
src/VirtoCommerce.Platform.Web/wwwroot/js/app/security/dialogs/contact-admin.tpl.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,21 @@ | ||
<div class="auth" ng-style="{ 'background-image': 'url('+uiCustomization.pattern.url+'), url('+(uiCustomization.background.url || 'images/login.webp') +')' }"> | ||
<div class="auth__container"> | ||
<div class="auth__head"> | ||
<img class="auth__logo" ng-src="{{ uiCustomization.loginScreenLogo_custom.url || uiCustomization.loginScreenLogo_default.url }}" fallback-src="{{ uiCustomization.loginScreenLogo_default.url }}" alt="Login screen logo image"> | ||
<h1 class="auth__title">{{ 'platform.blades.access-denied.title' | translate }}</h1> | ||
</div> | ||
<div class="auth__content"> | ||
<div class="contact-admin"> | ||
<div class="vc-input"> | ||
{{ 'platform.blades.access-denied.labels.message' | translate }} | ||
</div> | ||
<div class="contact-admin__buttons"> | ||
<button type="button" ng-click="logout()" class="vc-button contact-admin__button">{{ 'platform.blades.access-denied.labels.button' | translate }}</button> | ||
</div> | ||
</div> | ||
<div class="vc-loader" ng-if="isLoading"> | ||
<div class="vc-loader__line"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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