forked from nicolargo/glances
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish connection plugin of the webUi
- Loading branch information
Showing
6 changed files
with
51 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 26 additions & 6 deletions
32
glances/outputs/static/js/components/plugin-connections/view.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,30 @@ | ||
<div class="table-row" ng-if="vm.irqs.length > 0"> | ||
<div class="table-cell text-left title">IRQ</div> | ||
<div class="table-row"> | ||
<div class="table-cell text-left title">TCP CONNECTIONS</div> | ||
<div class="table-cell"></div> | ||
<div class="table-cell">Rate/s</div> | ||
</div> | ||
<div class="table-row" ng-repeat="irq in vm.irqs"> | ||
<div class="table-cell text-left">{{irq.irq_line}}</div> | ||
<div class="table-row"> | ||
<div class="table-cell text-left">Listen</div> | ||
<div class="table-cell"></div> | ||
<div class="table-cell"><span>{{irq.irq_rate}}</span></div> | ||
<div class="table-cell">{{vm.listen}}</div> | ||
</div> | ||
<div class="table-row"> | ||
<div class="table-cell text-left">Initiated</div> | ||
<div class="table-cell"></div> | ||
<div class="table-cell">{{vm.initiated}}</div> | ||
</div> | ||
<div class="table-row"> | ||
<div class="table-cell text-left">Established</div> | ||
<div class="table-cell"></div> | ||
<div class="table-cell">{{vm.established}}</div> | ||
</div> | ||
<div class="table-row"> | ||
<div class="table-cell text-left">Terminated</div> | ||
<div class="table-cell"></div> | ||
<div class="table-cell">{{vm.terminated}}</div> | ||
</div> | ||
<div class="table-row"> | ||
<div class="table-cell text-left">Tracked</div> | ||
<div class="table-cell"></div> | ||
<div class="table-cell" ng-class="vm.getDecoration('nf_conntrack_percent')">{{vm.tracked.count}}/{{vm.tracked.max}}</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.