polishing UI a bit. Added footer links for dashboard

This commit is contained in:
Dmitriy Zaporozhets 2012-09-19 09:14:07 +03:00
parent 6d8d32c244
commit bf625b7c92
11 changed files with 117 additions and 71 deletions

View file

@ -3,8 +3,8 @@
= label_tag :search do
%strong Looking for
.input
= text_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge", id: "dashboard_search"
= submit_tag 'Search', class: "btn primary"
= search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge search-text-input", id: "dashboard_search"
= submit_tag 'Search', class: "btn primary wide"
- if params[:search].present?
%br
%h3
@ -15,8 +15,9 @@
.row
.span6
%table
%tr
%th Projects
%thead
%tr
%th Projects
%tbody
- @projects.each do |project|
%tr
@ -32,8 +33,9 @@
%h4.nothing_here_message No Projects
%br
%table
%tr
%th Merge Requests
%thead
%tr
%th Merge Requests
%tbody
- @merge_requests.each do |merge_request|
%tr
@ -50,8 +52,9 @@
%h4.nothing_here_message No Merge Requests
.span6
%table
%tr
%th Issues
%thead
%tr
%th Issues
%tbody
- @issues.each do |issue|
%tr