Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changes

  • Loading branch information...
commit 3b3772beb8433f5cfc4e76b6769a4be0df309b92 1 parent f8d5839
@mhickman84 mhickman84 authored
View
1  app/assets/javascripts/application.js
@@ -6,5 +6,6 @@
//
//= require jquery
//= require jquery_ujs
+//= require jquery-ui
//= require_tree .
//= require remote_content
View
12 app/assets/javascripts/resumes.js.coffee
@@ -1,3 +1,15 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
+jQuery ->
+ $('li.achievement').draggable()
+ $('#resume-achievements').droppable
+ over: (event, ui) ->
+ $(this).css('background-color', '#FEF2B1')
+ out: (event, ui) ->
+ $(this).css('background-color', 'white')
+ drop: (event, ui) ->
+ ui.draggable.hide()
+ ui.draggable.children('a').trigger('click')
+ deactivate: (event, ui) ->
+ ui.draggable.hide()
View
2  app/assets/stylesheets/layout.css.scss
@@ -135,7 +135,7 @@ h4 { font-size: 16px }
#achievements li { margin-left: 10px; list-style-type: none; }
#resume-achievements {
- text-align: left;
+ text-align: left; min-height: 100px;
margin-top: 40px;
}
#resume-achievements p { padding: 10px 0 }
Please sign in to comment.
Something went wrong with that request. Please try again.