More standalone operation stuff.
Stop using `edbob.db.engine`, stop using all edbob templates, etc.
This commit is contained in:
		
							parent
							
								
									2a50e704ef
								
							
						
					
					
						commit
						7d19700c3c
					
				
					 22 changed files with 438 additions and 54 deletions
				
			
		
							
								
								
									
										24
									
								
								tailbone/static/js/login.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								tailbone/static/js/login.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| 
 | ||||
| $(function() { | ||||
| 
 | ||||
|     $('form').submit(function() { | ||||
|         if (! $('#username').val()) { | ||||
|             with ($('#username').get(0)) { | ||||
|                 select(); | ||||
|                 focus(); | ||||
|             } | ||||
|             return false; | ||||
|         } | ||||
|         if (! $('#password').val()) { | ||||
|             with ($('#password').get(0)) { | ||||
|                 select(); | ||||
|                 focus(); | ||||
|             } | ||||
|             return false; | ||||
|         } | ||||
|         return true; | ||||
|     }); | ||||
| 
 | ||||
|     $('#username').focus(); | ||||
| 
 | ||||
| }); | ||||
|  | @ -105,6 +105,13 @@ $(function() { | |||
|         autoExpand: true | ||||
|     }); | ||||
| 
 | ||||
|     /* | ||||
|      * Fix buttons. | ||||
|      */ | ||||
|     $('button').button(); | ||||
|     $('input[type=submit]').button(); | ||||
|     $('input[type=reset]').button(); | ||||
| 
 | ||||
|     /* | ||||
|      * When filter labels are clicked, (un)check the associated checkbox. | ||||
|      */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar