Commit 93401ef9887b297343d5bf33b4fbf39f13090894
1 parent
813814f0
Exists in
master
and in
4 other branches
Few css improvements
Showing
4 changed files
with
15 additions
and
14 deletions
Show diff stats
app/views/commits/_commit_box.html.haml
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 | %span.btn.disabled.grouped |
6 | 6 | %i.icon-comment |
7 | 7 | = @notes_count |
8 | - = link_to patch_project_commit_path(@project, @commit.id), class: "btn small grouped" do | |
8 | + = link_to patch_project_commit_path(@project, @commit.id), class: "btn small grouped" do | |
9 | 9 | %i.icon-download-alt |
10 | - Get Patch | |
11 | - = link_to tree_project_ref_path(@project, @commit.id), class: "browse-button primary grouped" do | |
10 | + Get Patch | |
11 | + = link_to tree_project_ref_path(@project, @commit.id), class: "browse-button primary grouped" do | |
12 | 12 | %strong Browse Code » |
13 | 13 | %h3.commit-title.page_title |
14 | 14 | = gfm @commit.title | ... | ... |
app/views/issues/_form.html.haml
1 | 1 | %div.issue-form-holder |
2 | - %h3= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" | |
2 | + %h3.page_title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" | |
3 | 3 | = form_for [@project, @issue], remote: request.xhr? do |f| |
4 | 4 | -if @issue.errors.any? |
5 | 5 | .alert-message.block-message.error |
... | ... | @@ -9,26 +9,26 @@ |
9 | 9 | .issue_form_box |
10 | 10 | .issue_title |
11 | 11 | .clearfix |
12 | - = f.label :title do | |
12 | + = f.label :title do | |
13 | 13 | %strong= "Subject *" |
14 | 14 | .input |
15 | 15 | = f.text_field :title, maxlength: 255, class: "xxlarge" |
16 | 16 | .issue_middle_block |
17 | 17 | .issue_assignee |
18 | - = f.label :assignee_id do | |
18 | + = f.label :assignee_id do | |
19 | 19 | %i.icon-user |
20 | 20 | Assign to |
21 | 21 | .input= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { include_blank: "Select a user" }) |
22 | 22 | .issue_milestone |
23 | - = f.label :milestone_id do | |
23 | + = f.label :milestone_id do | |
24 | 24 | %i.icon-time |
25 | 25 | Milestone |
26 | 26 | .input= f.select(:milestone_id, @project.milestones.active.all.collect {|p| [ p.title, p.id ] }, { include_blank: "Select milestone" }) |
27 | 27 | |
28 | 28 | .issue_description |
29 | 29 | .clearfix |
30 | - = f.label :label_list do | |
31 | - %i.icon-tag | |
30 | + = f.label :label_list do | |
31 | + %i.icon-tag | |
32 | 32 | Labels |
33 | 33 | .input |
34 | 34 | = f.text_field :label_list, maxlength: 2000, class: "xxlarge" | ... | ... |
app/views/issues/index.html.haml
... | ... | @@ -7,6 +7,7 @@ |
7 | 7 | .span5 |
8 | 8 | - if can? current_user, :write_issue, @project |
9 | 9 | = link_to new_project_issue_path(@project), class: "right btn small", title: "New Issue", remote: true do |
10 | + %i.icon-plus | |
10 | 11 | New Issue |
11 | 12 | = form_tag search_project_issues_path(@project), method: :get, remote: true, id: "issue_search_form", class: :right do |
12 | 13 | = hidden_field_tag :project_id, @project.id, { id: 'project_id' } |
... | ... | @@ -21,7 +22,7 @@ |
21 | 22 | |
22 | 23 | |
23 | 24 | .issues_bulk_update.hide |
24 | - = form_tag bulk_update_project_issues_path(@project), method: :post do | |
25 | + = form_tag bulk_update_project_issues_path(@project), method: :post do | |
25 | 26 | %span.update_issues_text Update selected issues with |
26 | 27 | .left |
27 | 28 | = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status") |
... | ... | @@ -53,7 +54,7 @@ |
53 | 54 | = select_tag(:milestone_id, options_from_collection_for_select([unassigned_filter] + @project.milestones.order("id desc").all, "id", "title", params[:milestone_id]), prompt: "Milestone") |
54 | 55 | = hidden_field_tag :f, params[:f] |
55 | 56 | .clearfix |
56 | - | |
57 | + | |
57 | 58 | %ul#issues-table.unstyled.issues_table |
58 | 59 | = render "issues" |
59 | 60 | ... | ... |
app/views/milestones/_form.html.haml
1 | -%h3= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}" | |
1 | +%h3.page_title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}" | |
2 | 2 | .back_link |
3 | 3 | = link_to project_milestones_path(@project) do |
4 | 4 | ← To milestones |
... | ... | @@ -17,12 +17,12 @@ |
17 | 17 | = f.label :title, "Title", class: "control-label" |
18 | 18 | .controls |
19 | 19 | = f.text_field :title, maxlength: 255, class: "input-xlarge" |
20 | - %p.help-block Required | |
20 | + %p.hint Required | |
21 | 21 | .control-group |
22 | 22 | = f.label :description, "Description", class: "control-label" |
23 | 23 | .controls |
24 | 24 | = f.text_area :description, maxlength: 2000, class: "input-xlarge", rows: 10 |
25 | - %p.help-block Markdown is enabled. | |
25 | + %p.hint Markdown is enabled. | |
26 | 26 | .span6 |
27 | 27 | .control-group |
28 | 28 | = f.label :due_date, "Due Date", class: "control-label" | ... | ... |