<!--
Copyright 2017 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<div fxLayoutAlign="center">
  <kd-card fxFlex="none"
           [expandable]="false">
    <div title
         fxLayout>
      <mat-icon class="kd-error-icon">error_outline</mat-icon>
      <div>{{getErrorStatus()}}</div>
    </div>

    <div content>
      {{getErrorData()}}
    </div>
  </kd-card>
</div>


<!--<div class="kd-error-center-fixed">
  <div layout="column"
       layout-align="center center">
    <div flex="auto"
         class="kd-error-block">
      <h2 class="md-headline kd-error-view-header">
        <i class="material-icons kd-error-view-icon">error_outline</i>
        <span>{{ctrl.getErrorStatus()}}</span>
      </h2>
      <pre ng-class="{'kd-error-spacer': ctrl.isKnownError()}">{{ctrl.getErrorData()}}</pre>
      <pre ng-if="ctrl.isNotFoundError()">[[Redirecting to previous state in 3 seconds...|Redirect info in case of 404 error.]]</pre>
      <div ng-if="!ctrl.isKnownError()"
           layout="row"
           layout-align="end center">
        <a ng-href="{{ctrl.getLinkToFeedbackPage()}}">
          <md-button class="kd-error-feedback-button">
            [[Send feedback|Label for a button displayed on error page used to send feedback to GitHub new issue.]]
          </md-button>
        </a>
      </div>
    </div>
  </div>
</div>
-->
