Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Removing cols from network tab, fixing margin issues #442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions app/js/components/systemMetadata/systemMetadata.jade
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,18 @@
span {{:: value.value}}

#network.tab-pane(role='network')
.row
.col-sm-12
.table-responsive(ng-if="!disableTab('network')")
table
thead
tr
th.ellipsis-overflow(translate) Process Name
th.ellipsis-overflow(translate) IP Address
th.ellipsis-overflow(translate) Port
tbody
tr(ng-repeat="values in tabsContent.network.data | orderBy:[networkSorter, 'name', 'ip_addr']", ng-if="$index < rowLimit || showAll")
td.ellipsis-overflow {{:: values.name }}
td.ellipsis-overflow {{:: values.ip_addr }}
td.ellipsis-overflow {{:: values.port }}
.row.row-short
.col-sm-12.text-center
a.link.expandTableButton(ng-if="showExpandTableBtn()", ng-click="toggleExpandTable()")
strong(translate, ng-if="showAll") Collapse Table
strong(translate, ng-if="!showAll") Expand Table
table(ng-if="!disableTab('network')")
thead
tr
th.ellipsis-overflow(translate) Process Name
th.ellipsis-overflow(translate) IP Address
th.ellipsis-overflow(translate) Port
tbody
tr(ng-repeat="values in tabsContent.network.data | orderBy:[networkSorter, 'name', 'ip_addr']", ng-if="$index < rowLimit || showAll")
td.ellipsis-overflow {{:: values.name }}
td.ellipsis-overflow {{:: values.ip_addr }}
td.ellipsis-overflow {{:: values.port }}
.expandTableButton.text-center
a.link(ng-if="showExpandTableBtn()", ng-click="toggleExpandTable()")
strong(translate, ng-if="showAll") Collapse Table
strong(translate, ng-if="!showAll") Expand Table
2 changes: 1 addition & 1 deletion app/styles/components/system-overlay/_system-metadata.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ system-metadata { display: block; }

.system-metadata {

@media only screen and (max-width: 768px) { > * { @include rem('margin-top', $global-margin); } }
@media only screen and (max-width: 768px) { > * { @include rem('margin', $global-margin 0); } }

@include media-query(sm) {
display: grid;
Expand Down