forked from gitlabhq/gitlab-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dmitriy Zaporozhets <[email protected]>
- Loading branch information
1 parent
eabc0df
commit fff1cf8
Showing
11 changed files
with
47 additions
and
39 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%hr | ||
.container-fluid | ||
.container | ||
.pull-right | ||
%p.light | ||
GitLab CI | ||
|
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,4 @@ | ||
.container-fluid | ||
.container | ||
- if alert || notice | ||
- if alert | ||
.alert= alert | ||
|
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,31 +1,36 @@ | ||
.navbar.navbar-static-top.navbar-ci | ||
.navbar-inner | ||
.container-fluid | ||
= link_to 'GitLab CI', root_path, class: "brand" | ||
%ul.nav | ||
- if current_user && current_user.is_admin | ||
%li | ||
= link_to admin_runners_path do | ||
Runners | ||
%li | ||
= link_to admin_projects_path do | ||
Projects | ||
%li | ||
= link_to 'Help', help_path | ||
.container | ||
.navbar-header | ||
%button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", type: "button"} | ||
%span.sr-only Toggle navigation | ||
%i.icon-reorder | ||
%ul.nav.pull-right | ||
- if current_user | ||
%li | ||
= link_to user_sessions_path do | ||
.profile-holder | ||
= image_tag gravatar_icon(current_user.email, 24) | ||
%span= current_user.name | ||
%li | ||
= link_to user_sessions_path, class: "logout", method: :delete do | ||
%i.icon-signout | ||
Logout | ||
- else | ||
%li | ||
= link_to 'Login', new_user_sessions_path | ||
= link_to 'GitLab CI', root_path, class: "navbar-brand" | ||
.collapse.navbar-collapse | ||
%ul.nav.navbar-nav | ||
- if current_user && current_user.is_admin | ||
%li | ||
= link_to admin_runners_path do | ||
Runners | ||
%li | ||
= link_to admin_projects_path do | ||
Projects | ||
%li | ||
= link_to 'Help', help_path | ||
%ul.nav.navbar-nav.pull-right | ||
- if current_user | ||
%li | ||
= link_to user_sessions_path do | ||
.profile-holder | ||
= image_tag gravatar_icon(current_user.email, 24) | ||
%span= current_user.name | ||
%li | ||
= link_to user_sessions_path, class: "logout", method: :delete do | ||
%i.icon-signout | ||
Logout | ||
- else | ||
%li | ||
= link_to 'Login', new_user_sessions_path |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
- @project.errors.full_messages.each do |msg| | ||
%li= msg | ||
|
||
.row-fluid | ||
.row | ||
.span7 | ||
%fieldset | ||
%legend Build | ||
|