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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
18fab3b4
Commit
18fab3b4
authored
Jun 08, 2018
by
Jose Ivan Vargas
Committed by
Clement Ho
Jun 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unstyled form controls for admin settings
parent
4273fc6a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
app/views/admin/application_settings/_account_and_limit.html.haml
...s/admin/application_settings/_account_and_limit.html.haml
+3
-3
app/views/admin/application_settings/_signup.html.haml
app/views/admin/application_settings/_signup.html.haml
+1
-1
ee/app/views/admin/application_settings/_repository_size_limit_setting.html.haml
...ication_settings/_repository_size_limit_setting.html.haml
+1
-1
ee/app/views/admin/application_settings/_shared_runners_minutes_setting.html.haml
...cation_settings/_shared_runners_minutes_setting.html.haml
+1
-1
ee/app/views/admin/application_settings/ee/_project_creation_level.html.haml
...application_settings/ee/_project_creation_level.html.haml
+1
-1
ee/app/views/shared/_repository_size_limit_setting.html.haml
ee/app/views/shared/_repository_size_limit_setting.html.haml
+1
-1
No files found.
app/views/admin/application_settings/_account_and_limit.html.haml
View file @
18fab3b4
...
...
@@ -17,7 +17,7 @@
.col-sm-10
=
f
.
number_field
:max_attachment_size
,
class:
'form-control'
=
render
'repository_size_limit_setting'
,
form:
f
=
render
'repository_size_limit_setting'
,
form:
f
.form-group.row
=
f
.
label
:session_expire_delay
,
'Session duration (minutes)'
,
class:
'col-form-label col-sm-2'
...
...
@@ -44,8 +44,8 @@
=
f
.
label
:check_namespace_plan
,
'Check feature availability on namespace plan'
,
class:
'col-form-label col-sm-2'
.col-sm-10
.form-check
=
f
.
label
:check_namespace_plan
do
=
f
.
check_box
:check_namespace_plan
=
f
.
check_box
:check_namespace_plan
,
class:
'form-check-input'
=
f
.
label
:check_namespace_plan
,
class:
'form-check-label'
do
Enabling this will only make licensed EE features available to projects if the project namespace's plan
includes the feature or if the project is public.
...
...
app/views/admin/application_settings/_signup.html.haml
View file @
18fab3b4
...
...
@@ -29,7 +29,7 @@
.form-group.row
.offset-sm-2.col-sm-10
.form-check
=
radio_button_tag
:blacklist_type
,
:file
,
class:
'form-check-input'
=
radio_button_tag
:blacklist_type
,
:file
,
false
,
class:
"form-check-input"
=
label_tag
:blacklist_type_file
,
class:
'form-check-label'
do
.option-title
Upload blacklist file
...
...
ee/app/views/admin/application_settings/_repository_size_limit_setting.html.haml
View file @
18fab3b4
...
...
@@ -2,7 +2,7 @@
-
form
=
local_assigns
.
fetch
(
:form
)
.form-group
.form-group
.row
=
form
.
label
:repository_size_limit
,
class:
'col-form-label col-sm-2'
do
Size limit per repository (MB)
.col-sm-10
...
...
ee/app/views/admin/application_settings/_shared_runners_minutes_setting.html.haml
View file @
18fab3b4
.form-group
.form-group
.row
=
form
.
label
:shared_runners_minutes
,
'Pipeline minutes quota'
,
class:
'col-form-label col-sm-2'
.col-sm-10
=
form
.
number_field
:shared_runners_minutes
,
class:
'form-control'
...
...
ee/app/views/admin/application_settings/ee/_project_creation_level.html.haml
View file @
18fab3b4
-
return
unless
License
.
feature_available?
(
:project_creation_level
)
-
form
=
local_assigns
.
fetch
(
:form
)
-
application_setting
=
local_assigns
.
fetch
(
:application_setting
)
.form-group
.form-group
.row
=
form
.
label
s_
(
'ProjectCreationLevel|Default project creation protection'
),
class:
'col-form-label col-sm-2'
.col-sm-10
=
form
.
select
:default_project_creation
,
options_for_select
(
Gitlab
::
Access
.
project_creation_options
,
application_setting
.
default_project_creation
),
{},
class:
'form-control'
ee/app/views/shared/_repository_size_limit_setting.html.haml
View file @
18fab3b4
...
...
@@ -4,7 +4,7 @@
-
type
=
local_assigns
.
fetch
(
:type
)
-
label_class
=
(
type
==
:project
)
?
'label-light'
:
'col-form-label'
.form-group
.form-group
.row
=
form
.
label
:repository_size_limit
,
class:
label_class
do
Repository size limit (MB)
-
if
type
==
:project
...
...
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