RTL
parent
7896205cb9
commit
00e7a5a998
|
|
@ -1,4 +1,4 @@
|
|||
<div class="administration-page">
|
||||
<div class="administration-page" dir="ltr">
|
||||
<div>
|
||||
<h2>Панель управления</h2>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="jumbotron-bg space" [ngStyle]="bgStyle">
|
||||
<div class="jumbotron-content layout-corral">
|
||||
<header-user-bar></header-user-bar>
|
||||
<header-user-bar dir="ltr"></header-user-bar>
|
||||
<h1 [ngStyle]="h1Style">{{name}}</h1>
|
||||
<div></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div class="add" (mouseleave)="hideDD()">
|
||||
<div class="add" (mouseleave)="hideDD()" dir="ltr">
|
||||
<div class="toggle prime" [class.active]="ddVisible" (click)="toggleDD()">
|
||||
<div class="two-lines"></div>
|
||||
<ico ico="add_circle_24"></ico>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="section">
|
||||
<add-section *ngIf="editMode" [page]="page" [ord]="ord" [modelType]="modelType"></add-section>
|
||||
<page-menu [editMode]="editMode" [index]="index" [page]="page" [section]="section" [modelId]="modelId" [modelType]="modelType"></page-menu>
|
||||
<page-menu [editMode]="editMode" [index]="index" [page]="page" [section]="section" [modelId]="modelId" [modelType]="modelType" dir="ltr"></page-menu>
|
||||
<div [ngSwitch]="type?.name">
|
||||
<header-section [section]="section" *ngSwitchCase="'page-section-header'"></header-section>
|
||||
<text-section [section]="section" *ngSwitchCase="'page-section-text'"></text-section>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
<div class="list">
|
||||
<div class="item" *ngFor="let member of members">
|
||||
<page-menu [editMode]="editMode" [section]="member" [modelId]="modelId" [modelType]="modelType"></page-menu>
|
||||
<page-menu [editMode]="editMode" [section]="member" [modelId]="modelId" [modelType]="modelType" dir="ltr"></page-menu>
|
||||
<ng-template ngFor let-group [ngForOf]="member.groups.data">
|
||||
<div class="image">
|
||||
<a [href]="getLink(group)" target="_blank" *ngIf="getLink(group)">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="member">
|
||||
|
||||
<page-menu [editMode]="editMode" [section]="member" [modelId]="modelId" [modelType]="'modelType'"></page-menu>
|
||||
<page-menu [editMode]="editMode" [section]="member" [modelId]="modelId" [modelType]="'modelType'" dir="ltr"></page-menu>
|
||||
|
||||
<img [src]="image" class="image" [class.pointer]="imageFull" (click)="showImage=imageFull&&true"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="slider-overlay" (click)="close()"></div>
|
||||
<div class="slider-bar" [style.width]="width" [ngClass]="css">
|
||||
<div class="slider-bar" [style.width]="width" [ngClass]="css" [ngStyle]="direction">
|
||||
<div class="header">
|
||||
<div class="title">
|
||||
<ng-content select="[header]"></ng-content>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ export class SliderComponent implements OnInit {
|
|||
@Input() side: 'left'|'right' ='right';
|
||||
|
||||
css:any;
|
||||
direction:any;
|
||||
|
||||
constructor(
|
||||
private router:Router,
|
||||
|
|
@ -23,6 +24,9 @@ export class SliderComponent implements OnInit {
|
|||
'left-side': this.side=='left',
|
||||
'right-side': this.side=='right'
|
||||
}
|
||||
this.direction = {
|
||||
direction: this.side == 'left' ? 'auto':'ltr'
|
||||
}
|
||||
this.windowScrollingService.disable();
|
||||
}
|
||||
ngOnDestroy(){
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const environment = {
|
|||
production: false,
|
||||
apiUrl: 'http://api.nircms.lc',
|
||||
clientId: 2,
|
||||
clientSecret: 'm5VOU2mv0psRFIL32QRGvKmtaE57ijGS4FTBMyn9',
|
||||
clientSecret: '8GrsyMhQwaiAq4IbtxG5zlq3ZfqyZ8sZRq5oYYXu',
|
||||
project: null,
|
||||
licence: 'POUFLO4YW7SU',
|
||||
defaultLocale: 'ru'
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const environment = {
|
|||
production: false,
|
||||
apiUrl: 'http://api.nircms.lc',
|
||||
clientId: 2,
|
||||
clientSecret: 'm5VOU2mv0psRFIL32QRGvKmtaE57ijGS4FTBMyn9',
|
||||
clientSecret: '8GrsyMhQwaiAq4IbtxG5zlq3ZfqyZ8sZRq5oYYXu',
|
||||
project: null,
|
||||
licence: 'POUFLO4YW7SU',
|
||||
defaultLocale: 'ru'
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const environment = {
|
|||
production: false,
|
||||
apiUrl: 'http://api.nircms.lc',
|
||||
clientId: 2,
|
||||
clientSecret: 'm5VOU2mv0psRFIL32QRGvKmtaE57ijGS4FTBMyn9',
|
||||
clientSecret: '8GrsyMhQwaiAq4IbtxG5zlq3ZfqyZ8sZRq5oYYXu',
|
||||
project: 'vniigaz-v2',
|
||||
licence: 'POUFLO4YW7SU',
|
||||
defaultLocale: 'ru'
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<div class="space jumbotron-edit-field" *ngIf="editable">
|
||||
<div class="space jumbotron-edit-field" *ngIf="editable" dir="ltr">
|
||||
<div class="layout-corral jumbotron-edit-field-row">
|
||||
<div class="switch-host" (click)="toggleEditMode()">
|
||||
Режим редактирования
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ add-section, publications-list{
|
|||
|
||||
cards-section{
|
||||
.cards-add{
|
||||
direction: ltr;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="jumbotron-bg space" [ngStyle]="bgStyle" [class.rootpage-jumbotron]="isRootPage">
|
||||
<div class="jumbotron-content layout-corral">
|
||||
<header-user-bar></header-user-bar>
|
||||
<header-user-bar dir="ltr"></header-user-bar>
|
||||
<div class="jumbotron-content-center">
|
||||
<h1 [ngStyle]="h1Style">{{name}}</h1>
|
||||
<!-- <h1 *ngIf="isRootPage" [ngStyle]="h1Style">
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<div class="space jumbotron-edit-field" *ngIf="editable">
|
||||
<div class="space jumbotron-edit-field" *ngIf="editable" dir="ltr">
|
||||
<div class="layout-corral jumbotron-edit-field-row">
|
||||
<div class="switch-host" (click)="toggleEditMode()">
|
||||
Режим редактирования
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ pages-menu-item{
|
|||
display: flex;
|
||||
align-items: flex-start;
|
||||
drop-down{
|
||||
margin-left: -24px;
|
||||
margin-inline-start: -24px;
|
||||
}
|
||||
min-height: 24px;
|
||||
>a{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ pages-menu{
|
|||
padding-left: 0;
|
||||
}
|
||||
pages-menu{
|
||||
padding-left: 24px;
|
||||
padding-inline-start: 24px;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -269,7 +269,7 @@ right-content{
|
|||
display: none;
|
||||
}
|
||||
pages-menu{
|
||||
padding-left: 0;
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
.item{
|
||||
min-height: 0;
|
||||
|
|
@ -285,7 +285,7 @@ right-content{
|
|||
&.nav+pages-menu{
|
||||
pages-menu.lvl-2{
|
||||
width: 400px;
|
||||
margin-left: 40px;
|
||||
margin-inline-start: 40px;
|
||||
border-radius: 8px;
|
||||
background: #FFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.27);
|
||||
|
|
@ -324,7 +324,7 @@ right-content{
|
|||
|
||||
&:not(.nav)+pages-menu{
|
||||
width: 360px;
|
||||
margin-left: 40px;
|
||||
margin-inline-start: 40px;
|
||||
border-radius: 8px;
|
||||
background: #FFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.27);
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ add-section, publications-list{
|
|||
|
||||
cards-section{
|
||||
.cards-add{
|
||||
direction: ltr;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
|
|
|||
Loading…
Reference in New Issue