Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
0dbdda1c
Commit
0dbdda1c
authored
9 years ago
by
Kyle Doherty
Browse files
Options
Downloads
Patches
Plain Diff
centered layout of error
parent
2994caad
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/frontend_client/app/dashboard/partials/dash_view.html
+13
-11
13 additions, 11 deletions
...ces/frontend_client/app/dashboard/partials/dash_view.html
with
13 additions
and
11 deletions
resources/frontend_client/app/dashboard/partials/dash_view.html
+
13
−
11
View file @
0dbdda1c
<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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment