Fixed checkForUpdates and improved version number in login

This commit is contained in:
Tobias Reich 2015-03-11 23:00:17 +01:00
parent 2ced366b8d
commit 2001f172fa
4 changed files with 10 additions and 7 deletions

BIN
dist/main.css vendored

Binary file not shown.

BIN
dist/main.js vendored

Binary file not shown.

View File

@ -17,7 +17,7 @@ lychee = {
viewMode: false,
debugMode: false,
checkForUpdates:false,
checkForUpdates:'1',
username: '',
sorting: '',
location: '',
@ -54,15 +54,17 @@ lychee.init = function() {
lychee.sorting = data.config.sorting || '';
lychee.dropboxKey = data.config.dropboxKey || '';
lychee.location = data.config.location || '';
lychee.checkForUpdates = data.config.checkForUpdates || true;
lychee.checkForUpdates = data.config.checkForUpdates || '1';
// No username and password
// Show dialog when there is no username and password
if (data.config.login===false) settings.createLogin();
} else if (data.status===1) {
// Logged out
lychee.checkForUpdates = data.config.checkForUpdates || '1';
lychee.setMode('public');
} else if (data.status===0) {

View File

@ -174,14 +174,15 @@
/* Version ------------------------------------------------*/
.version {
padding: 0px 30px 20px;
color: #888;
margin: -5px 0 0;
padding: 0 30px 30px !important;
color: white(.3);
font-size: 12px;
text-align: left;
text-align: right;
span { display: none; }
span a { color: #888; }
span a { color: white(.3); }
}
/* Title ------------------------------------------------*/