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
32757d64
Commit
32757d64
authored
Jun 12, 2018
by
Clement Ho
Committed by
Jose
Jun 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use d-block
parent
9e631682
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
10 deletions
+2
-10
app/assets/javascripts/projects/project_new.js
app/assets/javascripts/projects/project_new.js
+2
-2
app/assets/stylesheets/bootstrap_migration.scss
app/assets/stylesheets/bootstrap_migration.scss
+0
-4
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-4
No files found.
app/assets/javascripts/projects/project_new.js
View file @
32757d64
...
...
@@ -90,7 +90,7 @@ const bindEvents = () => {
function
chooseTemplate
()
{
$
(
'
.template-option
'
).
hide
();
$projectFieldsForm
.
addClass
(
'
selected
'
);
$selectedIcon
.
removeClass
(
'
active
'
);
$selectedIcon
.
removeClass
(
'
d-block
'
);
const
value
=
$
(
this
).
val
();
const
templates
=
{
rails
:
{
...
...
@@ -109,7 +109,7 @@ const bindEvents = () => {
const
selectedTemplate
=
templates
[
value
];
$selectedTemplateText
.
text
(
selectedTemplate
.
text
);
$
(
selectedTemplate
.
icon
).
addClass
(
'
active
'
);
$
(
selectedTemplate
.
icon
).
addClass
(
'
d-block
'
);
$templateProjectNameInput
.
focus
();
}
...
...
app/assets/stylesheets/bootstrap_migration.scss
View file @
32757d64
...
...
@@ -161,10 +161,6 @@ table {
}
}
.input-group-prepend
svg
.active
{
border
:
0
!
important
;
}
// Polyfill deprecated selectors
.hidden
{
...
...
app/assets/stylesheets/pages/projects.scss
View file @
32757d64
...
...
@@ -541,10 +541,6 @@
top
:
7px
;
height
:
20px
;
width
:
20px
;
&
.active
{
display
:
block
;
}
}
}
}
...
...
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