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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
5c1a360f
Commit
5c1a360f
authored
Jan 13, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imrpove new file form
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9c7d821c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
18 deletions
+7
-18
app/assets/stylesheets/sections/editor.scss
app/assets/stylesheets/sections/editor.scss
+0
-11
app/views/projects/new_tree/show.html.haml
app/views/projects/new_tree/show.html.haml
+7
-7
No files found.
app/assets/stylesheets/sections/editor.scss
View file @
5c1a360f
...
...
@@ -34,15 +34,4 @@
margin
:
5px
8px
0
8px
;
}
}
.commit_message-group
{
margin-top
:
20px
;
label
{
font-size
:
16px
;
line-height
:
20px
;
}
textarea
{
@extend
.col-md-8
;
}
}
}
app/views/projects/new_tree/show.html.haml
View file @
5c1a360f
...
...
@@ -6,13 +6,13 @@
=
label_tag
'file_name'
,
class:
"control-label"
do
File name
.col-sm-10
%span
.monospace
=
@path
[
-
1
]
==
"/"
?
@path
:
@path
+
"/"
=
text_field_tag
'file_name'
,
params
[
:file_name
],
placeholder:
"sample.rb"
,
required:
true
,
class:
'form-control'
%span
on
%span
.label-branch
=
@ref
.input-group
%span
.input-group-addon
=
@path
[
-
1
]
==
"/"
?
@path
:
@path
+
"/"
=
text_field_tag
'file_name'
,
params
[
:file_name
],
placeholder:
"sample.rb"
,
required:
true
,
class:
'form-control'
%span
.input-group-addon
on
%span
=
@ref
.form-group.commit_message-group
=
label_tag
'commit_message'
,
class:
"control-label"
do
...
...
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