<commit_before>var win = Titanium.UI.currentWindow;
win.setBackgroundImage('../images/background.jpg');

var idKey = Titanium.UI.createTextField({  
    color:'#336699',  
    top:10,  
    left:10,  
    width:300,  
    height:40,  
    hintText:'ID',
    value: '14',  
    keyboardType:Titanium.UI.KEYBOARD_DEFAULT,  
    returnKeyType:Titanium.UI.RETURNKEY_DEFAULT,  
    borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED  
});  
win.add(idKey);  
  
var loginBtn = Titanium.UI.createButton({  
    title:'Login',  
    top:60,  
    width:90,  
    height:35,  
    borderRadius:1,  
    font:{fontFamily:'Arial',fontWeight:'bold',fontSize:14}  
});  
win.add(loginBtn);  

loginBtn.addEventListener('click',function(e)  
{  
    if ( idKey.value != '' )  
    {  
        win.idKey = idKey.value;
        win.windowHome.idKey = idKey.value;
        win.windowHome.open();
        win.close();
    }  
    else  
    {  
        alert("The ID is required");  
    }  
});  <commit_msg>Changed login background to the same one as the home page<commit_after>var win = Titanium.UI.currentWindow;
win.setBackgroundImage('../images/background.jpg');

var idKey = Titanium.UI.createTextField({  
    color:'#336699',  
    bottom:60,  
    left:10,  
    width:300,  
    height:40,  
    hintText:'ID',
    value: '14',  
    keyboardType:Titanium.UI.KEYBOARD_DEFAULT,  
    returnKeyType:Titanium.UI.RETURNKEY_DEFAULT,  
    borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED  
});  
win.add(idKey);  
  
var loginBtn = Titanium.UI.createButton({  
    title:'Login',  
    bottom:10,  
    width:90,  
    height:35,  
    borderRadius:1,  
    font:{fontFamily:'Arial',fontWeight:'bold',fontSize:14}  
});  
win.add(loginBtn);  

loginBtn.addEventListener('click',function(e)  
{  
    if ( idKey.value != '' )  
    {  
        win.idKey = idKey.value;
        win.windowHome.idKey = idKey.value;
        win.windowHome.open();
        win.close();
    }  
    else  
    {  
        alert("The ID is required");  
    }  
});  
{'fraction_non_alphanumeric': 0.140748031496063, 'fraction_numerical': 0.025590551181102362, 'mean_word_length': 2.511226252158895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '101320', 'n_tokens_mistral': 765, 'n_tokens_neox': 732, 'n_words': 96}