diff --git a/frontend/src/ASNsNewManager.jsx b/frontend/src/ASNsNewManager.jsx index 8c24275..17b78aa 100644 --- a/frontend/src/ASNsNewManager.jsx +++ b/frontend/src/ASNsNewManager.jsx @@ -12,7 +12,10 @@ import { IconRefresh, IconUpload, IconDownload, - IconDeviceFloppy + IconDeviceFloppy, + IconHash, + IconClock, + IconFileText } from '@tabler/icons-react'; const API_URL = '/api'; @@ -498,11 +501,19 @@ function ASNsNewManager() { - {(etag || lastModified) && ( -
- ETag: {etag || '—'} - Last-Modified: {lastModified || '—'} - Размер (байт): {contentLength ?? '—'} + {(etag || lastModified || contentLength !== null) && ( +
+
+ + {etag || '—'} + + + {lastModified || '—'} + + + {(contentLength ?? '—') + (contentLength !== null ? ' байт' : '')} + +
)}
diff --git a/frontend/src/DomainsNewManager.jsx b/frontend/src/DomainsNewManager.jsx index 99b18d9..c1c08a2 100644 --- a/frontend/src/DomainsNewManager.jsx +++ b/frontend/src/DomainsNewManager.jsx @@ -12,7 +12,10 @@ import { IconRefresh, IconUpload, IconDownload, - IconDeviceFloppy + IconDeviceFloppy, + IconHash, + IconClock, + IconFileText } from '@tabler/icons-react'; const API_URL = '/api'; @@ -505,13 +508,6 @@ function DomainsNewManager() {
- { (etag || lastModified) && ( -
- ETag: {etag || '—'} - Last-Modified: {lastModified || '—'} - Размер (байт): {contentLength ?? '—'} -
- )}
@@ -605,6 +601,21 @@ function DomainsNewManager() { )} + {(etag || lastModified || contentLength !== null) && ( +
+
+ + {etag || '—'} + + + {lastModified || '—'} + + + {(contentLength ?? '—') + (contentLength !== null ? ' байт' : '')} + +
+
+ )} diff --git a/frontend/src/IPRangesManager.jsx b/frontend/src/IPRangesManager.jsx index 4d06d75..d0af55a 100644 --- a/frontend/src/IPRangesManager.jsx +++ b/frontend/src/IPRangesManager.jsx @@ -12,7 +12,10 @@ import { IconRefresh, IconUpload, IconDownload, - IconDeviceFloppy + IconDeviceFloppy, + IconHash, + IconClock, + IconFileText } from '@tabler/icons-react'; const API_URL = '/api'; @@ -513,11 +516,19 @@ function IPRangesManager() { - {(etag || lastModified) && ( -
- ETag: {etag || '—'} - Last-Modified: {lastModified || '—'} - Размер (байт): {contentLength ?? '—'} + {(etag || lastModified || contentLength !== null) && ( +
+
+ + {etag || '—'} + + + {lastModified || '—'} + + + {(contentLength ?? '—') + (contentLength !== null ? ' байт' : '')} + +
)}