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
7afe7c82
Commit
7afe7c82
authored
Sep 01, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Bootstrap hidden CSS class instead a custom one
parent
ce1d7c77
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/geo_nodes.js
app/assets/javascripts/geo_nodes.js
+1
-1
app/assets/stylesheets/pages/geo_nodes.scss
app/assets/stylesheets/pages/geo_nodes.scss
+0
-5
app/views/admin/geo_nodes/index.html.haml
app/views/admin/geo_nodes/index.html.haml
+1
-1
No files found.
app/assets/javascripts/geo_nodes.js
View file @
7afe7c82
...
@@ -42,7 +42,7 @@ class GeoNodeStatus {
...
@@ -42,7 +42,7 @@ class GeoNodeStatus {
const
$closestStatus
=
$element
.
closest
(
'
.advanced-geo-node-status-container
'
).
find
(
'
.advanced-status
'
)
const
$closestStatus
=
$element
.
closest
(
'
.advanced-geo-node-status-container
'
).
find
(
'
.advanced-status
'
)
$element
.
find
(
'
.fa
'
).
toggleClass
(
'
fa-angle-down
'
).
toggleClass
(
'
fa-angle-up
'
);
$element
.
find
(
'
.fa
'
).
toggleClass
(
'
fa-angle-down
'
).
toggleClass
(
'
fa-angle-up
'
);
$closestStatus
.
toggleClass
(
'
hid
e-status
'
);
$closestStatus
.
toggleClass
(
'
hid
den
'
);
}
}
getStatus
()
{
getStatus
()
{
...
...
app/assets/stylesheets/pages/geo_nodes.scss
View file @
7afe7c82
...
@@ -42,11 +42,6 @@
...
@@ -42,11 +42,6 @@
}
}
}
}
.hide-status
{
display
:
none
;
background
:
transparent
;
}
.node-info
{
.node-info
{
color
:
$gl-text-color
;
color
:
$gl-text-color
;
}
}
...
...
app/views/admin/geo_nodes/index.html.haml
View file @
7afe7c82
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
%strong
.node-info.js-attachments-synced
%strong
.node-info.js-attachments-synced
%p
%p
.advanced-geo-node-status-container
.advanced-geo-node-status-container
.advanced-status.hid
e-status
.advanced-status.hid
den
%span
.help-block
%span
.help-block
Database replication lag:
Database replication lag:
%strong
.node-info.js-db-replication-lag
%strong
.node-info.js-db-replication-lag
...
...
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