Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling site #11

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d4254a3
Commit new folders
swong1267 Jul 13, 2015
a71b146
Updated website
swong1267 Jul 13, 2015
02b7cd9
Finished d2 answers.md
swong1267 Jul 14, 2015
724d218
experimenting with leap years
swong1267 Jul 14, 2015
ea97460
Finished leap years
swong1267 Jul 14, 2015
8fd2d60
cleaning up cache
swong1267 Jul 14, 2015
eda3311
Finished deaf grandma
swong1267 Jul 14, 2015
b1736df
Grandma extension
swong1267 Jul 14, 2015
727f0ab
3A exercises
swong1267 Jul 15, 2015
8ff1cb8
Updated better_bouncer.rb
swong1267 Jul 15, 2015
973dee7
Better style in mumble
swong1267 Jul 15, 2015
19a53f6
testing ssh
swong1267 Jul 15, 2015
26b054e
testing ssh again after changing url
swong1267 Jul 15, 2015
72e26c5
testing ssh message
swong1267 Jul 15, 2015
f8caabd
finished fizzbuzz
swong1267 Jul 15, 2015
5577e0d
finished google map
swong1267 Jul 15, 2015
f37e321
finished recipes
swong1267 Jul 15, 2015
15d6649
testing finding_things
swong1267 Jul 15, 2015
3da67c8
finished hashstack
swong1267 Jul 15, 2015
698637f
correct d2 exercises
swong1267 Jul 15, 2015
34ee612
corrections to hw from class
swong1267 Jul 16, 2015
acf894e
before changing back to printing from the app.rb page
swong1267 Jul 16, 2015
dd41fc9
finished 4a exercises
swong1267 Jul 16, 2015
b67cc35
basic 4b exerciese finished
swong1267 Jul 16, 2015
2235513
working on webapp
swong1267 Jul 19, 2015
e98cbe6
finished web app
swong1267 Jul 19, 2015
befba4f
fixed header
swong1267 Jul 19, 2015
aa92d99
switching over to only freelancer for personal site
swong1267 Jul 20, 2015
5840b03
need to fix portfolio grid section
swong1267 Jul 20, 2015
c2d427e
finished intermediate lab
swong1267 Jul 20, 2015
ace3d39
clean up git
swong1267 Jul 20, 2015
3bed463
finished answers.md
swong1267 Jul 20, 2015
9ebe706
finished controller and model app
swong1267 Jul 20, 2015
95a2189
working on rusk
swong1267 Jul 20, 2015
c841f92
updating files
swong1267 Jul 21, 2015
0655c5b
finished answers.md
swong1267 Jul 21, 2015
b18f148
finished sharks
swong1267 Jul 21, 2015
7b926ec
working on blog pt ii
swong1267 Jul 21, 2015
b0b7202
finished blog pt ii
swong1267 Jul 22, 2015
eff6453
added dev tools
swong1267 Jul 22, 2015
68b0cca
added migration/model
swong1267 Jul 22, 2015
b1e667d
added pattern to animal
swong1267 Jul 22, 2015
d8016e8
removed pattern
swong1267 Jul 22, 2015
da39a6a
finished treasure hunt answers
swong1267 Jul 22, 2015
f6738bb
added to seeds.rb
swong1267 Jul 22, 2015
2d8801a
added validations for animals
swong1267 Jul 22, 2015
3b7f79f
added controller/show/index
swong1267 Jul 22, 2015
94a8e0e
finished cheetah
swong1267 Jul 22, 2015
b2a5c04
cleaning staging area
swong1267 Jul 28, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions SerenaWong-swong1267/LekkerPlekke.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<!-- saved from url=(0028)http://localhost:3000/places -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LekkerPlekke</title>
<link rel="stylesheet" media="all" href="http://localhost:3000/assets/twitter-bootstrap-static/bootstrap.self-77d963462a71b85aa6c39f0110994006fed4301154d937da52eb3884ff813853.css?body=1" data-turbolinks-track="true">
<link rel="stylesheet" media="all" href="http://localhost:3000/assets/twitter-bootstrap-static/fontawesome.self-c1a8821f7eb1b195061d7706930814ecc6bd44db4c68f208da5fe14845fa11ea.css?body=1" data-turbolinks-track="true">
<link rel="stylesheet" media="all" href="http://localhost:3000/assets/bootstrap_and_overrides.self-2cb3834583dfbaf0a39c7139750bf963e05d79cbe811126997e013400be5d8dc.css?body=1" data-turbolinks-track="true">
<link rel="stylesheet" media="all" href="http://localhost:3000/assets/style.self-2ba648011ca16b21730151a56dccaae9b720f70416e3b5a79f5c5f3aa2230513.css?body=1" data-turbolinks-track="true">
<link rel="stylesheet" media="all" href="http://localhost:3000/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" data-turbolinks-track="true">
<script src="./LekkerPlekke_files/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js" data-turbolinks-track="true"></script><style type="text/css"></style>
<script src="./LekkerPlekke_files/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd818b30615f785ff365e8d1f.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/transition.self-db278e3a8fa6249c16796b113ebd29e11ef4e2cd021618ed84895d524a4511e0.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/alert.self-ebce91ec66c71bcee451ea7da9128fd1bf8faa02c6d22ea04c598423431e4c08.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/modal.self-ab1767545e27c0dbd36971e656ae4927171f673e3d932cdec2cbef39e991952b.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/dropdown.self-8bb9309b6c24a4ba6b94026a049d25b13bdc0553b6fe83255c14a715ba624cc4.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/scrollspy.self-bd0c6724cdc75302fe98dfeff923112b76c1673cf4a0752a7050b7feea15594c.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/tab.self-7e3ee4a243bb416b5f0111a0be08f8547c5d72ba71fe4afe4a4a007f5cb4e10e.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/tooltip.self-d7f9330825307d053f68da11bb9ddc9b070df72deef3d115f2f3d55f66b17457.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/popover.self-cd672ecad3b549e1dbd89bfd044e5812d6fdade56f42d48e3acee0c3f4614526.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/button.self-ceb562de883e04359bb2c06f07bdf6ecf065cc8a5027e2e58857c5e91b0b68e3.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/collapse.self-a87553101c955a01e2e8c81fad69a16582ddbf58fe95d5eb335dde5567af7647.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/carousel.self-5d09995e01b647168888180d40e271f9a6759d68ae7ac029d7026af58813d376.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/affix.self-14e04bbe71282aa039322ab93e3a3a886ddede5f59a2f365f7c861f697bbeb21.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/bootstrap.self-fbfa5ad7d9aa0afe439ec4ff3883acc4cb92b62cb67c40d674320c9aa1d4642d.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/bootstrap.self-fdc98dee79ee88255e10cac6caa91338165cb76cf0d263744d8d90011fc2ef8f.js" data-turbolinks-track="true"></script>
<script src="./LekkerPlekke_files/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js" data-turbolinks-track="true"></script>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="4HhD63ShpysVHV9GPzGlJB6PVkFix5KQCj8W3JvO/RCXPIk/jBg7BQqz3nRuaUI6QV1T1CplwO/hSfQCA0mJig==">
</head>
<body>

