Skip to content

Commit

Permalink
Minor improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldj committed Nov 23, 2019
1 parent 58567ed commit e613a37
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
6 changes: 6 additions & 0 deletions app-ui/frame/EditPrompt.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,10 @@
}
}
}

.theme-dark {
.frame .ln i.icon-refresh:hover {
color: @dark-hl;
}
}
}
7 changes: 6 additions & 1 deletion app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"express": "^4.17.1",
"js-beautify": "^1.10.2",
"md5-file": "^4.0.0",
"moment": "^2.24.0",
"node-notifier": "^6.0.0",
"request": "^2.88.0"
}
Expand Down
5 changes: 2 additions & 3 deletions app/server/actions/checkOneRemoteHosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
const getUrl = require('./getUrl')
const isExpired = require('../checkIsExpired')
const lineBreakTransform = require('../../libs/lineBreakTransform')
const moment = require('moment')

function now () {
let dt = new Date()

return `${dt.getFullYear()}-${dt.getMonth() + 1}-${dt.getDate()} ${dt.getHours()}:${dt.getMinutes()}:${dt.getSeconds()}`
return moment().format('YYYY-MM-DD HH:mm:ss')
}

module.exports = (svr, hosts, force = false) => {
Expand Down
2 changes: 1 addition & 1 deletion app/ui/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/ui/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/ui/common.js.LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! SwitchHosts! common.js, 2019-11-23 11:17:47 */
/*! SwitchHosts! common.js, 2019-11-23 14:12:04 */

/*!
Copyright (c) 2017 Jed Watson.
Expand Down
2 changes: 1 addition & 1 deletion app/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = [3, 5, 2, 5503]
module.exports = [3, 5, 2, 5504]

0 comments on commit e613a37

Please sign in to comment.