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
aff288a2
Commit
aff288a2
authored
May 16, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project settings UI update
parent
f26389a0
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
273 additions
and
323 deletions
+273
-323
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+0
-8
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+1
-1
app/assets/stylesheets/pages/settings.scss
app/assets/stylesheets/pages/settings.scss
+8
-0
app/views/profiles/accounts/show.html.haml
app/views/profiles/accounts/show.html.haml
+2
-2
app/views/projects/_builds_settings.html.haml
app/views/projects/_builds_settings.html.haml
+55
-64
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+207
-248
No files found.
app/assets/stylesheets/pages/profile.scss
View file @
aff288a2
...
...
@@ -134,14 +134,6 @@
}
}
.change-username-title
{
color
:
$gl-warning
;
}
.remove-account-title
{
color
:
$gl-danger
;
}
.provider-btn-group
{
display
:
inline-block
;
margin-right
:
10px
;
...
...
app/assets/stylesheets/pages/projects.scss
View file @
aff288a2
...
...
@@ -10,7 +10,7 @@
margin-bottom
:
0
;
}
.new_project
,
.edit
_
project
{
.edit
-
project
{
fieldset
.features
{
.control-label
{
font-weight
:
normal
;
...
...
app/assets/stylesheets/pages/settings.scss
View file @
aff288a2
...
...
@@ -12,3 +12,11 @@
border
:
1px
solid
$warning-message-border
;
border-radius
:
$border-radius-base
;
}
.warning-title
{
color
:
$gl-warning
;
}
.danger-title
{
color
:
$gl-danger
;
}
app/views/profiles/accounts/show.html.haml
View file @
aff288a2
...
...
@@ -70,7 +70,7 @@
-
if
current_user
.
can_change_username?
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
%h4
.prepend-top-0.
change-username
-title
%h4
.prepend-top-0.
warning
-title
Change username
%p
Changing your username will change path to all personal projects!
...
...
@@ -94,7 +94,7 @@
-
if
signup_enabled?
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
%h4
.prepend-top-0.
remove-account
-title
%h4
.prepend-top-0.
danger
-title
Remove account
.col-lg-9
-
if
@user
.
can_be_removed?
...
...
app/views/projects/_builds_settings.html.haml
View file @
aff288a2
%fieldset
.builds-feature
%legend
Builds:
%h5
.prepend-top-0
Builds
-
unless
@repository
.
gitlab_ci_yml
.form-group
.col-sm-offset-2.col-sm-10
%p
Builds need to be configured before you can begin using Continuous Integration.
=
link_to
'Get started with Builds'
,
help_page_path
(
'ci/quick_start'
,
'README'
),
class:
'btn btn-info'
%hr
%p
Builds need to be configured before you can begin using Continuous Integration.
=
link_to
'Get started with Builds'
,
help_page_path
(
'ci/quick_start'
,
'README'
),
class:
'btn btn-info'
.form-group
.col-sm-offset-2.col-sm-10
%p
Get recent application code using the following command:
.radio
=
f
.
label
:build_allow_git_fetch_false
do
=
f
.
radio_button
:build_allow_git_fetch
,
'false'
%strong
git clone
%br
%span
.descr
Slower but makes sure you have a clean dir before every build
.radio
=
f
.
label
:build_allow_git_fetch_true
do
=
f
.
radio_button
:build_allow_git_fetch
,
'true'
%strong
git fetch
%br
%span
.descr
Faster
%p
Get recent application code using the following command:
.radio
=
f
.
label
:build_allow_git_fetch_false
do
=
f
.
radio_button
:build_allow_git_fetch
,
'false'
%strong
git clone
%br
%span
.descr
Slower but makes sure you have a clean dir before every build
.radio
=
f
.
label
:build_allow_git_fetch_true
do
=
f
.
radio_button
:build_allow_git_fetch
,
'true'
%strong
git fetch
%br
%span
.descr
Faster
.form-group
=
f
.
label
:build_timeout_in_minutes
,
'Timeout'
,
class:
'control-label'
.col-sm-10
=
f
.
number_field
:build_timeout_in_minutes
,
class:
'form-control'
,
min:
'0'
%p
.help-block
per build in minutes
=
f
.
label
:build_timeout_in_minutes
,
'Timeout'
,
class:
'label-light'
=
f
.
number_field
:build_timeout_in_minutes
,
class:
'form-control'
,
min:
'0'
%p
.help-block
per build in minutes
.form-group
=
f
.
label
:build_coverage_regex
,
"Test coverage parsing"
,
class:
'control-label'
.col-sm-10
.input-group
%span
.input-group-addon
/
=
f
.
text_field
:build_coverage_regex
,
class:
'form-control'
,
placeholder:
'\(\d+.\d+\%\) covered'
%span
.input-group-addon
/
%p
.help-block
We will use this regular expression to find test coverage output in build trace.
Leave blank if you want to disable this feature
.bs-callout.bs-callout-info
%p
Below are examples of regex for existing tools:
%ul
%li
Simplecov (Ruby) -
%code
\(\d+.\d+\%\) covered
%li
pytest-cov (Python) -
%code
\d+\%\s*$
%li
phpunit --coverage-text --colors=never (PHP) -
%code
^\s*Lines:\s*\d+.\d+\%
%li
gcovr (C/C++) -
%code
^TOTAL.*\s+(\d+\%)$
%li
tap --coverage-report=text-summary (Node.js) -
%code
^Statements\s*:\s*([^%]+)
=
f
.
label
:build_coverage_regex
,
"Test coverage parsing"
,
class:
'label-light'
.input-group
%span
.input-group-addon
/
=
f
.
text_field
:build_coverage_regex
,
class:
'form-control'
,
placeholder:
'\(\d+.\d+\%\) covered'
%span
.input-group-addon
/
%p
.help-block
We will use this regular expression to find test coverage output in build trace.
Leave blank if you want to disable this feature
.bs-callout.bs-callout-info
%p
Below are examples of regex for existing tools:
%ul
%li
Simplecov (Ruby) -
%code
\(\d+.\d+\%\) covered
%li
pytest-cov (Python) -
%code
\d+\%\s*$
%li
phpunit --coverage-text --colors=never (PHP) -
%code
^\s*Lines:\s*\d+.\d+\%
%li
gcovr (C/C++) -
%code
^TOTAL.*\s+(\d+\%)$
%li
tap --coverage-report=text-summary (Node.js) -
%code
^Statements\s*:\s*([^%]+)
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
label
:public_builds
do
=
f
.
check_box
:public_builds
%strong
Public builds
.help-block
Allow everyone to access builds for Public and Internal projects
.checkbox
=
f
.
label
:public_builds
do
=
f
.
check_box
:public_builds
%strong
Public builds
.help-block
Allow everyone to access builds for Public and Internal projects
.form-group
=
f
.
label
:runners_token
,
"Runners token"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:runners_token
,
class:
"form-control"
,
placeholder:
'xEeFCaDAB89'
%p
.help-block
The secure token used to checkout project.
.form-group.append-bottom-0
=
f
.
label
:runners_token
,
"Runners token"
,
class:
'label-light'
=
f
.
text_field
:runners_token
,
class:
"form-control"
,
placeholder:
'xEeFCaDAB89'
%p
.help-block
The secure token used to checkout project.
app/views/projects/edit.html.haml
View file @
aff288a2
This diff is collapsed.
Click to expand it.
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