<commit_before>//
//  LoginPanelViewController.swift
//  FireLampades
//
//  Created by <NAME> on 16/01/2017.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import UIKit

private let loggedInPageSegue = "LoggedInPageSegue"

class LoginPanelViewController: UIViewController, LoginPanelViewType {
    
    var loginPanelPresenter: LoginPanelPresenterType!
    
    @IBOutlet var username: UITextField!
    @IBOutlet var password: UITextField!
    @IBOutlet var mainView: UIView!
    @IBOutlet var innerUserPassView: UIView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        loginPanelPresenter.view = self
        mainView.backgroundColor = ColorUtil.colorWithHexString(hexString: "21314a")
        innerUserPassView.backgroundColor = ColorUtil.colorWithHexString(hexString: "21314a")
    }
    
    @IBAction func submitButtonTapped(sender: UIButton) {
        loginPanelPresenter?.loginUser(username: username.text, password: password.text)
    }
    
    // MARK: LoginPanelViewType
    
    func openUserDetailsPage() {
        performSegue(withIdentifier: loggedInPageSegue, sender: nil)
    }
    
    func showUnauthorizedMessage() {
        //TODO implement
    }
}<commit_msg>background color<commit_after>//
//  LoginPanelViewController.swift
//  FireLampades
//
//  Created by <NAME> on 16/01/2017.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import UIKit

private let loggedInPageSegue = "LoggedInPageSegue"

class LoginPanelViewController: UIViewController, LoginPanelViewType {
    
    var loginPanelPresenter: LoginPanelPresenterType!
    
    @IBOutlet var username: UITextField!
    @IBOutlet var password: UITextField!
    @IBOutlet var mainView: UIView!
    @IBOutlet var innerUserPassView: UIView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        loginPanelPresenter.view = self
        mainView.backgroundColor = ColorUtil.colorWithHexString(hexString: "21314a")
        innerUserPassView.backgroundColor = ColorUtil.colorWithHexString(hexString: "21314a")
        username.backgroundColor = ColorUtil.colorWithHexString(hexString: "21314a")
        password.backgroundColor = ColorUtil.colorWithHexString(hexString: "<PASSWORD>")
    }
    
    @IBAction func submitButtonTapped(sender: UIButton) {
        loginPanelPresenter?.loginUser(username: username.text, password: <PASSWORD>)
    }
    
    // MARK: LoginPanelViewType
    
    func openUserDetailsPage() {
        performSegue(withIdentifier: loggedInPageSegue, sender: nil)
    }
    
    func showUnauthorizedMessage() {
        //TODO implement
    }
}
{'fraction_non_alphanumeric': 0.08947772657450077, 'fraction_numerical': 0.01881720430107527, 'mean_word_length': 3.3781512605042017, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7393339', 'n_tokens_mistral': 812, 'n_tokens_neox': 762, 'n_words': 159}