Skip to content
Snippets Groups Projects
Commit 0dbdda1c authored by Kyle Doherty's avatar Kyle Doherty
Browse files

centered layout of error

parent 2994caad
No related merge requests found
<div class="Dashboard">
<div class="wrapper">
<div class="text-centered my4 py4" ng-if="!dashboardLoaded">
<div class="Dashboard full-height">
<div class="wrapper full-height" ng-if="dashboardLoaded && dashboardLoadError">
<div class="full-height text-centered flex layout-centered">
<h2 class="text-error text-grey-1">{{dashboardLoadError}}</h2>
</div>
</div>
<div class="text-centered my4 py4" ng-if="!dashboardLoaded">
<div class="wrapper">
<div class="my4 py4 text-brand">
<mb-loading-icon></mb-loading-icon>
<h1 class="text-normal text-grey-2">Loading...</h1>
</div>
</div>
</div>
<div class="text-centered my4 py4" ng-if="dashboardLoaded && dashboardLoadError">
<div class="my4 py4 text-error">
<h1 class="text-error text-grey-2">{{dashboardLoadError}}</h1>
</div>
</div>
<header class="py2 px2 clearfix" ng-if="dashboardLoaded && !dashboardLoadError">
<div class="wrapper" ng-if="dashboardLoaded && !dashboardLoadError">
<header class="py2 px2 clearfix">
<div class="float-right">
<!-- <a class="Button" ng-click="toggleSubscribe()" ng-if="dashboard">{{toggleSubscribeButtonText()}}</a> -->
<!-- <a class="Button" ng-click="toggleSubscribe()" ng-if="dashboard">{{toggleSubscribeButtonText()}}</a> -->
<div class="mx1 inline-block">
<label class="Select">
<select class="block" ng-model="dashboard.public_perms" ng-change="inlineSave(dashboard)" ng-options="perm.id as perm.name for perm in utils.perms" ng-disabled="!dashboard.can_write">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment