Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJob van der Voort <job@gitlab.com>2014-06-15 00:44:23 +0400
committerJob van der Voort <job@gitlab.com>2014-06-15 00:44:23 +0400
commit204fee4f41cafedbb30d4c68793985a9e3ea84e4 (patch)
tree38d7ebf6de2bd0045ad810107c8d735d39b60d35 /app/views
parent9c843041faf000a76bd2b542f594c061dab45c3a (diff)
move all sidebars to one side for improved UX; add button in head of projects/issues and milestones instead of tab on side of screen to prevent overlapping of content
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/dashboard/issues.html.haml4
-rwxr-xr-xapp/views/dashboard/merge_requests.html.haml4
-rw-r--r--app/views/dashboard/show.html.haml2
-rw-r--r--app/views/groups/issues.html.haml4
-rw-r--r--app/views/groups/merge_requests.html.haml4
-rw-r--r--app/views/projects/issues/_head.html.haml7
-rw-r--r--app/views/projects/issues/index.html.haml4
-rw-r--r--app/views/projects/merge_requests/index.html.haml4
-rw-r--r--app/views/projects/milestones/index.html.haml4
9 files changed, 22 insertions, 15 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml
index 670755b8996..9888da2f7f2 100755
--- a/app/views/dashboard/issues.html.haml
+++ b/app/views/dashboard/issues.html.haml
@@ -7,9 +7,9 @@
%hr
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
= render 'shared/filter', entity: 'issue'
.col-md-9
= render 'shared/issues'
diff --git a/app/views/dashboard/merge_requests.html.haml b/app/views/dashboard/merge_requests.html.haml
index 0a87eedaecc..ee3bec2849d 100755
--- a/app/views/dashboard/merge_requests.html.haml
+++ b/app/views/dashboard/merge_requests.html.haml
@@ -7,9 +7,9 @@
List all merge requests from all projects you have access to.
%hr
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
= render 'shared/filter', entity: 'merge_request'
.col-md-9
= render 'shared/merge_requests'
diff --git a/app/views/dashboard/show.html.haml b/app/views/dashboard/show.html.haml
index b81eed76001..306b71717ef 100644
--- a/app/views/dashboard/show.html.haml
+++ b/app/views/dashboard/show.html.haml
@@ -5,7 +5,7 @@
.side.col-md-4.left.responsive-side
= render 'sidebar'
- .sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md
%i.icon-list.icon-2x
- else
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index 7c6042b8ba3..0eec2d6be0b 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -11,9 +11,9 @@
%hr
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
= render 'shared/filter', entity: 'issue'
.col-md-9
= render 'shared/issues'
diff --git a/app/views/groups/merge_requests.html.haml b/app/views/groups/merge_requests.html.haml
index 817790f06ce..71adb2c5516 100644
--- a/app/views/groups/merge_requests.html.haml
+++ b/app/views/groups/merge_requests.html.haml
@@ -10,9 +10,9 @@
To see all merge requests you should visit #{link_to 'dashboard', merge_requests_dashboard_path} page.
%hr
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
= render 'shared/filter', entity: 'merge_request'
.col-md-9
= render 'shared/merge_requests'
diff --git a/app/views/projects/issues/_head.html.haml b/app/views/projects/issues/_head.html.haml
index f1e866c8e9d..716ea7cefed 100644
--- a/app/views/projects/issues/_head.html.haml
+++ b/app/views/projects/issues/_head.html.haml
@@ -9,6 +9,11 @@
= nav_link(controller: :labels) do
= link_to 'Labels', project_labels_path(@project), class: "tab"
+ - if current_controller?(:milestones)
+ %li.pull-right
+ %button.btn.btn-default.sidebar-expand-button
+ %i.icon.icon-list
+
- if current_controller?(:issues)
- if current_user
%li
@@ -17,6 +22,8 @@
%li.pull-right
.pull-right
+ %button.btn.btn-default.sidebar-expand-button
+ %i.icon.icon-list
= form_tag project_issues_path(@project), method: :get, id: "issue_search_form", class: 'pull-left issue-search-form' do
.append-right-10.hidden-xs.hidden-sm
= search_field_tag :issue_search, nil, { placeholder: 'Filter by title or description', class: 'form-control issue_search search-text-input input-mn-300' }
diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml
index e527b7bc2c8..2e66d059565 100644
--- a/app/views/projects/issues/index.html.haml
+++ b/app/views/projects/issues/index.html.haml
@@ -1,8 +1,8 @@
= render "head"
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.fixed.sidebar-expand-button.hidden-lg.hidden-md.hidden-xs
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
= render 'shared/project_filter', project_entities_path: project_issues_path(@project),
labels: true, redirect: 'issues'
.col-md-9.issues-holder
diff --git a/app/views/projects/merge_requests/index.html.haml b/app/views/projects/merge_requests/index.html.haml
index 919efc5fa16..4bb803eb6df 100644
--- a/app/views/projects/merge_requests/index.html.haml
+++ b/app/views/projects/merge_requests/index.html.haml
@@ -7,9 +7,9 @@
%span (#{@merge_requests.total_count})
%hr
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
= render 'shared/project_filter', project_entities_path: project_merge_requests_path(@project),
labels: true, redirect: 'merge_requests'
.col-md-9
diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml
index 4b44d68a919..f0e48a51777 100644
--- a/app/views/projects/milestones/index.html.haml
+++ b/app/views/projects/milestones/index.html.haml
@@ -8,9 +8,9 @@
New Milestone
.row
- .left.sidebar-expand-button.hidden-lg.hidden-md
+ .fixed.sidebar-expand-button.hidden-lg.hidden-md.hidden-xs
%i.icon-list.icon-2x
- .col-md-3.responsive-side-left
+ .col-md-3.responsive-side
%ul.nav.nav-pills.nav-stacked
%li{class: ("active" if (params[:f] == "active" || !params[:f]))}
= link_to project_milestones_path(@project, f: "active") do