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