Responsive improvements

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-12-31 15:46:46 +02:00
parent b936addfea
commit a11d25b181
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
5 changed files with 62 additions and 62 deletions

View file

@ -2,7 +2,7 @@
.dashboard.row .dashboard.row
.activities.col-md-8 .activities.col-md-8
= render 'activities' = render 'activities'
.side.col-md-4.hidden-xs.hidden-sm .side.col-md-4
= render 'sidebar' = render 'sidebar'
- else - else

View file

@ -8,14 +8,13 @@
%span.separator %span.separator
%h1.project_name= title %h1.project_name= title
.hidden-xs.hidden-sm
%ul.nav.navbar-nav %ul.nav.navbar-nav
%li %li
%a %a
%div.gl-hide.turbolink-spinner %div.gl-hide.turbolink-spinner
%i.icon-refresh.icon-spin %i.icon-refresh.icon-spin
Loading... Loading...
%li %li.hidden-sm
= render "layouts/search" = render "layouts/search"
%li %li
= link_to public_root_path, title: "Public area", class: 'has_bottom_tooltip', 'data-original-title' => 'Public area' do = link_to public_root_path, title: "Public area", class: 'has_bottom_tooltip', 'data-original-title' => 'Public area' do

View file

@ -18,7 +18,7 @@
%li.pull-right %li.pull-right
.pull-right .pull-right
= form_tag project_issues_path(@project), method: :get, id: "issue_search_form", class: 'inline issue-search-form' do = form_tag project_issues_path(@project), method: :get, id: "issue_search_form", class: 'inline issue-search-form' do
.append-right-10 .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' } = search_field_tag :issue_search, nil, { placeholder: 'Filter by title or description', class: 'form-control issue_search search-text-input' }
- if can? current_user, :write_issue, @project - if can? current_user, :write_issue, @project
= link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "btn btn-new", title: "New Issue", id: "new_issue_link" do = link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "btn btn-new", title: "New Issue", id: "new_issue_link" do

View file

@ -1,4 +1,4 @@
.side-filters .side-filters.hidden-xs.hidden-sm
= form_tag filter_path(entity), method: 'get' do = form_tag filter_path(entity), method: 'get' do
%fieldset.scope-filter %fieldset.scope-filter
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
@ -24,7 +24,7 @@
= link_to filter_path(entity, status: 'all') do = link_to filter_path(entity, status: 'all') do
All All
%fieldset.hidden-xs.hidden-sm %fieldset
%legend Projects %legend Projects
%ul.nav.nav-pills.nav-pills-small.nav-stacked %ul.nav.nav-pills.nav-pills-small.nav-stacked
- @projects.each do |project| - @projects.each do |project|

View file

@ -1,3 +1,4 @@
.side-filters.hidden-xs.hidden-sm
= form_tag project_entities_path, method: 'get' do = form_tag project_entities_path, method: 'get' do
%fieldset %fieldset
- if current_user - if current_user