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
66a91c4f
Commit
66a91c4f
authored
Jan 02, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style deploy keys form
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
34245ceb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+1
-1
app/views/projects/deploy_keys/_form.html.haml
app/views/projects/deploy_keys/_form.html.haml
+4
-4
app/views/projects/team_members/_form.html.haml
app/views/projects/team_members/_form.html.haml
+3
-3
No files found.
app/views/profiles/show.html.haml
View file @
66a91c4f
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
%span
Choose File ...
%span
Choose File ...
%span
.file_name.js-avatar-filename
File name...
%span
.file_name.js-avatar-filename
File name...
=
f
.
file_field
:avatar
,
class:
"js-user-avatar-input hid
e
"
=
f
.
file_field
:avatar
,
class:
"js-user-avatar-input hid
den
"
.light
The maximum file size allowed is 100KB.
.light
The maximum file size allowed is 100KB.
-
if
@user
.
avatar?
-
if
@user
.
avatar?
%hr
%hr
...
...
app/views/projects/deploy_keys/_form.html.haml
View file @
66a91c4f
%div
%div
=
form_for
[
@project
,
@key
],
url:
project_deploy_keys_path
do
|
f
|
=
form_for
[
@project
,
@key
],
url:
project_deploy_keys_path
,
html:
{
class:
'deploy-key-form form-horizontal'
}
do
|
f
|
-
if
@key
.
errors
.
any?
-
if
@key
.
errors
.
any?
.alert.alert-danger
.alert.alert-danger
%ul
%ul
...
@@ -7,15 +7,15 @@
...
@@ -7,15 +7,15 @@
%li
=
msg
%li
=
msg
.form-group
.form-group
=
f
.
label
:title
=
f
.
label
:title
,
class:
"control-label"
.col-sm-10
=
f
.
text_field
:title
,
class:
'form-control'
.col-sm-10
=
f
.
text_field
:title
,
class:
'form-control'
.form-group
.form-group
=
f
.
label
:key
=
f
.
label
:key
,
class:
"control-label"
.col-sm-10
.col-sm-10
%p
.light
%p
.light
Paste a machine public key here. Read more about how to generate it
Paste a machine public key here. Read more about how to generate it
=
link_to
"here"
,
help_ssh_path
=
link_to
"here"
,
help_ssh_path
=
f
.
text_area
:key
,
class:
"form-control thin_area"
=
f
.
text_area
:key
,
class:
"form-control thin_area"
,
rows:
5
.form-actions
.form-actions
=
f
.
submit
'Create'
,
class:
"btn-create btn"
=
f
.
submit
'Create'
,
class:
"btn-create btn"
...
...
app/views/projects/team_members/_form.html.haml
View file @
66a91c4f
%h3
.page-title
%h3
.page-title
=
"New project member(s)"
=
"New project member(s)"
=
form_for
@user_project_relation
,
as: :team_member
,
url:
project_team_members_path
(
@project
)
do
|
f
|
=
form_for
@user_project_relation
,
as: :team_member
,
url:
project_team_members_path
(
@project
)
,
html:
{
class:
"form-horizontal users-project-form"
}
do
|
f
|
-
if
@user_project_relation
.
errors
.
any?
-
if
@user_project_relation
.
errors
.
any?
.alert.alert-danger
.alert.alert-danger
%ul
%ul
...
@@ -10,13 +10,13 @@
...
@@ -10,13 +10,13 @@
%p
1. Choose people you want in the project
%p
1. Choose people you want in the project
.form-group
.form-group
=
f
.
label
:user_ids
,
"People"
=
f
.
label
:user_ids
,
"People"
,
class:
'control-label'
.col-sm-10
.col-sm-10
=
users_select_tag
(
:user_ids
,
multiple:
true
)
=
users_select_tag
(
:user_ids
,
multiple:
true
)
%p
2. Set access level for them
%p
2. Set access level for them
.form-group
.form-group
=
f
.
label
:project_access
,
"Project Access"
=
f
.
label
:project_access
,
"Project Access"
,
class:
'control-label'
.col-sm-10
=
select_tag
:project_access
,
options_for_select
(
Gitlab
::
Access
.
options
,
@user_project_relation
.
project_access
),
class:
"project-access-select chosen"
.col-sm-10
=
select_tag
:project_access
,
options_for_select
(
Gitlab
::
Access
.
options
,
@user_project_relation
.
project_access
),
class:
"project-access-select chosen"
.form-actions
.form-actions
...
...
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