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
Boxiang Sun
gitlab-ce
Commits
9e631682
Commit
9e631682
authored
6 years ago
by
Clement Ho
Committed by
Jose
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix change template form
parent
91f31ae5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
20 deletions
+12
-20
app/assets/stylesheets/bootstrap_migration.scss
app/assets/stylesheets/bootstrap_migration.scss
+4
-0
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+6
-19
app/views/projects/_project_templates.html.haml
app/views/projects/_project_templates.html.haml
+2
-1
No files found.
app/assets/stylesheets/bootstrap_migration.scss
View file @
9e631682
...
...
@@ -161,6 +161,10 @@ table {
}
}
.input-group-prepend
svg
.active
{
border
:
0
!
important
;
}
// Polyfill deprecated selectors
.hidden
{
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/pages/projects.scss
View file @
9e631682
...
...
@@ -514,12 +514,6 @@
}
}
svg
{
position
:
absolute
;
left
:
$gl-padding
;
top
:
$gl-padding
;
}
.project-fields-form
{
display
:
none
;
...
...
@@ -530,25 +524,18 @@
}
.template-input-group
{
position
:
relative
;
@include
media-breakpoint-up
(
sm
)
{
display
:
flex
;
}
.input-group-prepend
,
.input-group-append
{
.input-group-prepend
{
flex
:
1
;
text-align
:
left
;
padding-left
:
(
$gl-padding
*
3
);
background-color
:
$white-light
;
}
.selected-template
{
line-height
:
20px
;
.input-group-text
{
width
:
100%
;
background-color
:
$white-light
;
}
.selected-icon
{
padding-right
:
$gl-padding
;
svg
{
display
:
none
;
top
:
7px
;
...
...
This diff is collapsed.
Click to expand it.
app/views/projects/_project_templates.html.haml
View file @
9e631682
...
...
@@ -21,6 +21,7 @@
-
Gitlab
::
ProjectTemplate
.
all
.
each
do
|
template
|
=
custom_icon
(
template
.
logo
)
.selected-template
.input-group-append
%button
.btn.btn-default.change-template
{
type:
"button"
}
Change template
=
render
'new_project_fields'
,
f:
f
,
project_name_id:
"template-project-name"
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