<div id="main">
    <!--<mat-toolbar color="#003561" [ngSwitch]="currentPageNumber">
             <mat-icon *ngSwitchCase="'0'">menu</mat-icon>
            <cuppa-slidemenu *ngSwitchCase="'0'" [menulist]="menuItemsArray" (open)="onMenuOpen()" (close)="onMenuClose()" (onItemSelect)="onItemSelect($event)"></cuppa-slidemenu>
            <a *ngSwitchDefault (click)="navigateBack()" class="back">
                <mat-icon>arrow_back</mat-icon>
            </a>
            <span>{{currentPageData.title}}</span>
            <span class="fill-remaining-space"></span>
            <div class="user-role-info" (click)="changeRole()" [ngClass]="roleStatus ? 'showRole' : 'hideRole'">
                {{selectedRole}} Playground
                <span class="glyphicon glyphicon-triangle-bottom arrow-icon"></span>
            </div>
            <div class="usr-info-avatar" [appEmployeeLogout]='cardLogout'>
                <p>{{ initials }}</p>
            </div>
            <app-employee-logout hidden='false' #cardLogout></app-employee-logout>
        </mat-toolbar>-->
    <app-header [getColor]="'#003561'" [changeNavIcon]="false" [getAvatarName]="initials" [getcurrentPageNumber]="currentPageNumber" [getBackLink]="backLink" [getcurrentPageData]="currentPageData" [menuListItem]="menuItemsArray" [disableUserInfoNav]="onlyOneRole"
        [roleStatus]="roleStatus" (openHeaderMenu)="onMenuOpen()" (closeHeaderMenu)="onMenuClose()" (itemSelectedInMenu)="onItemSelect($event)" (getchangedRole)='changeRole($event)' (initFeedbackModal)="openFeedModal($event)">
    </app-header>
    <button id="openVideoModalButton" [hidden]="true" data-toggle="modal" data-target="#videoModal">Open Modal</button>
    <!-- Modal -->
    <div id="videoModal" class="modal fade skill-modal" role="dialog">
        <div class="modal-dialog admin-modal-dialog">

            <!-- Modal content-->
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" (click)="vidStop(videoPlayer)">&times;</button>
                    <h4 class="modal-title">{{vidName}}</h4>
                </div>
                <div class="modal-body admin-modal-body">
                    <p class="modal-body-title">&nbsp;</p>
                    <div class="row">
                        <video width="640" height="100%" [src]="getEmbedURL(showVideos)" controls #videoPlayer>
                                Your browser does not support HTML5 video.
                            </video>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="modal-btn btn-primary" data-dismiss="modal" (click)="vidStop(videoPlayer)">Close</button>
                    <!-- <button type="button" (click)="nominate(true)" class="modal-btn btn-confirm" data-dismiss="modal">SEND</button> -->
                </div>
            </div>

        </div>
    </div>
    <div *ngIf="roleStatus" class="show-role-details">
        <div class="close-icon">
            <a (click)="changeRole()">
                <img src="{{imageUrl}}/assets/img/employee/post_login/close-icon.png" alt="close">
            </a>
        </div>
        <app-employee (closeNav)="closeNavDetails($event)"></app-employee>
    </div>
    <router-outlet></router-outlet>

    <div *ngIf='showButtonPlus && currentPageNumber == 0' id="dashboard-navigation-button" class="container">
        <div class="dropup">
            <a data-toggle="dropdown">
                <img src="{{img_path_prefix + 'add_button' + img_path_suffix }}">
            </a>
            <ul class="dropdown-menu">
                <li *ngFor="let item of navItems" [routerLink]="item.link">
                    <p>{{item.title}}</p>
                </li>
            </ul>
        </div>
    </div>
    <app-feedbackmodal [openTheFdM]="frmCandD" (closeTheFdM)="closeFdModal($event)" *ngIf="frmCandD"></app-feedbackmodal>
</div>
<app-employee-sandbox-progress-icon *ngIf='dataState.show || false' [dataState]='dataState'></app-employee-sandbox-progress-icon>
<app-chat-footer></app-chat-footer>