<div class="container">

<h1>Index Page</h1>


<div class="row">
<div class="col-md-2"><a href="http://localhost:3000/places/57">Once</a></div><br>
<div class="col-md-2"><a href="http://localhost:3000/places/57/edit">Edit</a></div>
<div class="col-md-2"><a data-confirm="Are you sure? " rel="nofollow" data-method="delete" href="http://localhost:3000/places/57">Destroy</a></div>
<div class="col-md-4" colspan="12"></div>
</div>
<div class="row">
<div class="col-md-2"><a href="http://localhost:3000/places/58">iX House</a></div><br>
<div class="col-md-2"><a href="http://localhost:3000/places/58/edit">Edit</a></div>
<div class="col-md-2"><a data-confirm="Are you sure? " rel="nofollow" data-method="delete" href="http://localhost:3000/places/58">Destroy</a></div>
<div class="col-md-4" colspan="12"></div>
</div>
<div class="row">
<div class="col-md-2"><a href="http://localhost:3000/places/59">Cape Point</a></div><br>
<div class="col-md-2"><a href="http://localhost:3000/places/59/edit">Edit</a></div>
<div class="col-md-2"><a data-confirm="Are you sure? " rel="nofollow" data-method="delete" href="http://localhost:3000/places/59">Destroy</a></div>
<div class="col-md-4" colspan="12"></div>
</div>
<div class="row">
<div class="col-md-2"><a href="http://localhost:3000/places/60">Waterfront</a></div><br>
<div class="col-md-2"><a href="http://localhost:3000/places/60/edit">Edit</a></div>
<div class="col-md-2"><a data-confirm="Are you sure? " rel="nofollow" data-method="delete" href="http://localhost:3000/places/60">Destroy</a></div>
<div class="col-md-4" colspan="12"></div>
</div>



<a href="http://localhost:3000/places/new">New Place</a>

</div>




