<commit_before>// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#FD9627');

var loginWindow = Ti.UI.createWindow({
	title: 'Login',
	backgroundColor:'transparent',
	navBarHidden: true,
	tabBarHidden: true
});

var view1= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'50%',
	height:'80px'
	
});

var textField= Ti.UI.createTextField({
	backgroundColor: 'white',
	borderRadius:15,
	borderWidth:5,
	color:'black',
	hintText: 'Enter username',
	
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var view2= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'60%',
	height:'80px'
	
});

var textField2= Ti.UI.createTextField({
	backgroundColor: 'white',
	color:'black',
	hintText: 'Enter password',
	borderRadius:15,
	borderWidth:5,
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var button2=Ti.UI.createButton({
	title:'Sign in',
	top:0,
	left:0,
	width:'175px',
	heigth:'80px',
	color:'#808080',
	borderRadius:15,
	borderWidth:5,
	font:{fontSize:15,fontFamily:'Helvetica Neue'},
	backgroundColor:'white'
	
});

button2.addEventListener('click', function(e){
	if(textField.value.length==0)
		alert('bir seyler giriniz');
	else
		alert(textField.value);
		
});
		
var button3=Ti.UI.createButton({
	title:'Sign up',
	top:0,
	right:0,
	width:'175px',
	heigth:'80px',
	color:'#808080',
	borderRadius:15,
	borderWidth:5,
	font:{fontSize:15,fontFamily:'Helvetica Neue'},
	backgroundColor:'white'
	
});

button3.addEventListener('click', function(e){
	if(textField.value.length==0)
		alert('bir seyler giriniz');
	else
		alert(textField.value);
		
});
var view3= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'70%',
	height:'80px'
	
});

var logo=Ti.UI.createImageView({
	image:'logo02.png',
	width:'450px',
	top: '15%'
});

var ScreenWidth = Ti.Platform.displayCaps.platformWidth;

var viewbuyuk= Ti.UI.createView({
	backgroundColor:'transparent',
	width:ScreenWidth +'px',
	left:-ScreenWidth+ 'px',
	height:'100%'
});


view1.add(textField);


viewbuyuk.add(view1);
//////////////////////////

view2.add(textField2);

viewbuyuk.add(view2);
////////////////////////
view3.add(button2);
view3.add(button3);
viewbuyuk.add(view3);
viewbuyuk.add(logo);
loginWindow.add(viewbuyuk);



loginWindow.open();

<commit_msg>sign up ekrani tamam gibi<commit_after>// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#FD9627');

var loginWindow = Ti.UI.createWindow({
	title: 'Login',
	backgroundColor:'transparent',
	navBarHidden: true,
	tabBarHidden: true
});

var view1= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'50%',
	height:'80px'
	
});

var textField= Ti.UI.createTextField({
	backgroundColor: 'white',
	borderRadius:15,
	borderWidth:5,
	color:'black',
	hintText: 'Enter username',
	
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var view2= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'60%',
	height:'80px'
	
});

var textField2= Ti.UI.createTextField({
	backgroundColor: 'white',
	color:'black',
	hintText: 'Enter password',
	borderRadius:15,
	borderWidth:5,
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var button2=Ti.UI.createButton({
	title:'Sign in',
	top:0,
	left:0,
	width:'175px',
	heigth:'80px',
	color:'#808080',
	borderRadius:15,
	borderWidth:5,
	font:{fontSize:15,fontFamily:'Helvetica Neue'},
	backgroundColor:'white'
	
});

button2.addEventListener('click', function(e){
	if(textField.value.length==0)
		alert('bir seyler giriniz');
	else
		alert(textField.value);
		
});
		
var button3=Ti.UI.createButton({
	title:'Sign up',
	top:0,
	right:0,
	width:'175px',
	heigth:'80px',
	color:'#808080',
	borderRadius:15,
	borderWidth:5,
	font:{fontSize:15,fontFamily:'Helvetica Neue'},
	backgroundColor:'white'
	
});

button3.addEventListener('click', function(e){
	if(textField.value.length==0)
		alert('bir seyler giriniz');
	else
		alert(textField.value);
		
});
var view3= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'70%',
	height:'80px'
	
});

var logo=Ti.UI.createImageView({
	image:'logo02.png',
	width:'450px',
	top: '15%'
});

var ScreenWidth = Ti.Platform.displayCaps.platformWidth;

var viewbuyuk= Ti.UI.createView({
	backgroundColor:'transparent',
	width:ScreenWidth +'px',
	left:-ScreenWidth+ 'px',
	height:'100%'
});


//////////////////////////////////////////////////////
//sign up ekrani
var view21= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'40%',
	height:'80px'
	
});

var textField21= Ti.UI.createTextField({
	backgroundColor: 'white',
	borderRadius:15,
	borderWidth:5,
	color:'black',
	hintText: 'Username',
	
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var view22= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'50%',
	height:'80px'
	
});

var textField22= Ti.UI.createTextField({
	backgroundColor: 'white',
	color:'black',
	hintText: 'Name Surname',
	borderRadius:15,
	borderWidth:5,
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var view23= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'60%',
	height:'80px'
	
});

var textField23= Ti.UI.createTextField({
	backgroundColor: 'white',
	color:'black',
	hintText: 'Email',
	borderRadius:15,
	borderWidth:5,
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var view24= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'70%',
	height:'80px'
	
});

var textField24= Ti.UI.createTextField({
	backgroundColor: 'white',
	color:'black',
	hintText: 'Password',
	borderRadius:15,
	borderWidth:5,
	width:'450px',
	height:'80px',
	left:0,
	top:0
	
});

var button22=Ti.UI.createButton({
	title:'Back',
	top:0,
	left:0,
	width:'175px',
	heigth:'80px',
	color:'#808080',
	borderRadius:15,
	borderWidth:5,
	font:{fontSize:15,fontFamily:'Helvetica Neue'},
	backgroundColor:'white'
	
});

var button23=Ti.UI.createButton({
	title:'Sign up',
	top:0,
	right:0,
	width:'175px',
	heigth:'80px',
	color:'#808080',
	borderRadius:15,
	borderWidth:5,
	font:{fontSize:15,fontFamily:'Helvetica Neue'},
	backgroundColor:'white'
	
});

button23.addEventListener('click', function(e){
	if(textField.value.length==0)
		alert('bir seyler giriniz');
	else
		alert(textField.value);
		
});

var view25= Ti.UI.createView({
	backgroundColor:'transparent',
	width:'450px',
	top:'80%',
	height:'80px'
	
});
////////////////////////////////////////////////////////
view1.add(textField);
viewbuyuk.add(view1);
//////////////////////////

view2.add(textField2);

viewbuyuk.add(view2);
////////////////////////
view3.add(button2);
view3.add(button3);

viewbuyuk.add(view3);
viewbuyuk.add(logo);
loginWindow.add(viewbuyuk);

view21.add(textField21);
loginWindow.add(view21);

view22.add(textField22);
loginWindow.add(view22);

view23.add(textField23);
loginWindow.add(view23);

view24.add(textField24);
loginWindow.add(view24);



view25.add(button22);
view25.add(button23);

loginWindow.add(view25);
loginWindow.open();


{'fraction_non_alphanumeric': 0.20423621826343105, 'fraction_numerical': 0.054986674147846824, 'mean_word_length': 4.926849542809642, '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': '1406233', 'n_tokens_mistral': 2966, 'n_tokens_neox': 2698, 'n_words': 449}