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
acc21d30
Commit
acc21d30
authored
Aug 08, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase input padding. Minor ui fixes
parent
f79b2100
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
42 additions
and
32 deletions
+42
-32
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
+4
-0
app/assets/stylesheets/gitlab_bootstrap/forms.scss
app/assets/stylesheets/gitlab_bootstrap/forms.scss
+15
-0
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+0
-12
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+1
-1
app/views/profiles/account.html.haml
app/views/profiles/account.html.haml
+1
-1
app/views/profiles/keys/_form.html.haml
app/views/profiles/keys/_form.html.haml
+2
-2
app/views/projects/deploy_keys/_form.html.haml
app/views/projects/deploy_keys/_form.html.haml
+3
-3
app/views/projects/hooks/index.html.haml
app/views/projects/hooks/index.html.haml
+1
-1
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+8
-7
app/views/projects/wikis/_form.html.haml
app/views/projects/wikis/_form.html.haml
+6
-4
app/views/projects/wikis/_new.html.haml
app/views/projects/wikis/_new.html.haml
+1
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
View file @
acc21d30
...
...
@@ -34,6 +34,10 @@
&
.ui-box-show
{
margin
:
20px
0
;
background
:
#FFF
;
.control-group
{
margin-bottom
:
0
;
}
}
&
.ui-box-danger
{
...
...
app/assets/stylesheets/gitlab_bootstrap/forms.scss
View file @
acc21d30
...
...
@@ -12,3 +12,18 @@ input {
}
}
.control-group
{
.control-label
{
padding-top
:
6px
;
}
.controls
{
input
,
textarea
{
padding
:
6px
10px
;
}
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
margin-top
:
6px
;
}
}
}
app/assets/stylesheets/sections/projects.scss
View file @
acc21d30
.new_project
,
.edit_project
{
.project_name_holder
{
input
,
label
{
font-size
:
16px
;
line-height
:
20px
;
padding
:
8px
;
}
}
.adv_settings
{
h6
{
margin-left
:
40px
;
}
}
fieldset
.features
{
.control-label
{
font-weight
:
bold
;
...
...
app/views/admin/hooks/index.html.haml
View file @
acc21d30
...
...
@@ -13,7 +13,7 @@
.control-group
=
f
.
label
:url
,
"URL:"
.controls
=
f
.
text_field
:url
,
class:
"text_field xxlarge input-xpadding"
=
f
.
text_field
:url
,
class:
"text_field
input-
xxlarge input-xpadding"
=
f
.
submit
"Add System Hook"
,
class:
"btn btn-create"
%hr
...
...
app/views/profiles/account.html.haml
View file @
acc21d30
...
...
@@ -54,7 +54,7 @@
It can be used for atom feed or API
%p
.cgray
-
if
current_user
.
private_token
=
text_field_tag
"token"
,
current_user
.
private_token
,
class:
"input-xxlarge large_text"
=
text_field_tag
"token"
,
current_user
.
private_token
,
class:
"input-xxlarge large_text
input-xpadding
"
=
f
.
submit
'Reset'
,
confirm:
"Are you sure?"
,
class:
"btn btn-primary btn-build-token"
-
else
%span
You don`t have one yet. Click generate to fix it.
...
...
app/views/profiles/keys/_form.html.haml
View file @
acc21d30
...
...
@@ -8,13 +8,13 @@
.control-group
=
f
.
label
:title
.controls
=
f
.
text_field
:title
.controls
=
f
.
text_field
:title
,
class:
"input-xlarge"
.control-group
=
f
.
label
:key
.controls
%p
.light
Paste your public key here. Read more about how generate it
#{
link_to
"here"
,
help_ssh_path
}
=
f
.
text_area
:key
,
class:
[
:xxlarge
,
:thin_area
]
=
f
.
text_area
:key
,
class:
"input-xxlarge thin_area"
.form-actions
...
...
app/views/projects/deploy_keys/_form.html.haml
View file @
acc21d30
...
...
@@ -8,14 +8,14 @@
.control-group
=
f
.
label
:title
.controls
=
f
.
text_field
:title
.controls
=
f
.
text_field
:title
,
class:
'input-xlarge'
.control-group
=
f
.
label
:key
.controls
=
f
.
text_area
:key
,
class:
[
:xxlarge
,
:thin_area
]
%p
.hint
%p
.light
Paste a machine public key here. Read more about how generate it
=
link_to
"here"
,
help_ssh_path
=
f
.
text_area
:key
,
class:
"input-xxlarge thin_area"
.form-actions
=
f
.
submit
'Create'
,
class:
"btn-create btn"
...
...
app/views/projects/hooks/index.html.haml
View file @
acc21d30
...
...
@@ -14,7 +14,7 @@
.control-group
=
f
.
label
:url
,
"URL:"
.controls
=
f
.
text_field
:url
,
class:
"text_field xxlarge input-xpadding"
,
placeholder:
'http://example.com/trigger-ci.json'
=
f
.
text_field
:url
,
class:
"text_field
input-
xxlarge input-xpadding"
,
placeholder:
'http://example.com/trigger-ci.json'
=
f
.
submit
"Add Web Hook"
,
class:
"btn btn-create"
%hr
...
...
app/views/projects/new.html.haml
View file @
acc21d30
.project-edit-container
%p
.slead
New projects are private by default. You choose who can see the project and commit to repository.
%hr
.project-edit-container.prepend-top-10
.project-edit-errors
=
render
'projects/errors'
.project-edit-content
=
form_for
@project
,
remote:
true
do
|
f
|
.control-group.project_name_holder
=
f
.
label
:name
do
Project name is
%strong
Project name is
.controls
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"input-x
x
large"
,
tabindex:
1
,
autofocus:
true
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"input-xlarge"
,
tabindex:
1
,
autofocus:
true
-
if
current_user
.
can_select_namespace?
.control-group
...
...
@@ -25,7 +28,7 @@
=
f
.
label
:import_url
do
%span
Import existing repo
.controls
=
f
.
text_field
:import_url
,
class:
'xlarge'
,
placeholder:
'https://github.com/randx/six.git'
=
f
.
text_field
:import_url
,
class:
'
input-
xlarge'
,
placeholder:
'https://github.com/randx/six.git'
.light
URL must be cloneable
.control-group
...
...
@@ -33,10 +36,8 @@
Description
%span
.light
(optional)
.controls
=
f
.
text_area
:description
,
placeholder:
"awesome project"
,
class:
"
span5
"
,
rows:
3
,
maxlength:
250
,
tabindex:
3
=
f
.
text_area
:description
,
placeholder:
"awesome project"
,
class:
"
input-xlarge
"
,
rows:
3
,
maxlength:
250
,
tabindex:
3
%p
.padded
New projects are private by default. You choose who can see the project and commit to repository.
.form-actions
=
f
.
submit
'Create project'
,
class:
"btn btn-create project-submit"
,
tabindex:
4
...
...
app/views/projects/wikis/_form.html.haml
View file @
acc21d30
...
...
@@ -23,11 +23,13 @@
\.
.ui-box-bottom
=
f
.
label
:content
.controls
=
f
.
text_area
:content
,
class:
'span8 js-gfm-input'
.control-group
=
f
.
label
:content
.controls
=
f
.
text_area
:content
,
class:
'span8 js-gfm-input'
.ui-box-bottom
=
f
.
label
:commit_message
.controls
=
f
.
text_field
:message
,
class:
'span8'
.control-group
=
f
.
label
:commit_message
.controls
=
f
.
text_field
:message
,
class:
'span8'
.form-actions
-
if
@wiki
&&
@wiki
.
persisted?
=
f
.
submit
'Save changes'
,
class:
"btn-save btn"
...
...
app/views/projects/wikis/_new.html.haml
View file @
acc21d30
%div
#modal-new-wiki
.modal.hide
.modal-header
%a
.close
{
href:
"#"
}
×
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
.page-title
New Wiki Page
.modal-body
=
label_tag
:new_wiki_path
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