This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://anthonyterrien.com/demo/knob/ | |
// https://github.com/aterrien/jQuery-Knob | |
/*!jQuery Knob*/ | |
/** | |
* Downward compatible, touchable dial | |
* | |
* Version: 1.2.12 | |
* Requires: jQuery v1.7+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
/*! | |
* animate.css -http://daneden.me/animate | |
* Version - 3.5.1 | |
* Licensed under the MIT license - http://opensource.org/licenses/MIT | |
* | |
* Copyright (c) 2016 Daniel Eden | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Main parallax wrapper--> | |
<div class="parallax"> | |
<!--First section--> | |
<div id="section-1" class="parallax-section"> | |
<!--Parallax content--> | |
<div class="parallax-layer parallax-layer-base"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def load | |
request = params[:q] | |
url = Url.new() | |
url.url = request | |
html = Nokogiri::HTML(open(request)) | |
# Sélection dans la variable @url.title, de la balise h2 si la h1 est absente | |
if html.css('h1') == nil | |
url.title = html.css('h2').text | |
else |