Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
93401ef9
Commit
93401ef9
authored
Aug 17, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Few css improvements
parent
813814f0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
+15
-14
app/views/commits/_commit_box.html.haml
app/views/commits/_commit_box.html.haml
+3
-3
app/views/issues/_form.html.haml
app/views/issues/_form.html.haml
+6
-6
app/views/issues/index.html.haml
app/views/issues/index.html.haml
+3
-2
app/views/milestones/_form.html.haml
app/views/milestones/_form.html.haml
+3
-3
No files found.
app/views/commits/_commit_box.html.haml
View file @
93401ef9
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
%span
.btn.disabled.grouped
%span
.btn.disabled.grouped
%i
.icon-comment
%i
.icon-comment
=
@notes_count
=
@notes_count
=
link_to
patch_project_commit_path
(
@project
,
@commit
.
id
),
class:
"btn small grouped"
do
=
link_to
patch_project_commit_path
(
@project
,
@commit
.
id
),
class:
"btn small grouped"
do
%i
.icon-download-alt
%i
.icon-download-alt
Get Patch
Get Patch
=
link_to
tree_project_ref_path
(
@project
,
@commit
.
id
),
class:
"browse-button primary grouped"
do
=
link_to
tree_project_ref_path
(
@project
,
@commit
.
id
),
class:
"browse-button primary grouped"
do
%strong
Browse Code »
%strong
Browse Code »
%h3
.commit-title.page_title
%h3
.commit-title.page_title
=
gfm
@commit
.
title
=
gfm
@commit
.
title
...
...
app/views/issues/_form.html.haml
View file @
93401ef9
%div
.issue-form-holder
%div
.issue-form-holder
%h3
=
@issue
.
new_record?
?
"New Issue"
:
"Edit Issue #
#{
@issue
.
id
}
"
%h3
.page_title
=
@issue
.
new_record?
?
"New Issue"
:
"Edit Issue #
#{
@issue
.
id
}
"
=
form_for
[
@project
,
@issue
],
remote:
request
.
xhr?
do
|
f
|
=
form_for
[
@project
,
@issue
],
remote:
request
.
xhr?
do
|
f
|
-
if
@issue
.
errors
.
any?
-
if
@issue
.
errors
.
any?
.alert-message.block-message.error
.alert-message.block-message.error
...
@@ -9,26 +9,26 @@
...
@@ -9,26 +9,26 @@
.issue_form_box
.issue_form_box
.issue_title
.issue_title
.clearfix
.clearfix
=
f
.
label
:title
do
=
f
.
label
:title
do
%strong
=
"Subject *"
%strong
=
"Subject *"
.input
.input
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"xxlarge"
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"xxlarge"
.issue_middle_block
.issue_middle_block
.issue_assignee
.issue_assignee
=
f
.
label
:assignee_id
do
=
f
.
label
:assignee_id
do
%i
.icon-user
%i
.icon-user
Assign to
Assign to
.input
=
f
.
select
(
:assignee_id
,
@project
.
users
.
all
.
collect
{
|
p
|
[
p
.
name
,
p
.
id
]
},
{
include_blank:
"Select a user"
})
.input
=
f
.
select
(
:assignee_id
,
@project
.
users
.
all
.
collect
{
|
p
|
[
p
.
name
,
p
.
id
]
},
{
include_blank:
"Select a user"
})
.issue_milestone
.issue_milestone
=
f
.
label
:milestone_id
do
=
f
.
label
:milestone_id
do
%i
.icon-time
%i
.icon-time
Milestone
Milestone
.input
=
f
.
select
(
:milestone_id
,
@project
.
milestones
.
active
.
all
.
collect
{
|
p
|
[
p
.
title
,
p
.
id
]
},
{
include_blank:
"Select milestone"
})
.input
=
f
.
select
(
:milestone_id
,
@project
.
milestones
.
active
.
all
.
collect
{
|
p
|
[
p
.
title
,
p
.
id
]
},
{
include_blank:
"Select milestone"
})
.issue_description
.issue_description
.clearfix
.clearfix
=
f
.
label
:label_list
do
=
f
.
label
:label_list
do
%i
.icon-tag
%i
.icon-tag
Labels
Labels
.input
.input
=
f
.
text_field
:label_list
,
maxlength:
2000
,
class:
"xxlarge"
=
f
.
text_field
:label_list
,
maxlength:
2000
,
class:
"xxlarge"
...
...
app/views/issues/index.html.haml
View file @
93401ef9
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
.span5
.span5
-
if
can?
current_user
,
:write_issue
,
@project
-
if
can?
current_user
,
:write_issue
,
@project
=
link_to
new_project_issue_path
(
@project
),
class:
"right btn small"
,
title:
"New Issue"
,
remote:
true
do
=
link_to
new_project_issue_path
(
@project
),
class:
"right btn small"
,
title:
"New Issue"
,
remote:
true
do
%i
.icon-plus
New Issue
New Issue
=
form_tag
search_project_issues_path
(
@project
),
method: :get
,
remote:
true
,
id:
"issue_search_form"
,
class: :right
do
=
form_tag
search_project_issues_path
(
@project
),
method: :get
,
remote:
true
,
id:
"issue_search_form"
,
class: :right
do
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
id:
'project_id'
}
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
id:
'project_id'
}
...
@@ -21,7 +22,7 @@
...
@@ -21,7 +22,7 @@
.issues_bulk_update.hide
.issues_bulk_update.hide
=
form_tag
bulk_update_project_issues_path
(
@project
),
method: :post
do
=
form_tag
bulk_update_project_issues_path
(
@project
),
method: :post
do
%span
.update_issues_text
Update selected issues with
%span
.update_issues_text
Update selected issues with
.left
.left
=
select_tag
(
'update[status]'
,
options_for_select
([
'open'
,
'closed'
]),
prompt:
"Status"
)
=
select_tag
(
'update[status]'
,
options_for_select
([
'open'
,
'closed'
]),
prompt:
"Status"
)
...
@@ -53,7 +54,7 @@
...
@@ -53,7 +54,7 @@
=
select_tag
(
:milestone_id
,
options_from_collection_for_select
([
unassigned_filter
]
+
@project
.
milestones
.
order
(
"id desc"
).
all
,
"id"
,
"title"
,
params
[
:milestone_id
]),
prompt:
"Milestone"
)
=
select_tag
(
:milestone_id
,
options_from_collection_for_select
([
unassigned_filter
]
+
@project
.
milestones
.
order
(
"id desc"
).
all
,
"id"
,
"title"
,
params
[
:milestone_id
]),
prompt:
"Milestone"
)
=
hidden_field_tag
:f
,
params
[
:f
]
=
hidden_field_tag
:f
,
params
[
:f
]
.clearfix
.clearfix
%ul
#issues-table
.unstyled.issues_table
%ul
#issues-table
.unstyled.issues_table
=
render
"issues"
=
render
"issues"
...
...
app/views/milestones/_form.html.haml
View file @
93401ef9
%h3
=
@milestone
.
new_record?
?
"New Milestone"
:
"Edit Milestone #
#{
@milestone
.
id
}
"
%h3
.page_title
=
@milestone
.
new_record?
?
"New Milestone"
:
"Edit Milestone #
#{
@milestone
.
id
}
"
.back_link
.back_link
=
link_to
project_milestones_path
(
@project
)
do
=
link_to
project_milestones_path
(
@project
)
do
←
To milestones
←
To milestones
...
@@ -17,12 +17,12 @@
...
@@ -17,12 +17,12 @@
=
f
.
label
:title
,
"Title"
,
class:
"control-label"
=
f
.
label
:title
,
"Title"
,
class:
"control-label"
.controls
.controls
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"input-xlarge"
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"input-xlarge"
%p
.h
elp-block
Required
%p
.h
int
Required
.control-group
.control-group
=
f
.
label
:description
,
"Description"
,
class:
"control-label"
=
f
.
label
:description
,
"Description"
,
class:
"control-label"
.controls
.controls
=
f
.
text_area
:description
,
maxlength:
2000
,
class:
"input-xlarge"
,
rows:
10
=
f
.
text_area
:description
,
maxlength:
2000
,
class:
"input-xlarge"
,
rows:
10
%p
.h
elp-block
Markdown is enabled.
%p
.h
int
Markdown is enabled.
.span6
.span6
.control-group
.control-group
=
f
.
label
:due_date
,
"Due Date"
,
class:
"control-label"
=
f
.
label
:due_date
,
"Due Date"
,
class:
"control-label"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment