<commit_before><%@ include file="/common/taglibs.jsp"%>
<%-- 
author: keshav
version: $Id$
--%>


<html>
	<head>
		<title>Login</title>

		<script>
		
	Ext.namespace('Gemma');
	Ext.BLANK_IMAGE_URL = '/Gemma/images/default/s.gif';

	Ext.onReady( function()
	{
		Ext.QuickTips.init();

		var error = Ext.get('login_error_msg') ? Ext.get('login_error_msg').getValue() : "";
		
		var login = new Ext.Panel({frame :false, title :'Login', width : 350, items:[new Ext.FormPanel(
		{
			labelWidth :90,
			url :'/Gemma/j_spring_security_check',
			method :'POST',
			id :'_loginForm',
			standardSubmit :true,
			frame : true,
			bodyStyle :'padding:5px 5px 0',
			iconCls :'user-suit',
			width :350,
			monitorValid:true,
			keys:
			[
				{
					key: Ext.EventObject.ENTER,
					fn: function()
			        {
						var sb = Ext.getCmp('my-status');
						sb.showBusy();
						Ext.getCmp("_loginForm").getForm().submit();
			        }
				}
			],
			defaults :
		    {
				<%-- 
					enter defaults here
					width :230 
				--%>
			},
			defaultType :'textfield',
			items :
			[
				{
					fieldLabel :'Username',
					name :'j_username',
					id :'j_username',
					allowBlank :false
				},
				{
					fieldLabel :'Password',
					name :'j_password',
					id :'j_password',
					allowBlank :false,
					inputType :'password'
				},{
					fieldLabel : '<a href="/Gemma/passwordHint.html">Forgot your password?</a>',
					name :'passwordHint',
					id :'passwordHint',
					labelSeparator:'',
					hidden : true
				},{
					fieldLabel: 'Remember Me',
					boxLabel : 'rememberMe',
					name : '_spring_security_remember_me',
					inputType: 'checkbox'
				}
					
			],
			
			buttons :
					[ {
							text :'Login',
							formBind:true,
							type :'submit',
							minWidth: 75,
							handler :function()
			        		{
								var sb = Ext.getCmp('my-status');
								sb.showBusy();
								Ext.getCmp("_loginForm").getForm().submit();
			        		}					
						}
					]})], // end of items for outer panel.
					
		   bbar: new Ext.ux.StatusBar(<commit_msg>add id for remember me field (attempt to fix bug 1855)<commit_after><%@ include file="/common/taglibs.jsp"%>
<%-- 
author: keshav
version: $Id$
--%>


<html>
	<head>
		<title>Login</title>

		<script>
		
	Ext.namespace('Gemma');
	Ext.BLANK_IMAGE_URL = '/Gemma/images/default/s.gif';

	Ext.onReady( function()
	{
		Ext.QuickTips.init();

		var error = Ext.get('login_error_msg') ? Ext.get('login_error_msg').getValue() : "";
		
		var login = new Ext.Panel({frame :false, title :'Login', width : 350, items:[new Ext.FormPanel(
		{
			labelWidth :90,
			url :'/Gemma/j_spring_security_check',
			method :'POST',
			id :'_loginForm',
			standardSubmit :true,
			frame : true,
			bodyStyle :'padding:5px 5px 0',
			iconCls :'user-suit',
			width :350,
			monitorValid:true,
			keys:
			[
				{
					key: Ext.EventObject.ENTER,
					fn: function()
			        {
						var sb = Ext.getCmp('my-status');
						sb.showBusy();
						Ext.getCmp("_loginForm").getForm().submit();
			        }
				}
			],
			defaults :
		    {
				<%-- 
					enter defaults here
					width :230 
				--%>
			},
			defaultType :'textfield',
			items :
			[
				{
					fieldLabel :'Username',
					name :'j_username',
					id :'j_username',
					allowBlank :false
				},
				{
					fieldLabel :'Password',
					name :'j_password',
					id :'j_password',
					allowBlank :false,
					inputType :'password'
				},{
					fieldLabel : '<a href="/Gemma/passwordHint.html">Forgot your password?</a>',
					name :'passwordHint',
					id :'passwordHint',
					labelSeparator:'',
					hidden : true
				},{
					fieldLabel: 'Remember Me',
					boxLabel : 'rememberMe',
					id : '_spring_security_remember_me',
					name : '_spring_security_remember_me',
					inputType: 'checkbox'
				}
					
			],
			
			buttons :
					[ {
							text :'Login',
							formBind:true,
							type :'submit',
							minWidth: 75,
							handler :function()
			        		{
								var sb = Ext.getCmp('my-status');
								sb.showBusy();
								Ext.getCmp("_loginForm").getForm().submit();
			        		}					
						}
					]})], // end of items for outer panel.
					
		   bbar: new Ext.ux.StatusBar(
{'fraction_non_alphanumeric': 0.16083749702593386, 'fraction_numerical': 0.008565310492505354, 'mean_word_length': 2.201827875095202, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2252460', 'n_tokens_mistral': 2070, 'n_tokens_neox': 1460, 'n_words': 281}