parent
							
								
									21db2a2cba
								
							
						
					
					
						commit
						48aa7ed638
					
				|  | @ -6,7 +6,7 @@ | |||
| 
 | ||||
| /*<!--match-->*/ | ||||
| span.CodeMirror-matchhighlight { background: #494949 } | ||||
| .CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67; !important } | ||||
| .CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; } | ||||
| 
 | ||||
| /*<!--activeline-->*/ | ||||
| .activeline {background: #253540 !important;} | ||||
|  |  | |||
|  | @ -91,8 +91,10 @@ namespace :new_ui do | |||
|     end | ||||
|   end | ||||
| 
 | ||||
|   task :save_users => :environment do | ||||
|     User.not_guest_user.where(position: nil).each(&:save) | ||||
|   task :reset_user_position => :environment do | ||||
|     User.not_guest_user.each_with_index do |user, i| | ||||
|       user.update_attribute(:position, i) | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
| end | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue