blob: e78f9ffb9fe18ca5370c8bc62502d453ed6e774c [file] [log] [blame]
<!--
******************************************************************************
* Copyright © 2017-2018 PTA GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*
******************************************************************************
-->
<div>
<div id="topcontainer"></div>
<div id="centercontainer">
<div *ngIf="moduleRights" class="row">
<div (click)="goToElogbookIfValid(userModule)" [style.color]="userModule.color" [style.background]="000000" style="padding-top:25px; cursor: pointer;width:300px; height:300px"
*ngFor="let userModule of userModules" class="col-md-4 md-whiteframe-4dp hvr-grow">
<div [style.background-image]="'url(' + userModule.pictureLink + ')'" style=" text-align: center; border-radius: 10px; width:100%; height:100%;">
<div class="title-footer">
<span class="element underline-opening">{{userModule.name}}</span>
</div>
</div>
</div>
</div>
</div>
<div *ngIf="!moduleRights" style="text-align: center;">
<h2>Der Benutzer hat keine Rechte</h2>
<h4>Bitte kontaktieren Sie Ihren Administrator</h4>
</div>
</div>
<div id="bottomcontainer">
</div>