Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #924 from msfernandes/admin_dashboard
Browse files Browse the repository at this point in the history
Refactored admin dashboard on small screens
  • Loading branch information
mssola committed Jun 7, 2016
2 parents 6409cc1 + 368b3bf commit 213b734
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions app/views/admin/dashboard/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,48 @@
| The Portus user does not exist!

.row
.col-md-3.col-xs-6.registries
.col-md-3.col-sm-12.registries
.panel-overview
.panel-heading
= link_to 'Registry', admin_registries_path
.panel-body
.row
.col-xs-4
.col-xs-3.col-md-4
i.fa.fa-server.registries.fa-2x
.col-xs-8
.col-xs-9.col-md-8
span.fa-3x= Registry.count

.col-md-3.col-xs-6.users
.col-md-3.col-xs-12.users
.panel-overview
.panel-heading
= link_to 'Users', admin_users_path
.panel-body
.row
.col-xs-4
.col-xs-3.col-md-4
i.fa.fa-user.users.fa-2x
.col-xs-8
.col-xs-9.col-md-8
span.fa-3x= User.enabled.count

.col-md-3.col-xs-6.teams
.col-md-3.col-xs-12.teams
.panel-overview
.panel-heading
= link_to 'Teams', admin_teams_path
.panel-body
.row
.col-xs-4
.col-xs-3.col-md-4
i.fa.fa-users.teams.fa-2x
.col-xs-8
.col-xs-9.col-md-8
span.fa-3x= Team.all_non_special.count

.col-md-3.col-xs-6.namespaces
.col-md-3.col-xs-12.namespaces
.panel-overview
.panel-heading
= link_to 'Namespaces', admin_namespaces_path
.panel-body
.row
.col-xs-4
.col-xs-3.col-md-4
i.fa.fa-ship.namespaces.fa-2x
.col-xs-8
.col-xs-9.col-md-8
span.fa-3x= Namespace.count

.panel.panel-default
Expand Down

0 comments on commit 213b734

Please sign in to comment.