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
Léo-Paul Géneau
gitlab-ce
Commits
cd253532
Commit
cd253532
authored
Aug 14, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allos specify repository name when create a project
parent
a6e57749
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
app/assets/stylesheets/gitlab_bootstrap/forms.scss
app/assets/stylesheets/gitlab_bootstrap/forms.scss
+4
-0
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+7
-0
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+13
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/forms.scss
View file @
cd253532
...
@@ -24,6 +24,10 @@ input {
...
@@ -24,6 +24,10 @@ input {
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
margin-top
:
6px
;
margin-top
:
6px
;
}
}
.add-on
{
padding
:
6px
;
}
}
}
}
}
app/assets/stylesheets/sections/projects.scss
View file @
cd253532
...
@@ -7,6 +7,13 @@
...
@@ -7,6 +7,13 @@
}
}
}
}
.project-name-holder
{
.help-inline
{
vertical-align
:
top
;
padding
:
7px
;
}
}
.project_clone_panel
{
.project_clone_panel
{
@include
border-radius
(
4px
);
@include
border-radius
(
4px
);
@include
bg-gray-gradient
;
@include
bg-gray-gradient
;
...
...
app/views/projects/new.html.haml
View file @
cd253532
...
@@ -6,11 +6,23 @@
...
@@ -6,11 +6,23 @@
New projects are private by default. You choose who can see the project and commit to repository.
New projects are private by default. You choose who can see the project and commit to repository.
%hr
%hr
=
form_for
@project
,
remote:
true
do
|
f
|
=
form_for
@project
,
remote:
true
do
|
f
|
.control-group.project
_name_
holder
.control-group.project
-name-
holder
=
f
.
label
:name
do
=
f
.
label
:name
do
%strong
Project name is
%strong
Project name is
.controls
.controls
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"input-xlarge"
,
tabindex:
1
,
autofocus:
true
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"input-xlarge"
,
tabindex:
1
,
autofocus:
true
%span
.help-inline
=
link_to
"#"
,
class:
'js-toggle-visibility-link'
do
%span
Custom repo name?
.control-group.js-toggle-visibility-container.hide
=
f
.
label
:path
do
%span
Repository name
.controls
.input-append
=
f
.
text_field
:path
%span
.add-on
.git
-
if
current_user
.
can_select_namespace?
-
if
current_user
.
can_select_namespace?
.control-group
.control-group
...
...
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