[ACA] ADF latest alpha ()

* update

* fix layout

* about page layout fix
This commit is contained in:
Cilibiu Bogdan 2018-04-17 14:08:24 +03:00 committed by Denys Vuika
parent bc6f02e261
commit 5ebcd44723
7 changed files with 690 additions and 4874 deletions

5473
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -18,8 +18,8 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "2.3.0-eff3ea83b03603d77986d6080553f799025e3f90",
"@alfresco/adf-core": "2.3.0-eff3ea83b03603d77986d6080553f799025e3f90",
"@alfresco/adf-content-services": "2.3.0-0a8438954b0b3f7b0d1ba805e9fd030ba6b36e45",
"@alfresco/adf-core": "2.3.0-0a8438954b0b3f7b0d1ba805e9fd030ba6b36e45",
"@angular/animations": "5.1.1",
"@angular/cdk": "5.0.1",
"@angular/common": "5.1.1",

@ -1,46 +1,48 @@
<div class="inner-layout inner-layout--scroll">
<div class="inner-layout__content inner-layout__content--scroll">
<article *ngIf="ecmVersion" class="padding">
<header class="header padding-left">Alfresco Content Services</header>
<p class="padding-left"> version: {{ ecmVersion.edition }} {{ ecmVersion.version.display }} </p>
</article>
<div class="inner-layout__content">
<div class="inner-layout__panel content--scroll">
<article *ngIf="ecmVersion" class="padding">
<header class="header padding-left">Alfresco Content Services</header>
<p class="padding-left"> version: {{ ecmVersion.edition }} {{ ecmVersion.version.display }} </p>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">License</header>
<adf-datatable [data]="license"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">License</header>
<adf-datatable [data]="license"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Status</header>
<adf-datatable [data]="status"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Status</header>
<adf-datatable [data]="status"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Modules</header>
<adf-datatable [data]="modules"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Modules</header>
<adf-datatable [data]="modules"></adf-datatable>
</article>
<article class="padding">
<header class="header padding-left">Alfresco Content Application</header>
<p class="padding-left"> version: {{ releaseVersion }} </p>
</article>
<article class="padding">
<header class="header padding-left">Alfresco Content Application</header>
<p class="padding-left"> version: {{ releaseVersion }} </p>
</article>
<article *ngIf="githubUrlCommitAlpha" class="padding">
<header class="header">Source code</header>
<article *ngIf="githubUrlCommitAlpha" class="padding">
<header class="header">Source code</header>
<small>You are running the project based on the following commit:</small>
<small>You are running the project based on the following commit:</small>
<p>
<a [href]="githubUrlCommitAlpha" target="blank">{{githubUrlCommitAlpha}}</a>
</p>
</article>
<p>
<a [href]="githubUrlCommitAlpha" target="blank">{{githubUrlCommitAlpha}}</a>
</p>
</article>
<article>
<header class="header padding-left-right">Packages</header>
<article>
<header class="header padding-left-right">Packages</header>
<small class="padding-left-right">Current project is using the following ADF libraries:</small>
<small class="padding-left-right">Current project is using the following ADF libraries:</small>
<adf-datatable [data]="data"></adf-datatable>
</article>
<adf-datatable [data]="data"></adf-datatable>
</article>
</div>
</div>
</div>

@ -55,7 +55,7 @@ export class AboutComponent implements OnInit {
{type: 'text', key: 'id', title: 'ID', sortable: true},
{type: 'text', key: 'title', title: 'Title', sortable: true},
{type: 'text', key: 'version', title: 'Description', sortable: true},
{type: 'text', key: 'installDate', title: 'Install Date', sortable: true},
{type: 'date', key: 'installDate', title: 'Install Date', sortable: true},
{type: 'text', key: 'installState', title: 'Install State', sortable: true},
{type: 'text', key: 'versionMin', title: 'Version Minor', sortable: true},
{type: 'text', key: 'versionMax', title: 'Version Max', sortable: true}
@ -69,8 +69,8 @@ export class AboutComponent implements OnInit {
]);
this.license = new ObjectDataTableAdapter([this.ecmVersion.license], [
{type: 'text', key: 'issuedAt', title: 'Issued At', sortable: true},
{type: 'text', key: 'expiresAt', title: 'Expires At', sortable: true},
{type: 'date', key: 'issuedAt', title: 'Issued At', sortable: true},
{type: 'date', key: 'expiresAt', title: 'Expires At', sortable: true},
{type: 'text', key: 'remainingDays', title: 'Remaining Days', sortable: true},
{type: 'text', key: 'holder', title: 'Holder', sortable: true},
{type: 'text', key: 'mode', title: 'Type', sortable: true},

@ -26,10 +26,6 @@ $app-inner-layout--footer-height: 48px;
@include flex-row;
}
&__content--scroll {
overflow: auto;
}
&__content--hide {
display: none !important;
}
@ -47,6 +43,10 @@ $app-inner-layout--footer-height: 48px;
}
}
.content--scroll {
overflow: auto !important;
}
app-generic-error {
height: 100%;
width: 100%;

@ -11,6 +11,7 @@ html, body {
}
app-root,
app-about,
app-layout,
adf-layout-container,
app-search,

@ -12,3 +12,7 @@ adf-sidenav-layout {
.sidenav-layout {
@include flex-column;
}
.mat-drawer-content>div, .mat-drawer-content>div>div {
@include flex-column;
}