issue search styleup
This commit is contained in:
parent
7d773ecb40
commit
fb01f45890
3 changed files with 49 additions and 30 deletions
|
@ -681,3 +681,20 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top_panel_issues{
|
||||||
|
#issue_search_form {
|
||||||
|
margin:5px 0;
|
||||||
|
input {
|
||||||
|
border:1px solid #D3D3D3;
|
||||||
|
padding: 3px;
|
||||||
|
height: 20px;
|
||||||
|
width: 300px;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
border-color:#c2e1ef;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
%div
|
%div
|
||||||
|
.top_panel_issues
|
||||||
- if can? current_user, :write_issue, @project
|
- if can? current_user, :write_issue, @project
|
||||||
.left
|
%div{:class => "left", :style => "margin-right: 10px;" }
|
||||||
= form_tag search_project_issues_path(@project), :method => :get, :remote => true do
|
= link_to 'New Issue', new_project_issue_path(@project), :remote => true, :class => "lbutton vm"
|
||||||
|
= form_tag search_project_issues_path(@project), :method => :get, :remote => true, :class => :left, :id => "issue_search_form" do
|
||||||
= hidden_field_tag :project_id, @project.id, { :id => 'project_id' }
|
= hidden_field_tag :project_id, @project.id, { :id => 'project_id' }
|
||||||
= search_field_tag :issue_search, nil, { :placeholder => 'Search', :class => 'issue_search' }
|
= search_field_tag :issue_search, nil, { :placeholder => 'Search', :class => 'issue_search' }
|
||||||
= link_to 'New Issue', new_project_issue_path(@project), :remote => true, :class => "lbutton vm"
|
|
||||||
|
|
||||||
.right
|
.right
|
||||||
= form_tag project_issues_path(@project), :method => :get do
|
= form_tag project_issues_path(@project), :method => :get do
|
||||||
|
|
|
@ -4,9 +4,8 @@
|
||||||
# Ensure the SQLite 3 gem is defined in your Gemfile
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
||||||
# gem 'sqlite3'
|
# gem 'sqlite3'
|
||||||
development:
|
development:
|
||||||
adapter: mysql2
|
adapter: sqlite3
|
||||||
database: gitlab_development
|
database: db/development.sqlite3
|
||||||
username: root
|
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
|
@ -14,11 +13,13 @@ development:
|
||||||
# re-generated from your development database when you run "rake".
|
# re-generated from your development database when you run "rake".
|
||||||
# Do not set this db to the same as development or production.
|
# Do not set this db to the same as development or production.
|
||||||
test:
|
test:
|
||||||
adapter: mysql2
|
adapter: sqlite3
|
||||||
database: gitlab_development
|
database: db/test.sqlite3
|
||||||
username: root
|
pool: 5
|
||||||
|
timeout: 5000
|
||||||
|
|
||||||
production:
|
production:
|
||||||
adatper: mysql2
|
adapter: sqlite3
|
||||||
database: gitlab_test
|
database: db/production.sqlite3
|
||||||
username: root
|
pool: 5
|
||||||
|
timeout: 5000
|
||||||
|
|
Loading…
Reference in a new issue