default open on account menu

This commit is contained in:
Mo Bitar
2017-05-16 09:07:29 -05:00
parent b259032c2c
commit b65ed8c90c
2 changed files with 5 additions and 3 deletions

View File

@@ -31,6 +31,10 @@ angular.module('app.frontend')
}
this.updateOfflineStatus();
if(this.offline) {
this.showAccountMenu = true;
}
this.findErrors = function() {
this.error = syncManager.syncStatus.error;
}

View File

@@ -6,7 +6,7 @@
.mb-10
.step-one{"ng-if" => "!formData.showLogin && !formData.showRegister"}
%h3 To enable encryption and sync, sign in or register (free).
%h3 Sign in or register to enable sync and encryption.
.small-v-space
.button-group.mt-5
@@ -15,8 +15,6 @@
%button.ui-button.half-button{"ng-click" => "formData.showRegister = true"}
%span Register
%a.block.mt-10.center-align.centered{"href" => "https://standardnotes.org/your-data", "target" => "_blank"} Learn more about Standard Notes accounts.
.step-two{"ng-if" => "formData.showLogin || formData.showRegister"}
.float-group.h20
%h3.pull-left {{formData.showLogin ? "Sign In" : "Register (free)"}}