diff --git a/html/i18n.js b/html/i18n.js index bab49dc..fb4bce9 100644 --- a/html/i18n.js +++ b/html/i18n.js @@ -117,6 +117,7 @@ var LANG = { l2_col_port: 'Port', l2_col_type: 'Type', l2_col_remove: 'Remove Entry', + l2_shown: 'Shown:', l2_delete: 'Delete', l2_static: 'static', l2_learned: 'learned', @@ -296,6 +297,7 @@ var LANG = { l2_col_port: 'ポート', l2_col_type: 'タイプ', l2_col_remove: 'エントリ削除', + l2_shown: 'Shown:', l2_delete: '削除', l2_static: '静的', l2_learned: '学習', @@ -475,6 +477,7 @@ var LANG = { l2_col_port: '端口', l2_col_type: '类型', l2_col_remove: '删除条目', + l2_shown: 'Shown:', l2_delete: '删除', l2_static: '静态', l2_learned: '动态学习', diff --git a/html/l2.html b/html/l2.html index 029c4e9..b739d0f 100644 --- a/html/l2.html +++ b/html/l2.html @@ -10,8 +10,18 @@

L2 Configuration

+

Shown: -

- + + + + + +
Port MAC VLAN Type Remove Entry
Port
+
MAC
+
VLAN
+
Type
+
Remove Entry
diff --git a/html/style.css b/html/style.css index 84d3a2e..3533c6b 100644 --- a/html/style.css +++ b/html/style.css @@ -164,3 +164,8 @@ margin: 30px 0; select { text-align-last: right; font-family: monospace} option { direction: rtl; font-family: sans-serif} #vlanTable td { text-align: left; } + +/* L2 table: sortable headers and per-column filters */ +.l2sort{cursor:pointer;user-select:none} +.l2sort:hover{text-decoration:underline} +.l2filter{width:100%;box-sizing:border-box;font-weight:normal;font-size:0.9em}