argos/dmp-frontend/src/app/ui/dashboard/dashboard.component.html

61 lines
3.2 KiB
HTML
Raw Normal View History

2019-05-08 17:39:07 +02:00
<div class="header-image">
<div class="header-text-container">
<h3>Welcome to OpenDMP</h3>
<h4>Lorem ipsum dolor sit amet concectetum lorem ipsum</h4>
</div>
</div>
2019-04-24 11:26:53 +02:00
<div class="main-content">
2019-05-08 17:39:07 +02:00
<div *ngIf="this.isAuthenticated()" class="container-fluid">
2019-04-24 11:26:53 +02:00
<div class="row" *ngIf="this.isAuthenticated()">
<div class="col-sm-6 col-md-6 col-lg-6">
2019-05-08 17:39:07 +02:00
<app-wizard title="{{'QUICKWIZARD.CREATE-ADD.CREATE.TITLE' | translate}}" subtitle="Follow the steps of the wizard" routerLink="/quick-wizard" icon="play_circle_outline"></app-wizard>
2019-04-24 11:26:53 +02:00
</div>
<div class="col-sm-6 col-md-6 col-lg-6">
2019-05-08 17:39:07 +02:00
<app-wizard title="{{'QUICKWIZARD.CREATE-ADD.ADD.TITLE' | translate}}" subtitle="Follow the steps of the wizard" routerLink="/datasetcreatewizard" icon="play_circle_outline"></app-wizard>
2019-04-24 11:26:53 +02:00
</div>
</div>
<div class="row">
<div class="col-md-9">
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6">
2019-05-08 17:39:07 +02:00
<app-info-counter [title]="'DASHBOARD.MY-DMPS'" [subtitle]="dashboardStatisticsData?.totalDataManagementPlanCount" routerLink='/plans' buttonRedirectLink="/plans/new" icon="view_agenda"></app-info-counter>
2019-04-24 11:26:53 +02:00
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
2019-05-08 17:39:07 +02:00
<app-info-counter [title]="'DASHBOARD.MY-DATASETS'" [subtitle]="dashboardStatisticsData?.totalDataSetCount" routerLink='/datasets' buttonRedirectLink="/datasets/new" icon="library_books"></app-info-counter>
2019-04-24 11:26:53 +02:00
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
2019-05-08 17:39:07 +02:00
<app-info-counter [title]="'DASHBOARD.MY-PROJECTS'" [subtitle]="dashboardStatisticsData?.totalProjectCount" routerLink='/projects' buttonRedirectLink="/projects/new" icon="work_outline"></app-info-counter>
2019-04-24 11:26:53 +02:00
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
2019-05-08 17:39:07 +02:00
<app-info-counter title="Related Organizations" [subtitle]="dashboardStatisticsData?.totalOrganisationCount" icon="scatter_plot"></app-info-counter>
2019-04-24 11:26:53 +02:00
</div>
</div>
<div class="row">
2019-04-24 11:26:53 +02:00
<div class="col-lg-12 col-md-12">
<app-recent-edited-activity></app-recent-edited-activity>
</div>
</div>
2019-04-24 11:26:53 +02:00
</div>
<div class="col-md-3">
<app-drafts></app-drafts>
</div>
</div>
</div>
2019-05-08 17:39:07 +02:00
<div *ngIf="!this.isAuthenticated()" class="container-fluid">
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6">
<app-info-counter [title]="'DASHBOARD.DMPS'" [subtitle]="dashboardStatisticsData?.totalDataManagementPlanCount" routerLink='/plans' buttonRedirectLink="/plans/new" icon="view_agenda"></app-info-counter>
2018-11-27 18:33:17 +01:00
</div>
2019-05-08 17:39:07 +02:00
<div class="col-lg-3 col-md-6 col-sm-6">
<app-info-counter [title]="'DASHBOARD.DATASETS'" [subtitle]="dashboardStatisticsData?.totalDataSetCount" routerLink='/datasets' buttonRedirectLink="/datasets/new" icon="library_books"></app-info-counter>
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
<app-info-counter [title]="'DASHBOARD.PROJECTS'" [subtitle]="dashboardStatisticsData?.totalProjectCount" routerLink='/projects' buttonRedirectLink="/projects/new" icon="work_outline"></app-info-counter>
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
<app-info-counter title="Related Organizations" [subtitle]="dashboardStatisticsData?.totalOrganisationCount" icon="scatter_plot"></app-info-counter>
2019-03-06 11:03:02 +01:00
</div>
2018-11-27 18:33:17 +01:00
</div>
</div>
2019-05-08 17:39:07 +02:00
</div>