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
49bced3a
Commit
49bced3a
authored
Nov 08, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project form fixed
parent
1c543bdf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
10 deletions
+28
-10
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+11
-0
app/views/projects/_form.html.haml
app/views/projects/_form.html.haml
+9
-9
app/views/projects/new.html.erb
app/views/projects/new.html.erb
+0
-1
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+8
-0
No files found.
app/assets/stylesheets/projects.css.scss
View file @
49bced3a
...
...
@@ -710,3 +710,14 @@ body.project-page #notes-list .note span.note-title{display: block;}
body
.project-page
#notes-list
.note
span
.note-title
{
margin-bottom
:
10px
}
body
.project-page
#notes-list
.note
span
.note-author
{
color
:
#999
;
font-weight
:
normal
;
font-style
:
italic
;}
body
.project-page
#notes-list
.note
span
.note-author
strong
{
font-weight
:
bold
;
font-style
:
normal
;}
/** NEW PROJECT **/
.new-project-hodler
{
.icon
span
{
background-position
:
-31px
-70px
;
}
td
{
border-bottom
:
1px
solid
#DEE2E3
;
}
}
app/views/projects/_form.html.haml
View file @
49bced3a
=
form_for
(
@project
,
:remote
=>
true
)
do
|
f
|
%div
.form_content
-
unless
@project
.
new_record?
%h1
Edit Project
%h2
.icon
%span
=
@project
.
name
-
if
@project
.
errors
.
any?
#error_explanation
%h2
...
...
@@ -10,7 +12,7 @@
%ul
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%table
.round-borders
%table
%tr
%td
=
f
.
label
:name
%td
=
f
.
text_field
:name
,
:placeholder
=>
"Example Project"
...
...
@@ -29,15 +31,13 @@
%tr
%td
=
f
.
label
:tag_list
%td
=
f
.
text_area
:tag_list
,
:placeholder
=>
"project tags"
,
:style
=>
"height:50px"
,
:id
=>
:tag_field
%tr
%td
=
f
.
label
:description
%td
=
f
.
text_area
:description
,
:placeholder
=>
"project description"
,
:style
=>
"height:50px"
.field
=
f
.
label
:description
%br
/
=
f
.
text_area
:description
,
:style
=>
"height:140px;width:932px;"
.clear
%hr
.prepend-top
%br
.actions
=
f
.
submit
:class
=>
"
lbutton vm
"
=
f
.
submit
:class
=>
"
button
"
%div
{
:class
=>
"ajax_loader"
,
:style
=>
"display:none;height:200px;"
}
%center
...
...
app/views/projects/new.html.erb
deleted
100644 → 0
View file @
1c543bdf
<%=
render
'form'
%>
app/views/projects/new.html.haml
0 → 100644
View file @
49bced3a
.new-project-hodler
.container_4
%h2
.icon
%span
New Project
%div
.clear
=
render
'form'
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