export view=2: text-align:right в ячейках

This commit is contained in:
2026-06-22 20:47:34 +04:00
parent cf97a8c9bf
commit 6e464c58dd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ipwhitelist",
"version": "0.1.3",
"version": "0.1.4",
"description": "IP WhiteList microservice for cloud provider",
"main": "server.js",
"scripts": {
+1 -1
View File
@@ -76,7 +76,7 @@ function renderTable(cidrs) {
+ '<style>body{font-family:monospace;background:#fff;color:#111;padding:1rem}'
+ 'h2{font-size:1rem;color:#666;margin-bottom:.5rem}'
+ 'table{border-collapse:collapse}'
+ 'td{padding:.15rem .5rem .15rem 0;white-space:pre;font-size:.9rem}'
+ 'td{padding:.15rem .5rem .15rem 0;white-space:pre;font-size:.9rem;text-align:right}'
+ '</style></head><body>'
+ '<h2>WhiteList — ' + cidrs.length + ' записей</h2>'
+ '<table>' + rows + '</table>'