This is an automated email from the ASF dual-hosted git repository.
pifta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 5657009a3d Data Rendering code on SCM UI (#4608)
5657009a3d is described below
commit 5657009a3d83eda83b7528bc74391f4aeb32ce0a
Author: debiswal <[email protected]>
AuthorDate: Fri Apr 28 18:07:19 2023 +0530
Data Rendering code on SCM UI (#4608)
---
.../src/main/resources/webapps/static/ozone.css | 31 +++++++++++++++++++++-
.../main/resources/webapps/scm/scm-overview.html | 6 ++---
2 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.css
b/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.css
index 271ac74446..8b5ae508e4 100644
--- a/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.css
+++ b/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.css
@@ -53,7 +53,36 @@ body {
.sortorder.reverse:after {
content: '\25bc'; // BLACK DOWN-POINTING TRIANGLE
}
-
+.sorting:after {
+ opacity: 0.2;
+ content: "\e150";
+ position: absolute;
+ top: 8px;
+ right: 8px;
+ display: block;
+ font-family: 'Glyphicons Halflings';
+ }
+.sortasc:after {
+ opacity: 0.5;
+ content: "\e155";
+ position: absolute;
+ top: 8px;
+ right: 8px;
+ display: block;
+ font-family: 'Glyphicons Halflings';
+ }
+ .sortdesc:after {
+ opacity: 0.5;
+ content: "\e156";
+ position: absolute;
+ top: 8px;
+ right: 8px;
+ display: block;
+ font-family: 'Glyphicons Halflings';
+ }
+.nodeStausInfo {
+ position: relative;
+ }
.wrap-table{
word-wrap: break-word;
table-layout: fixed;
diff --git
a/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html
b/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html
index 9521ea417f..aa0d439100 100644
--- a/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html
+++ b/hadoop-hdds/server-scm/src/main/resources/webapps/scm/scm-overview.html
@@ -47,11 +47,11 @@
<thead>
<tr>
<th ng-click = "columnSort('hostname')"
class="nodeStausInfo"><span ng-class = "{'sorting' : (columnName !=
'hostname'), 'sortasc' : (columnName == 'hostname' && !reverse),
- 'sortdesc':(columnName == 'hostname'
&& reverse)}">HostName</span></th>
+ 'sortdesc':(columnName == 'hostname'
&& !reverse)}">HostName</span></th>
<th ng-click = "columnSort('opstate')" class="nodeStausInfo"
><span ng-class="{'sorting' : (columnName != 'opstate'), 'sortasc' :
(columnName == 'opstate' && !reverse),
- 'sortdesc':(columnName == 'opstate' &&
reverse)}">Operational State</span></th>
+ 'sortdesc':(columnName == 'opstate' &&
!reverse)}">Operational State</span></th>
<th ng-click = "columnSort('comstate')" class="nodeStausInfo">
<span ng-class="{'sorting' : (columnName != 'comstate'), 'sortasc' :
(columnName == 'comstate' && !reverse),
- 'sortdesc':(columnName == 'comstate'
&& reverse)}">Commisioned State</span> </th>
+ 'sortdesc':(columnName == 'comstate'
&& !reverse)}">Commisioned State</span> </th>
</tr>
</thead>
<tbody>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]