Commit 8f85c5cd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

increate some input width. Added navbar toggle button

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0b017e8e
...@@ -47,3 +47,7 @@ label { ...@@ -47,3 +47,7 @@ label {
.input-mx-250 { .input-mx-250 {
max-width: 250px; max-width: 250px;
} }
.input-mn-300 {
min-width: 300px;
}
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
%br %br
= form_tag admin_groups_path, method: :get, class: 'form-inline' do = form_tag admin_groups_path, method: :get, class: 'form-inline' do
.form-group .form-group
= text_field_tag :name, params[:name], class: "form-control input-xpadding" = text_field_tag :name, params[:name], class: "form-control input-mn-300"
= submit_tag "Search", class: "btn submit btn-primary" = submit_tag "Search", class: "btn submit btn-primary"
%hr %hr
......
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
%span.separator %span.separator
%h1.project_name= title %h1.project_name= title
%button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", type: "button"}
%span.sr-only Toggle navigation
%i.icon-reorder
.navbar-collapse.collapse .navbar-collapse.collapse
%ul.nav.navbar-nav %ul.nav.navbar-nav
%li %li
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.pull-left .pull-left
= form_tag public_projects_path, method: :get, class: 'form-inline form-tiny' do |f| = form_tag public_projects_path, method: :get, class: 'form-inline form-tiny' do |f|
.form-group .form-group
= search_field_tag :search, params[:search], placeholder: "Filter by name", class: "form-control search-text-input", id: "projects_search" = search_field_tag :search, params[:search], placeholder: "Filter by name", class: "form-control search-text-input input-mn-300", id: "projects_search"
.form-group .form-group
= submit_tag 'Search', class: "btn btn-primary wide" = submit_tag 'Search', class: "btn btn-primary wide"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment