+
+
+
+ ${stats.progress}%
+
+
+
+
+ ${progressText}
+
+
`
}
diff --git a/elements/table.js b/elements/table.js
index a5692cc1..da010810 100644
--- a/elements/table.js
+++ b/elements/table.js
@@ -11,6 +11,9 @@ const icon = require('./icon')
const table = css`
:host {
width: 100%;
+ tr:odd:hover td {
+ background: red;
+ }
th,
td {
padding-right: .75rem;
@@ -34,7 +37,7 @@ const table = css`
}
td {
height: 4rem;
- vertical-align: middle;
+ vertical-align: top;
padding-top: 1rem;
}
tr:hover td {
@@ -63,7 +66,7 @@ const table = css`
width: 26vw;
}
.row-action {
- height: 2rem;
+ height: 1.5rem;
display: inline-block;
border: 0;
background: transparent;
@@ -115,8 +118,8 @@ function tableElement (dats, send) {
|
Link |
Status |
-
Size |
-
Network |
+
Size |
+
Peers |
|
@@ -214,7 +217,7 @@ function row (dat, send) {
-
+
${title}
diff --git a/lib/auto-updater.js b/lib/auto-updater.js
index 22f0971e..b127bd8e 100644
--- a/lib/auto-updater.js
+++ b/lib/auto-updater.js
@@ -12,7 +12,7 @@ module.exports = ({ log }) => {
autoUpdater.setFeedURL(`http://dat.land:6000/update/${platform}/${version}`)
autoUpdater.on('error', onerror)
autoUpdater.on('checking-for-update', () => log('checking for update'))
- autoUpdater.on('update-available', () => log('update available, downloading...'))
+ autoUpdater.on('update-available', () => log('update available, downloading…'))
autoUpdater.on('update-not-available', () => log('update not available'))
autoUpdater.on('download-progress', p => log('download progress ' + p.percent))
autoUpdater.on('update-downloaded', (ev, notes, version) => {
@@ -27,7 +27,7 @@ module.exports = ({ log }) => {
}, res => {
const update = res === 0
if (!update) return log('dismiss')
- log('updating...')
+ log('updating…')
autoUpdater.quitAndInstall()
})
})
@@ -35,4 +35,3 @@ module.exports = ({ log }) => {
setTimeout(() => autoUpdater.checkForUpdates(), ms('10s'))
setInterval(() => autoUpdater.checkForUpdates(), ms('30m'))
}
-
diff --git a/lib/browserify.js b/lib/browserify.js
index f8d42f83..5b9dae4b 100644
--- a/lib/browserify.js
+++ b/lib/browserify.js
@@ -47,7 +47,7 @@ module.exports = opts => {
b.transform('sheetify/transform', { use: ['sheetify-nested'] })
const bundle = () => {
- process.stderr.write(`${new Date()} bundling...`)
+ process.stderr.write(`${new Date()} bundling…`)
b.bundle().pipe(concat(js => {
fs.writeFile(`${__dirname}/../bundle.js`, js, err => {
diff --git a/package.json b/package.json
index 3a46d4af..e65b9f2e 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
"dat-doctor": "^1.2.2",
"dat-encoding": "^4.0.1",
"dat-icons": "^1.3.0",
- "dat-worker": "^5.9.1",
+ "dat-worker": "^5.10.0",
"electron-auto-updater": "^0.9.2",
"electron-default-menu": "^1.0.0",
"electron-window": "^0.8.1",
|