</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/* ========================================================================
* Bootstrap: affix.js v3.1.1
* http://getbootstrap.com/javascript/#affix
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */



+function ($) {
'use strict';

// AFFIX CLASS DEFINITION
// ======================

var Affix = function (element, options) {
this.options = $.extend({}, Affix.DEFAULTS, options)
this.$window = $(window)
.on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))

this.$element = $(element)
this.affixed =
this.unpin =
this.pinnedOffset = null

this.checkPosition()
}

Affix.RESET = 'affix affix-top affix-bottom'

Affix.DEFAULTS = {
offset: 0
}

Affix.prototype.getPinnedOffset = function () {
if (this.pinnedOffset) return this.pinnedOffset
this.$element.removeClass(Affix.RESET).addClass('affix')
var scrollTop = this.$window.scrollTop()
var position = this.$element.offset()
return (this.pinnedOffset = position.top - scrollTop)
}

Affix.prototype.checkPositionWithEventLoop = function () {
setTimeout($.proxy(this.checkPosition, this), 1)
}

Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return

var scrollHeight = $(document).height()
var scrollTop = this.$window.scrollTop()
var position = this.$element.offset()
var offset = this.options.offset
var offsetTop = offset.top
var offsetBottom = offset.bottom

if (this.affixed == 'top') position.top += scrollTop

if (typeof offset != 'object') offsetBottom = offsetTop = offset
if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)

var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false

if (this.affixed === affix) return
if (this.unpin) this.$element.css('top', '')

var affixType = 'affix' + (affix ? '-' + affix : '')
var e = $.Event(affixType + '.bs.affix')

this.$element.trigger(e)

if (e.isDefaultPrevented()) return

this.affixed = affix
this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null

this.$element
.removeClass(Affix.RESET)
.addClass(affixType)
.trigger($.Event(affixType.replace('affix', 'affixed')))

if (affix == 'bottom') {
this.$element.offset({ top: scrollHeight - offsetBottom - this.$element.height() })
}
}


// AFFIX PLUGIN DEFINITION
// =======================

var old = $.fn.affix

$.fn.affix = function (option) {
return this.each(function () {
var $this = $(this)
var data = $this.data('bs.affix')
var options = typeof option == 'object' && option

if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
if (typeof option == 'string') data[option]()
})
}

$.fn.affix.Constructor = Affix


// AFFIX NO CONFLICT
// =================

$.fn.affix.noConflict = function () {
$.fn.affix = old
return this
}


// AFFIX DATA-API
// ==============

$(window).on('load', function () {
$('[data-spy="affix"]').each(function () {
var $spy = $(this)
var data = $spy.data()

data.offset = data.offset || {}

if (data.offsetBottom) data.offset.bottom = data.offsetBottom
if (data.offsetTop) data.offset.top = data.offsetTop

$spy.affix(data)
})
})

}(jQuery);
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/* ========================================================================
* Bootstrap: alert.js v3.1.1
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */



+function ($) {
'use strict';

// ALERT CLASS DEFINITION
// ======================

var dismiss = '[data-dismiss="alert"]'
var Alert = function (el) {
$(el).on('click', dismiss, this.close)
}

Alert.prototype.close = function (e) {
var $this = $(this)
var selector = $this.attr('data-target')

if (!selector) {
selector = $this.attr('href')
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}

var $parent = $(selector)

if (e) e.preventDefault()

if (!$parent.length) {
$parent = $this.hasClass('alert') ? $this : $this.parent()
}

$parent.trigger(e = $.Event('close.bs.alert'))

if (e.isDefaultPrevented()) return

$parent.removeClass('in')

function removeElement() {
$parent.trigger('closed.bs.alert').remove()
}

$.support.transition && $parent.hasClass('fade') ?
$parent
.one($.support.transition.end, removeElement)
.emulateTransitionEnd(150) :
removeElement()
}


// ALERT PLUGIN DEFINITION
// =======================

var old = $.fn.alert

$.fn.alert = function (option) {
return this.each(function () {
var $this = $(this)
var data = $this.data('bs.alert')

if (!data) $this.data('bs.alert', (data = new Alert(this)))
if (typeof option == 'string') data[option].call($this)
})
}

$.fn.alert.Constructor = Alert


// ALERT NO CONFLICT
// =================

$.fn.alert.noConflict = function () {
$.fn.alert = old
return this
}


// ALERT DATA-API
// ==============

$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)

}(jQuery);
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//





Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@












Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function() {
jQuery(function() {
$("a[rel~=popover], .has-popover").popover();
return $("a[rel~=tooltip], .has-tooltip").tooltip();
});

}).call(this);
Loading