From 751014a813154f9731e5cff9559d803d3383c90d Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Tue, 18 Dec 2018 07:30:06 +0000
Subject: [PATCH] Column order (optimized for tree browsing).
---
borgbutler-webapp/src/components/views/archives/FileListEntry.jsx | 8 ++++----
borgbutler-webapp/src/components/views/archives/FileListTable.jsx | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/borgbutler-webapp/src/components/views/archives/FileListEntry.jsx b/borgbutler-webapp/src/components/views/archives/FileListEntry.jsx
index 0e78403..9c13adb 100644
--- a/borgbutler-webapp/src/components/views/archives/FileListEntry.jsx
+++ b/borgbutler-webapp/src/components/views/archives/FileListEntry.jsx
@@ -42,14 +42,14 @@
}
return (
<tr>
- <td className={'tt'}>{entry.mode}</td>
- <td className={'tt'}>{entry.mtime}</td>
- <td className={'tt'}>{humanFileSize(entry.size, true, true)}</td>
+ <td className={'tt'}>{path}</td>
<td className={'tt'}>
<div className={'btn'} onClick={() => download(archiveId, entry.fileNumber)}>
<IconDownload/></div>
</td>
- <td className={'tt'}>{path}</td>
+ <td className={'tt'}>{humanFileSize(entry.size, true, true)}</td>
+ <td className={'tt'}>{entry.mode}</td>
+ <td className={'tt'}>{entry.mtime}</td>
</tr>
);
}
diff --git a/borgbutler-webapp/src/components/views/archives/FileListTable.jsx b/borgbutler-webapp/src/components/views/archives/FileListTable.jsx
index a0d086b..50b95a4 100644
--- a/borgbutler-webapp/src/components/views/archives/FileListTable.jsx
+++ b/borgbutler-webapp/src/components/views/archives/FileListTable.jsx
@@ -9,11 +9,11 @@
<Table striped bordered hover size={'sm'} responsive>
<thead>
<tr>
+ <th>Path</th>
+ <th></th>
+ <th>Size</th>
<th>Mode</th>
<th>Modified time</th>
- <th>Size</th>
- <th></th>
- <th>Path</th>
</tr>
</thead>
<tbody>
--
Gitblit v1.10.0