This repository has been archived by the owner on May 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ui_improvements' into 'master'
UI improvements https://dev.gitlab.org/gitlab/gitlab-ci/issues/190 * move admin pages to the admin menu * remove confusing project show page ![joxi_screenshot_1428498118775](https://gitlab.com/gitlab-org/gitlab-ci/uploads/53354051ebd61d4318f77ce80fbf11a4/joxi_screenshot_1428498118775.png) See merge request !58
- Loading branch information
Showing
13 changed files
with
61 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
class Admin::ApplicationController < ApplicationController | ||
before_filter :authenticate_user! | ||
before_filter :authenticate_admin! | ||
|
||
layout "admin" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
%ul.nav.nav-pills.nav-stacked.admin-menu | ||
= nav_link path: 'projects' do | ||
= link_to admin_projects_path do | ||
%i.icon-list-alt | ||
Projects | ||
= nav_link path: 'events' do | ||
= link_to admin_events_path do | ||
%i.icon-bar-chart | ||
Events | ||
= nav_link path: 'runners#index' do | ||
= link_to admin_runners_path do | ||
%i.icon-cog | ||
Runners | ||
= nav_link path: 'builds' do | ||
= link_to admin_builds_path do | ||
%i.icon-link | ||
Builds | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
!!! 5 | ||
%html{ lang: "en"} | ||
= render 'layouts/head' | ||
%body{ :'data-page' => body_data_page } | ||
= render 'layouts/nav' | ||
= render 'layouts/info' | ||
.container | ||
%h3 | ||
- if content_for?(:title) | ||
= yield(:title) | ||
|
||
%hr | ||
.container | ||
.row | ||
.col-md-2.append-bottom-20 | ||
= render 'layouts/nav_admin' | ||
.col-md-10 | ||
= yield |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters