Skip to content

Commit 2a8a77d

Browse files
committed
Merge release candidate 1 into master
2 parents 89ff307 + da34fcd commit 2a8a77d

File tree

298 files changed

+7201
-4501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+7201
-4501
lines changed

angular.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"polyfills": "src/polyfills.ts",
2424
"tsConfig": "tsconfig.app.json",
2525
"aot": true,
26-
"assets": ["src/favicon.ico", "src/assets"],
26+
"assets": [
27+
"src/favicon.ico",
28+
"src/assets",
29+
{ "glob": "**/*", "input": "node_modules/ngx-monaco-editor/assets/monaco", "output": "./assets/monaco/" }
30+
],
2731
"styles": [
2832
"./node_modules/animate.css/animate.min.css",
2933
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",

package-lock.json

Lines changed: 58 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "os2-io-t-frontend",
3-
"version": "0.0.1",
2+
"name": "os2iot-frontend",
3+
"version": "1.0.0",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve --watch",
@@ -22,6 +22,7 @@
2222
"@angular/platform-browser": "~9.1.11",
2323
"@angular/platform-browser-dynamic": "~9.1.11",
2424
"@angular/router": "~9.1.11",
25+
"@auth0/angular-jwt": "^5.0.1",
2526
"@fortawesome/angular-fontawesome": "^0.6.1",
2627
"@fortawesome/fontawesome-free": "^5.13.1",
2728
"@fortawesome/fontawesome-svg-core": "^1.2.28",
@@ -32,14 +33,15 @@
3233
"@ngx-translate/http-loader": "^6.0.0",
3334
"all": "0.0.0",
3435
"animate.css": "^4.1.1",
35-
"bootstrap": "^5.0.0-alpha2",
36+
"bootstrap": "5.0.0-alpha2",
3637
"file-saver": "^2.0.2",
3738
"guid-typescript": "^1.0.9",
3839
"jwt-decode": "^2.2.0",
3940
"leaflet": "^1.7.1",
4041
"moment": "^2.27.0",
4142
"ng": "0.0.0",
4243
"ng-inline-svg": "^11.0.0",
44+
"ngx-monaco-editor": "^9.0.0",
4345
"ngx-papaparse": "^5.0.0",
4446
"popper.js": "^1.16.0",
4547
"rxjs": "~6.5.4",

src/app/admin/admin.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
77
import { RouterModule } from '@angular/router';
88
import { TranslateModule } from '@ngx-translate/core';
99
import { FormModule } from '@shared/components/forms/form.module';
10-
import { TopBarModule } from '@shared/components/top-bar/top-bar.module';
1110
import { NGMaterialModule } from '@shared/Modules/materiale.module';
1211
import { PipesModule } from '@shared/pipes/pipes.module';
1312
import { SharedModule } from '@shared/shared.module';
@@ -54,7 +53,6 @@ import { MatFormFieldModule } from '@angular/material/form-field';
5453
CommonModule,
5554
TranslateModule,
5655
FormsModule,
57-
TopBarModule,
5856
ReactiveFormsModule,
5957
FormModule,
6058
RouterModule,
@@ -81,4 +79,4 @@ import { MatFormFieldModule } from '@angular/material/form-field';
8179
OrganisationListComponent,
8280
],
8381
})
84-
export class AdminModule {}
82+
export class AdminModule { }
Lines changed: 32 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,37 @@
1-
<app-top-bar *ngIf="organisation" [data]="organisation" [backButton]="backButton" [subPage]="true"></app-top-bar>
2-
3-
<div class=" jumbotron m-md-4 p-md-3" *ngIf="organisation">
4-
<div class="row">
5-
<div class="col-xs-12">
6-
<div class="float-left">
7-
<h2> {{organisation.name}}</h2>
1+
<div [hidden]="!organisation" *ngIf="organisation">
2+
<app-top-bar [data]="organisation" [backButton]="backButton" [subPage]="true" [addDetailDowndown]="true"
3+
[dropDownButton]="dropdownButton" (deleteSelectedInDropdown)="clickDelete()">
4+
</app-top-bar>
5+
<div class="container-fluid">
6+
<div class="row">
7+
<div class="col-12 ">
8+
<div class="jumbotron">
9+
<h3> {{'ORGANISATION.HEADLINE' | translate}}</h3>
10+
<app-general-details [data]="organisation"></app-general-details>
11+
</div>
812
</div>
9-
<div class="btn-group float-right">
10-
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"
11-
aria-haspopup="true" aria-expanded="false">
12-
{{'ORGANISATION.DROPDOWN' | translate}} <span class="caret"></span>
13-
</button>
14-
<ul class="dropdown-menu" attr.aria-labelledby="tableRowDropdown-{{organisation.id}}">
15-
<li class="dropdown-item">
16-
<a [routerLink]="['edit-organisation']"
17-
routerLinkActive="active">{{ 'ORGANISATION-TABLE-ROW.EDIT' | translate }}
18-
</a>
19-
</li>
20-
<li class="dropdown-item">
21-
<a (click)="clickDelete()"
22-
[routerLink]="">{{ 'PERMISSION.TABLE-ROW.DELETE' | translate }}
23-
</a>
24-
</li>
25-
</ul>
13+
</div>
14+
<div class="row">
15+
<div class="col-12">
16+
<div class="jumbotron">
17+
<h3>
18+
{{ 'ORGANISATION.DETAIL.APPLICATIONS' | translate }}
19+
</h3>
20+
<app-applications-table [organizationId]="id">
21+
</app-applications-table>
22+
</div>
23+
</div>
24+
</div>
25+
<div class="row">
26+
<div class="col-12">
27+
<div class="jumbotron">
28+
<h3>
29+
{{ 'ORGANISATION.DETAIL.PERMISSIONS' | translate }}
30+
</h3>
31+
<app-permission-tabel [organisationId]="id">
32+
</app-permission-tabel>
33+
</div>
2634
</div>
2735
</div>
2836
</div>
29-
</div>
30-
31-
<div class="jumbotron m-md-4 p-md-3">
32-
<h4 class="">
33-
{{ 'ORGANISATION.DETAIL.APPLICATIONS' | translate }}
34-
</h4>
35-
<app-applications-table [applications]="applications" (deleteApplication)="deleteApplication($event)"
36-
[isLoadingResults]="isLoadingResults">
37-
</app-applications-table>
38-
</div>
39-
40-
<div class="jumbotron m-md-4 p-md-3">
41-
<h4 class="">
42-
{{ 'ORGANISATION.DETAIL.PERMISSIONS' | translate }}
43-
</h4>
44-
<app-permission-tabel [permissions]="permissions" (deletePermission)="deletePermission($event)">
45-
</app-permission-tabel>
4637
</div>

0 commit comments

Comments
 (0)