-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tang Ning
committed
Apr 7, 2016
1 parent
137429f
commit a1efd92
Showing
6 changed files
with
97 additions
and
33 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ a { | |
.window-content { | ||
flex-wrap: wrap; | ||
|
||
#cpu_chart { | ||
.chart { | ||
width: 100%; | ||
height: 100px; | ||
} | ||
|
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,4 +1,4 @@ | ||
<div id="cpu_chart"> | ||
<div id="cpu_chart" class="chart"> | ||
</div> | ||
<table> | ||
<tr> | ||
|
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div id="mem_chart" class="chart"> | ||
</div> | ||
<table> | ||
<tr> | ||
<td colspan="2" class="tb-head">Overview</td> | ||
</tr> | ||
<tr> | ||
<td>Used</td> | ||
<td class="right">{{ mem.used }} %</td> | ||
</tr> | ||
<tr> | ||
<td>Wired</td> | ||
<td class="right">{{ mem.wired }} %</td> | ||
</tr> | ||
<tr> | ||
<td>Unused</td> | ||
<td class="right">{{ mem.unused }} %</td> | ||
</tr> | ||
</table> | ||
<table> | ||
<tr> | ||
<td colspan="2" class="tb-head">Top Processes</td> | ||
</tr> | ||
{{#each procs:p}} | ||
<tr> | ||
<td>{{ command }}</td> | ||
<td class="right">{{ mem }} %</td> | ||
</tr> | ||
{{/each}} | ||
</table> |