//
//  LoginViewController.h
//  kneet
//
//  Created by Jason Lee on 2/4/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import "JDViewController.h"


@class CustomTextField2;
@class CustomButton;
@class CustomLabel;
@class CustomCheckBox;
@class CustomImageView;

@interface LoginViewController : JDViewController


#pragma mark - Properties
@property (weak, nonatomic) IBOutlet CustomTextField2 *txtEmail;
@property (weak, nonatomic) IBOutlet CustomTextField2 *txtPasswd;
@property (weak, nonatomic) IBOutlet CustomButton *btnLogin;
@property (weak, nonatomic) IBOutlet CustomButton *btnIdFind;
@property (weak, nonatomic) IBOutlet CustomButton *btnPwFind;
@property (weak, nonatomic) IBOutlet CustomImageView *imgvBg;

@property (weak, nonatomic) IBOutlet CustomLabel *lblSignUp;
@property (weak, nonatomic) IBOutlet CustomLabel *lblFindId;

@property (weak, nonatomic) IBOutlet CustomCheckBox *chkAutoLogin;
@property (weak, nonatomic) IBOutlet CustomCheckBox *chkIdSave;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintLeftPadding;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintRightPadding;

#pragma mark - Instance Methods
- (void)requestLogout;
- (void)actionAfterLogout;
- (void)actionAfterInvitaion;

- (IBAction)btnLogInTouched:(id)sender;
- (void)actionForLoginSucceed:(LoginModel *)loginInfo;

@end
