├── log
└── .keep
├── app
├── mailers
│ ├── .keep
│ ├── application_mailer.rb
│ └── notifier.rb
├── models
│ ├── .keep
│ └── concerns
│ │ └── .keep
├── assets
│ ├── images
│ │ ├── .keep
│ │ ├── fav.png
│ │ ├── favicon
│ │ │ ├── favicon.ico
│ │ │ ├── favicon-16x16.png
│ │ │ ├── favicon-32x32.png
│ │ │ ├── mstile-150x150.png
│ │ │ ├── apple-touch-icon.png
│ │ │ ├── android-chrome-192x192.png
│ │ │ ├── android-chrome-384x384.png
│ │ │ ├── browserconfig.xml.erb
│ │ │ └── site.webmanifest
│ │ └── freelancer
│ │ │ ├── nans.png
│ │ │ ├── portfolio
│ │ │ ├── cbyc.PNG
│ │ │ ├── pge.png
│ │ │ ├── wattics.png
│ │ │ ├── cbyc-logo.jpg
│ │ │ ├── clicdata.png
│ │ │ ├── cogiteem.png
│ │ │ ├── pge-graph.PNG
│ │ │ ├── wattics-logo.PNG
│ │ │ ├── clicdata-logo.jpg
│ │ │ ├── defensiveradar.PNG
│ │ │ ├── defensiveradar2.png
│ │ │ └── cogiteem-presentation.png
│ │ │ ├── site.webmanifest
│ │ │ └── safari-pinned-tab.svg
│ ├── stylesheets
│ │ ├── freelancer
│ │ │ ├── manifest.css
│ │ │ └── freelancer.css
│ │ └── application.css
│ └── javascripts
│ │ ├── freelancer
│ │ ├── manifest.js
│ │ ├── cbpAnimatedHeader.js
│ │ ├── freelancer.js
│ │ ├── classie.js
│ │ ├── contact_me.js
│ │ └── jqBootstrapValidation.js
│ │ └── application.js
├── controllers
│ ├── concerns
│ │ └── .keep
│ ├── application_controller.rb
│ └── freelancers_controller.rb
├── views
│ ├── layouts
│ │ ├── mailer.text.erb
│ │ ├── application.html.erb
│ │ └── freelancer.html.erb
│ ├── freelancers
│ │ ├── index.html.erb
│ │ ├── _header.html.erb
│ │ ├── _about.html.erb
│ │ ├── _navigation.html.erb
│ │ ├── _footer.html.erb
│ │ ├── _contact.html.erb
│ │ ├── _portfolio.html.erb
│ │ └── _modals.html.erb
│ ├── application
│ │ └── _favicon.html.erb
│ └── notifier
│ │ └── mailer.html.erb
└── helpers
│ └── application_helper.rb
├── lib
├── assets
│ └── .keep
└── tasks
│ └── .keep
├── public
├── favicon.ico
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── fontawesome-webfont.woff2
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── robots.txt
├── 500.html
├── 422.html
└── 404.html
├── vendor
└── assets
│ ├── javascripts
│ └── .keep
│ └── stylesheets
│ ├── .keep
│ └── font_awesome.css
├── bin
├── rake
├── bundle
├── rails
└── setup
├── config
├── boot.rb
├── initializers
│ ├── cookies_serializer.rb
│ ├── mime_types.rb
│ ├── session_store.rb
│ ├── filter_parameter_logging.rb
│ ├── wrap_parameters.rb
│ ├── backtrace_silencers.rb
│ ├── assets.rb
│ └── inflections.rb
├── routes.rb
├── environment.rb
├── locales
│ └── en.yml
├── secrets.yml
├── application.rb
├── favicon.json
├── environments
│ ├── development.rb
│ ├── test.rb
│ └── production.rb
└── deploy
│ ├── staging.rb
│ └── production.rb
├── config.ru
├── Rakefile
├── db
└── seeds.rb
├── .gitignore
├── README.md
├── Gemfile
└── Gemfile.lock
/log/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/mailers/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/models/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/assets/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/tasks/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/assets/images/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/models/concerns/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/controllers/concerns/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/assets/javascripts/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/assets/stylesheets/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/views/layouts/mailer.text.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
2 |
--------------------------------------------------------------------------------
/app/helpers/application_helper.rb:
--------------------------------------------------------------------------------
1 | module ApplicationHelper
2 | end
3 |
--------------------------------------------------------------------------------
/app/assets/images/fav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/fav.png
--------------------------------------------------------------------------------
/bin/rake:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | require_relative '../config/boot'
3 | require 'rake'
4 | Rake.application.run
5 |
--------------------------------------------------------------------------------
/public/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/app/assets/images/favicon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/favicon.ico
--------------------------------------------------------------------------------
/app/assets/images/freelancer/nans.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/nans.png
--------------------------------------------------------------------------------
/public/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/public/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/public/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/public/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/app/assets/images/favicon/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/favicon-16x16.png
--------------------------------------------------------------------------------
/app/assets/images/favicon/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/favicon-32x32.png
--------------------------------------------------------------------------------
/app/assets/images/favicon/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/mstile-150x150.png
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/app/assets/images/favicon/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/apple-touch-icon.png
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/cbyc.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/cbyc.PNG
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/pge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/pge.png
--------------------------------------------------------------------------------
/bin/bundle:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3 | load Gem.bin_path('bundler', 'bundle')
4 |
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/public/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/wattics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/wattics.png
--------------------------------------------------------------------------------
/app/mailers/application_mailer.rb:
--------------------------------------------------------------------------------
1 | class ApplicationMailer < ActionMailer::Base
2 | default from: "from@nans_dumortier.com"
3 | layout 'mailer'
4 | end
5 |
--------------------------------------------------------------------------------
/config/boot.rb:
--------------------------------------------------------------------------------
1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2 |
3 | require 'bundler/setup' # Set up gems listed in the Gemfile.
4 |
--------------------------------------------------------------------------------
/app/assets/images/favicon/android-chrome-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/android-chrome-192x192.png
--------------------------------------------------------------------------------
/app/assets/images/favicon/android-chrome-384x384.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/favicon/android-chrome-384x384.png
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/cbyc-logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/cbyc-logo.jpg
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/clicdata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/clicdata.png
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/cogiteem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/cogiteem.png
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/pge-graph.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/pge-graph.PNG
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/wattics-logo.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/wattics-logo.PNG
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/clicdata-logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/clicdata-logo.jpg
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/defensiveradar.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/defensiveradar.PNG
--------------------------------------------------------------------------------
/bin/rails:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | APP_PATH = File.expand_path('../../config/application', __FILE__)
3 | require_relative '../config/boot'
4 | require 'rails/commands'
5 |
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/defensiveradar2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/defensiveradar2.png
--------------------------------------------------------------------------------
/config.ru:
--------------------------------------------------------------------------------
1 | # This file is used by Rack-based servers to start the application.
2 |
3 | require ::File.expand_path('../config/environment', __FILE__)
4 | run Rails.application
5 |
--------------------------------------------------------------------------------
/config/initializers/cookies_serializer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | Rails.application.config.action_dispatch.cookies_serializer = :json
4 |
--------------------------------------------------------------------------------
/config/routes.rb:
--------------------------------------------------------------------------------
1 | Rails.application.routes.draw do
2 | root 'freelancers#index'
3 | post '/freelancer_email', controller: 'freelancers', action: 'contact_freelancer'
4 | end
5 |
--------------------------------------------------------------------------------
/app/assets/images/freelancer/portfolio/cogiteem-presentation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NansD/nans_dumortier/master/app/assets/images/freelancer/portfolio/cogiteem-presentation.png
--------------------------------------------------------------------------------
/app/assets/stylesheets/freelancer/manifest.css:
--------------------------------------------------------------------------------
1 | /*
2 | *= require freelancer/bootswatch_bootstrap
3 | *= require font_awesome
4 | *= require freelancer/freelancer.css
5 | *= require_self
6 | */
7 |
8 |
--------------------------------------------------------------------------------
/config/initializers/mime_types.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Add new mime types for use in respond_to blocks:
4 | # Mime::Type.register "text/richtext", :rtf
5 |
--------------------------------------------------------------------------------
/config/initializers/session_store.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | Rails.application.config.session_store :cookie_store, key: '_rails-startbootstrap-freelancer_session'
4 |
--------------------------------------------------------------------------------
/app/views/freelancers/index.html.erb:
--------------------------------------------------------------------------------
1 | <%= render "navigation" %>
2 | <%= render "header" %>
3 | <%= render "portfolio" %>
4 | <%= render "about" %>
5 | <%= render "contact" %>
6 | <%= render "modals" %>
7 | <%= render "footer" %>
8 |
9 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2 | #
3 | # To ban all spiders from the entire site uncomment the next two lines:
4 | # User-agent: *
5 | # Disallow: /
6 |
--------------------------------------------------------------------------------
/config/initializers/filter_parameter_logging.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Configure sensitive parameters which will be filtered from the log file.
4 | Rails.application.config.filter_parameters += [:password]
5 |
--------------------------------------------------------------------------------
/app/controllers/application_controller.rb:
--------------------------------------------------------------------------------
1 | class ApplicationController < ActionController::Base
2 | # Prevent CSRF attacks by raising an exception.
3 | # For APIs, you may want to use :null_session instead.
4 | protect_from_forgery with: :exception
5 | end
6 |
--------------------------------------------------------------------------------
/app/assets/javascripts/freelancer/manifest.js:
--------------------------------------------------------------------------------
1 | //= require jquery
2 | //= require jquery_ujs
3 | //= require bootstrap
4 | //= require freelancer/classie
5 | //= require freelancer/cbpAnimatedHeader
6 | //= require freelancer/contact_me
7 | //= require freelancer/freelancer
8 | //= require freelancer/jqBootstrapValidation
9 |
10 |
--------------------------------------------------------------------------------
/app/mailers/notifier.rb:
--------------------------------------------------------------------------------
1 | class Notifier < ApplicationMailer
2 | def notify_freelancer(email, message, name, phone)
3 | @email = email
4 | @message = message
5 | @name = name
6 | @phone = phone
7 | mail(to: PROJECT_CONFIG[:freelancer_email], subject: 'You\'ve been contacted !', template_name: 'mailer')
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/Rakefile:
--------------------------------------------------------------------------------
1 | # Add your own tasks in files placed in lib/tasks ending in .rake,
2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3 |
4 | require File.expand_path('../config/application', __FILE__)
5 |
6 | Rails.application.load_tasks
7 |
8 | require "frontend_generators"
9 | load 'tasks/add_assets.rake'
10 |
--------------------------------------------------------------------------------
/app/assets/images/favicon/browserconfig.xml.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | #b91d47
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/config/environment.rb:
--------------------------------------------------------------------------------
1 | # Load the Rails application.
2 | require File.expand_path('application', __dir__)
3 |
4 | # Initialize the Rails application.
5 | Rails.application.initialize!
6 |
7 | PROJECT_CONFIG = {
8 | freelancer_name: 'Nans',
9 | freelancer_full_name: 'Nans DUMORTIER',
10 | freelancer_email: 'dumortier.nans@gmail.com'
11 | }.freeze
12 |
--------------------------------------------------------------------------------
/db/seeds.rb:
--------------------------------------------------------------------------------
1 | # This file should contain all the record creation needed to seed the database with its default values.
2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3 | #
4 | # Examples:
5 | #
6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7 | # Mayor.create(name: 'Emanuel', city: cities.first)
8 |
--------------------------------------------------------------------------------
/app/views/layouts/application.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | RailsStartbootstrapFreelancer
5 | <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6 | <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7 | <%= csrf_meta_tags %>
8 |
9 |
10 |
11 | <%= yield %>
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/controllers/freelancers_controller.rb:
--------------------------------------------------------------------------------
1 | class FreelancersController < ApplicationController
2 | layout 'freelancer'
3 |
4 | def index; end
5 |
6 | def contact_freelancer
7 | email = params[:email]
8 | message = params[:message]
9 | name = params[:name]
10 | phone = params[:phone]
11 | Notifier.notify_freelancer(email, message, name, phone).deliver
12 | render nothing: true
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/config/initializers/wrap_parameters.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # This file contains settings for ActionController::ParamsWrapper which
4 | # is enabled by default.
5 |
6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7 | ActiveSupport.on_load(:action_controller) do
8 | wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9 | end
10 |
--------------------------------------------------------------------------------
/config/initializers/backtrace_silencers.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5 |
6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7 | # Rails.backtrace_cleaner.remove_silencers!
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2 | #
3 | # If you find yourself ignoring temporary files generated by your text editor
4 | # or operating system, you probably want to add a global ignore instead:
5 | # git config --global core.excludesfile '~/.gitignore_global'
6 |
7 | # Ignore bundler config.
8 | /.bundle
9 |
10 | # Ignore all logfiles and tempfiles.
11 | /log/*
12 | !/log/.keep
13 | /tmp
14 |
15 | # IDE
16 | /.idea/*
17 |
--------------------------------------------------------------------------------
/app/assets/images/favicon/site.webmanifest:
--------------------------------------------------------------------------------
1 | {
2 | "name": "",
3 | "short_name": "",
4 | "icons": [
5 | {
6 | "src": "android-chrome-192x192.png",
7 | "sizes": "192x192",
8 | "type": "image/png"
9 | },
10 | {
11 | "src": "android-chrome-384x384.png",
12 | "sizes": "384x384",
13 | "type": "image/png"
14 | }
15 | ],
16 | "theme_color": "#ffffff",
17 | "background_color": "#ffffff",
18 | "display": "standalone"
19 | }
20 |
--------------------------------------------------------------------------------
/app/assets/images/freelancer/site.webmanifest:
--------------------------------------------------------------------------------
1 | {
2 | "name": "",
3 | "short_name": "",
4 | "icons": [
5 | {
6 | "src": "/assets/android-chrome-192x192.png",
7 | "sizes": "192x192",
8 | "type": "image/png"
9 | },
10 | {
11 | "src": "/assets/android-chrome-512x512.png",
12 | "sizes": "512x512",
13 | "type": "image/png"
14 | }
15 | ],
16 | "theme_color": "#ffffff",
17 | "background_color": "#ffffff",
18 | "display": "standalone"
19 | }
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Portolio website - Nans Dumortier
2 |
3 | ## Introduction
4 | This project allows me to present myself and to show my skills.
5 | It is based on Mr Powers' [Rails implementation](https://github.com/MrPowers/rails-startbootstrap-freelancer) of the [Start Bootstrap Freelancer theme](https://startbootstrap.com/template-overviews/freelancer/).
6 |
7 | ## General technical information and documentation
8 | * Ruby version : `2.3.4`
9 |
10 | * Database creation : _TO DO_
11 |
12 | * Database initialization : _TO DO_
13 |
14 | * Deployment instructions : _TO DO_
15 |
16 |
--------------------------------------------------------------------------------
/config/initializers/assets.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Version of your assets, change this if you want to expire all your assets.
4 | Rails.application.config.assets.version = '1.0'
5 |
6 | # Add additional assets to the asset load path
7 | # Rails.application.config.assets.paths << Emoji.images_path
8 |
9 | # Precompile additional assets.
10 | # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11 | # Rails.application.config.assets.precompile += %w( search.js )
12 | Rails.application.config.assets.precompile += %w( freelancer/manifest.js freelancer/manifest.css )
13 |
--------------------------------------------------------------------------------
/app/views/application/_favicon.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/assets/images/freelancer/safari-pinned-tab.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
8 | Created by potrace 1.11, written by Peter Selinger 2001-2013
9 |
10 |
12 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/config/initializers/inflections.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Add new inflection rules using the following format. Inflections
4 | # are locale specific, and you may define rules for as many different
5 | # locales as you wish. All of these examples are active by default:
6 | # ActiveSupport::Inflector.inflections(:en) do |inflect|
7 | # inflect.plural /^(ox)$/i, '\1en'
8 | # inflect.singular /^(ox)en/i, '\1'
9 | # inflect.irregular 'person', 'people'
10 | # inflect.uncountable %w( fish sheep )
11 | # end
12 |
13 | # These inflection rules are supported but not enabled by default:
14 | # ActiveSupport::Inflector.inflections(:en) do |inflect|
15 | # inflect.acronym 'RESTful'
16 | # end
17 |
--------------------------------------------------------------------------------
/config/locales/en.yml:
--------------------------------------------------------------------------------
1 | # Files in the config/locales directory are used for internationalization
2 | # and are automatically loaded by Rails. If you want to use locales other
3 | # than English, add the necessary files in this directory.
4 | #
5 | # To use the locales, use `I18n.t`:
6 | #
7 | # I18n.t 'hello'
8 | #
9 | # In views, this is aliased to just `t`:
10 | #
11 | # <%= t('hello') %>
12 | #
13 | # To use a different locale, set it with `I18n.locale`:
14 | #
15 | # I18n.locale = :es
16 | #
17 | # This would use the information in config/locales/es.yml.
18 | #
19 | # To learn more, please read the Rails Internationalization guide
20 | # available at http://guides.rubyonrails.org/i18n.html.
21 |
22 | en:
23 | hello: "Hello world"
24 |
--------------------------------------------------------------------------------
/app/assets/javascripts/application.js:
--------------------------------------------------------------------------------
1 | // This is a manifest file that'll be compiled into application.js, which will include all the files
2 | // listed below.
3 | //
4 | // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5 | // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6 | //
7 | // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8 | // compiled file.
9 | //
10 | // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11 | // about supported directives.
12 | //
13 | //= require jquery
14 | //= require jquery_ujs
15 | //= require turbolinks
16 | //= require_tree .
17 |
--------------------------------------------------------------------------------
/app/assets/stylesheets/application.css:
--------------------------------------------------------------------------------
1 | /*
2 | * This is a manifest file that'll be compiled into application.css, which will include all the files
3 | * listed below.
4 | *
5 | * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6 | * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7 | *
8 | * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9 | * compiled file so the styles you add here take precedence over styles defined in any styles
10 | * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11 | * file per style scope.
12 | *
13 | *= require_tree .
14 | *= require_self
15 | */
16 |
--------------------------------------------------------------------------------
/bin/setup:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | require 'pathname'
3 |
4 | # path to your application root.
5 | APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6 |
7 | Dir.chdir APP_ROOT do
8 | # This script is a starting point to setup your application.
9 | # Add necessary setup steps to this file:
10 |
11 | puts "== Installing dependencies =="
12 | system "gem install bundler --conservative"
13 | system "bundle check || bundle install"
14 |
15 | # puts "\n== Copying sample files =="
16 | # unless File.exist?("config/database.yml")
17 | # system "cp config/database.yml.sample config/database.yml"
18 | # end
19 |
20 | puts "\n== Preparing database =="
21 | system "bin/rake db:setup"
22 |
23 | puts "\n== Removing old logs and tempfiles =="
24 | system "rm -f log/*"
25 | system "rm -rf tmp/cache"
26 |
27 | puts "\n== Restarting application server =="
28 | system "touch tmp/restart.txt"
29 | end
30 |
--------------------------------------------------------------------------------
/app/views/freelancers/_header.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= image_tag "freelancer/nans.png", class: "img-responsive", alt: "" %>
6 |
7 |
Nans Dumortier
8 |
9 |
Full stack web developer
10 |
11 |
12 |
I am a <%= Time.now.year - 1996 %>-year-old passionate about web applications. I have 1 year of full-time experience in software engineering, and love designing user-friendly web apps !
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/views/layouts/freelancer.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
15 |
16 | Nans Dumortier
17 | <%= render 'application/favicon' %>
18 | <%= stylesheet_link_tag 'freelancer/manifest.css', media: 'all' %>
19 |
20 |
21 | <%= javascript_include_tag 'freelancer/manifest.js' %>
22 | <%= csrf_meta_tags %>
23 |
24 |
25 |
26 |
27 | <%= yield %>
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/config/secrets.yml:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | # Your secret key is used for verifying the integrity of signed cookies.
4 | # If you change this key, all old signed cookies will become invalid!
5 |
6 | # Make sure the secret is at least 30 characters and all random,
7 | # no regular words or you'll be exposed to dictionary attacks.
8 | # You can use `rake secret` to generate a secure secret key.
9 |
10 | # Make sure the secrets in this file are kept private
11 | # if you're sharing your code publicly.
12 |
13 | development:
14 | secret_key_base: 9ffd3ed218f1c192ff840e75c5a4b2ba31ca4e3cc0099668b1b27d5ef70a0891f7bf3ce074028fdfcf64235fd8c4e9a9b74af04cb7e8542feb3a5610691577f6
15 |
16 | test:
17 | secret_key_base: a9fbb24b9b44a86f854f656f4de506048ab2db1417b3fedadad4cbbdf83612321198d86d653ba6a699ad2488d6cd7947df6e4b4c7d2a291d16d62d454023b1f4
18 |
19 | # Do not keep production secrets in the repository,
20 | # instead read values from the environment.
21 | production:
22 | secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
23 |
--------------------------------------------------------------------------------
/app/assets/javascripts/freelancer/cbpAnimatedHeader.js:
--------------------------------------------------------------------------------
1 | /**
2 | * cbpAnimatedHeader.js v1.0.0
3 | * http://www.codrops.com
4 | *
5 | * Licensed under the MIT license.
6 | * http://www.opensource.org/licenses/mit-license.php
7 | *
8 | * Copyright 2013, Codrops
9 | * http://www.codrops.com
10 | */
11 | var cbpAnimatedHeader = (function() {
12 |
13 | var docElem = document.documentElement,
14 | header = document.querySelector( '.navbar-fixed-top' ),
15 | didScroll = false,
16 | changeHeaderOn = 300;
17 |
18 | function init() {
19 | window.addEventListener( 'scroll', function( event ) {
20 | if( !didScroll ) {
21 | didScroll = true;
22 | setTimeout( scrollPage, 250 );
23 | }
24 | }, false );
25 | }
26 |
27 | function scrollPage() {
28 | var header = document.querySelector( '.navbar-fixed-top' )
29 | var sy = scrollY();
30 | if ( sy >= changeHeaderOn ) {
31 | classie.add( header, 'navbar-shrink' );
32 | }
33 | else {
34 | classie.remove( header, 'navbar-shrink' );
35 | }
36 | didScroll = false;
37 | }
38 |
39 | function scrollY() {
40 | return window.pageYOffset || docElem.scrollTop;
41 | }
42 |
43 | init();
44 |
45 | })();
--------------------------------------------------------------------------------
/app/views/freelancers/_about.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
About
6 |
7 |
8 |
9 |
10 |
11 |
Hi there,
12 |
I'm Nans, I am a Web Engineer and passionate about software development. What I'm enjoying most is simply learning new things, and being challenged to always go further. If you're looking for someone to develop your website, I'd be glad to help!
13 |
14 |
15 |
16 |
I'm also interested in open source development, so if I can be helpful to your project in anyway, don't hesitate to contact me.
17 |
18 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/config/application.rb:
--------------------------------------------------------------------------------
1 | require File.expand_path('../boot', __FILE__)
2 |
3 | # Pick the frameworks you want:
4 | require "active_model/railtie"
5 | require "active_job/railtie"
6 | # require "active_record/railtie"
7 | require "action_controller/railtie"
8 | require "action_mailer/railtie"
9 | require "action_view/railtie"
10 | require "sprockets/railtie"
11 | # require "rails/test_unit/railtie"
12 |
13 | # Require the gems listed in Gemfile, including any gems
14 | # you've limited to :test, :development, or :production.
15 | Bundler.require(*Rails.groups)
16 |
17 | module RailsStartbootstrapFreelancer
18 | class Application < Rails::Application
19 | # Settings in config/environments/* take precedence over those specified here.
20 | # Application configuration should go into files in config/initializers
21 | # -- all .rb files in that directory are automatically loaded.
22 |
23 | # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
24 | # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
25 | # config.time_zone = 'Central Time (US & Canada)'
26 |
27 | # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
28 | # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
29 | # config.i18n.default_locale = :de
30 | end
31 | end
32 |
--------------------------------------------------------------------------------
/config/favicon.json:
--------------------------------------------------------------------------------
1 | {
2 | "master_picture": "app/assets/images/fav.png",
3 | "favicon_design": {
4 | "ios": {
5 | "picture_aspect": "no_change",
6 | "assets": {
7 | "ios6_and_prior_icons": false,
8 | "ios7_and_later_icons": false,
9 | "precomposed_icons": false,
10 | "declare_only_default_icon": true
11 | }
12 | },
13 | "desktop_browser": [
14 |
15 | ],
16 | "windows": {
17 | "picture_aspect": "no_change",
18 | "background_color": "#b91d47",
19 | "on_conflict": "override",
20 | "assets": {
21 | "windows_80_ie_10_tile": false,
22 | "windows_10_ie_11_edge_tiles": {
23 | "small": false,
24 | "medium": true,
25 | "big": false,
26 | "rectangle": false
27 | }
28 | }
29 | },
30 | "android_chrome": {
31 | "picture_aspect": "shadow",
32 | "theme_color": "#ffffff",
33 | "manifest": {
34 | "display": "standalone",
35 | "orientation": "not_set",
36 | "on_conflict": "override",
37 | "declared": true
38 | },
39 | "assets": {
40 | "legacy_icon": false,
41 | "low_resolution_icons": false
42 | }
43 | }
44 | },
45 | "settings": {
46 | "scaling_algorithm": "Mitchell",
47 | "error_on_image_too_small": false,
48 | "readme_file": false,
49 | "html_code_file": false,
50 | "use_path_as_is": false
51 | }
52 | }
--------------------------------------------------------------------------------
/app/views/freelancers/_navigation.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
17 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/app/assets/javascripts/freelancer/freelancer.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
3 | * Code licensed under the Apache License v2.0.
4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 | */
6 |
7 | $(document).ready(function() {
8 | // jQuery for page scrolling feature - requires jQuery Easing plugin
9 | $(function() {
10 | $("body").on("click", ".page-scroll a", function(event) {
11 | var $anchor = $(this);
12 | $("html, body")
13 | .stop()
14 | .animate(
15 | {
16 | scrollTop: $($anchor.attr("href")).offset().top
17 | },
18 | 1500
19 | );
20 | event.preventDefault();
21 | });
22 | });
23 |
24 | // Floating label headings for the contact form
25 | $(function() {
26 | $("body")
27 | .on("input propertychange", ".floating-label-form-group", function(e) {
28 | $(this).toggleClass(
29 | "floating-label-form-group-with-value",
30 | !!$(e.target).val()
31 | );
32 | })
33 | .on("focus", ".floating-label-form-group", function() {
34 | $(this).k("floating-label-form-group-with-focus");
35 | })
36 | .on("blur", ".floating-label-form-group", function() {
37 | $(this).removeClass("floating-label-form-group-with-focus");
38 | });
39 | });
40 |
41 | // Highlight the top nav as scrolling occurs
42 | $("body").scrollspy({
43 | target: ".navbar-fixed-top"
44 | });
45 |
46 | // Closes the Responsive Menu on Menu Item Click
47 | $(".navbar-collapse ul li a").click(function() {
48 | $(".navbar-toggle:visible").click();
49 | });
50 | });
51 |
--------------------------------------------------------------------------------
/public/500.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | We're sorry, but something went wrong (500)
5 |
6 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
We're sorry, but something went wrong.
62 |
63 |
If you are the application owner check the logs for more information.
64 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 |
4 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5 | gem 'rails', '4.2.7.1'
6 |
7 | gem 'loofah', '2.2.2'
8 |
9 | gem 'rails-html-sanitizer', '1.0.4'
10 |
11 |
12 | # Use SCSS for stylesheets
13 | gem 'sass-rails', '~> 5.0'
14 | # Use Uglifier as compressor for JavaScript assets
15 | gem 'uglifier', '>= 1.3.0'
16 | # Use CoffeeScript for .coffee assets and views
17 | gem 'coffee-rails', '~> 4.1.0'
18 | # See https://github.com/sstephenson/execjs#readme for more supported runtimes
19 | # gem 'therubyracer', platforms: :ruby
20 |
21 | # Use jquery as the JavaScript library
22 | gem 'jquery-rails'
23 | # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
24 | gem 'turbolinks'
25 | # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
26 | gem 'jbuilder', '~> 2.0'
27 | # bundle exec rake doc:rails generates the API under doc/api.
28 | gem 'sdoc', '~> 0.4.0', group: :doc
29 |
30 | gem 'frontend-generators'
31 |
32 | gem 'rails_real_favicon'
33 |
34 | # Use ActiveModel has_secure_password
35 | # gem 'bcrypt', '~> 3.1.7'
36 |
37 | # Use Unicorn as the app server
38 | # gem 'unicorn'
39 |
40 | # Use Capistrano for deployment
41 | # gem 'capistrano-rails', group: :development
42 |
43 | group :development, :test do
44 | # Call 'byebug' anywhere in the code to stop execution and get a debugger console
45 | gem 'byebug'
46 |
47 | # Access an IRB console on exception pages or by using <%= console %> in views
48 | gem 'web-console', '~> 2.0'
49 |
50 | # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
51 | gem 'spring'
52 |
53 | gem 'rubocop'
54 |
55 | gem 'mailcatcher'
56 | end
57 |
58 |
--------------------------------------------------------------------------------
/config/environments/development.rb:
--------------------------------------------------------------------------------
1 | Rails.application.configure do
2 | # Settings specified here will take precedence over those in config/application.rb.
3 |
4 | # In the development environment your application's code is reloaded on
5 | # every request. This slows down response time but is perfect for development
6 | # since you don't have to restart the web server when you make code changes.
7 | config.cache_classes = false
8 |
9 | # Do not eager load code on boot.
10 | config.eager_load = false
11 |
12 | # Show full error reports and disable caching.
13 | config.consider_all_requests_local = true
14 | config.action_controller.perform_caching = false
15 |
16 | # Don't care if the mailer can't send.
17 | config.action_mailer.raise_delivery_errors = false
18 |
19 | # Print deprecation notices to the Rails logger.
20 | config.active_support.deprecation = :log
21 |
22 | # Debug mode disables concatenation and preprocessing of assets.
23 | # This option may cause significant delays in view rendering with a large
24 | # number of complex assets.
25 | config.assets.debug = true
26 |
27 | # Asset digests allow you to set far-future HTTP expiration dates on all assets,
28 | # yet still be able to expire them through the digest params.
29 | config.assets.digest = true
30 |
31 | # Adds additional error checking when serving assets at runtime.
32 | # Checks for improperly declared sprockets dependencies.
33 | # Raises helpful error messages.
34 | config.assets.raise_runtime_errors = true
35 |
36 | # Raises error for missing translations
37 | # config.action_view.raise_on_missing_translations = true
38 |
39 | # Mailcatcher gem config
40 | config.action_mailer.delivery_method = :smtp
41 | config.action_mailer.smtp_settings = { address: 'localhost', port: 1025 }
42 | end
43 |
--------------------------------------------------------------------------------
/public/422.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | The change you wanted was rejected (422)
5 |
6 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
The change you wanted was rejected.
62 |
Maybe you tried to change something you didn't have access to.
63 |
64 |
If you are the application owner check the logs for more information.
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/public/404.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | The page you were looking for doesn't exist (404)
5 |
6 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
The page you were looking for doesn't exist.
62 |
You may have mistyped the address or the page may have moved.
63 |
64 |
If you are the application owner check the logs for more information.
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/config/environments/test.rb:
--------------------------------------------------------------------------------
1 | Rails.application.configure do
2 | # Settings specified here will take precedence over those in config/application.rb.
3 |
4 | # The test environment is used exclusively to run your application's
5 | # test suite. You never need to work with it otherwise. Remember that
6 | # your test database is "scratch space" for the test suite and is wiped
7 | # and recreated between test runs. Don't rely on the data there!
8 | config.cache_classes = true
9 |
10 | # Do not eager load code on boot. This avoids loading your whole application
11 | # just for the purpose of running a single test. If you are using a tool that
12 | # preloads Rails for running tests, you may have to set it to true.
13 | config.eager_load = false
14 |
15 | # Configure static file server for tests with Cache-Control for performance.
16 | config.serve_static_files = true
17 | config.static_cache_control = 'public, max-age=3600'
18 |
19 | # Show full error reports and disable caching.
20 | config.consider_all_requests_local = true
21 | config.action_controller.perform_caching = false
22 |
23 | # Raise exceptions instead of rendering exception templates.
24 | config.action_dispatch.show_exceptions = false
25 |
26 | # Disable request forgery protection in test environment.
27 | config.action_controller.allow_forgery_protection = false
28 |
29 | # Tell Action Mailer not to deliver emails to the real world.
30 | # The :test delivery method accumulates sent emails in the
31 | # ActionMailer::Base.deliveries array.
32 | config.action_mailer.delivery_method = :test
33 |
34 | # Randomize the order test cases are executed.
35 | config.active_support.test_order = :random
36 |
37 | # Print deprecation notices to the stderr.
38 | config.active_support.deprecation = :stderr
39 |
40 | # Raises error for missing translations
41 | # config.action_view.raise_on_missing_translations = true
42 | end
43 |
--------------------------------------------------------------------------------
/app/views/freelancers/_footer.html.erb:
--------------------------------------------------------------------------------
1 |
37 |
38 |
39 |
44 |
45 |
--------------------------------------------------------------------------------
/config/deploy/staging.rb:
--------------------------------------------------------------------------------
1 | # server-based syntax
2 | # ======================
3 | # Defines a single server with a list of roles and multiple properties.
4 | # You can define all roles on a single server, or split them:
5 |
6 | # server "example.com", user: "deploy", roles: %w{app db web}, my_property: :my_value
7 | # server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value
8 | # server "db.example.com", user: "deploy", roles: %w{db}
9 |
10 |
11 |
12 | # role-based syntax
13 | # ==================
14 |
15 | # Defines a role with one or multiple servers. The primary server in each
16 | # group is considered to be the first unless any hosts have the primary
17 | # property set. Specify the username and a domain or IP for the server.
18 | # Don't use `:all`, it's a meta role.
19 |
20 | # role :app, %w{deploy@example.com}, my_property: :my_value
21 | # role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value
22 | # role :db, %w{deploy@example.com}
23 |
24 |
25 |
26 | # Configuration
27 | # =============
28 | # You can set any configuration variable like in config/deploy.rb
29 | # These variables are then only loaded and set in this stage.
30 | # For available Capistrano configuration variables see the documentation page.
31 | # http://capistranorb.com/documentation/getting-started/configuration/
32 | # Feel free to add new variables to customise your setup.
33 |
34 |
35 |
36 | # Custom SSH Options
37 | # ==================
38 | # You may pass any option but keep in mind that net/ssh understands a
39 | # limited set of options, consult the Net::SSH documentation.
40 | # http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
41 | #
42 | # Global options
43 | # --------------
44 | # set :ssh_options, {
45 | # keys: %w(/home/rlisowski/.ssh/id_rsa),
46 | # forward_agent: false,
47 | # auth_methods: %w(password)
48 | # }
49 | #
50 | # The server-based syntax can be used to override options:
51 | # ------------------------------------
52 | # server "example.com",
53 | # user: "user_name",
54 | # roles: %w{web app},
55 | # ssh_options: {
56 | # user: "user_name", # overrides user setting above
57 | # keys: %w(/home/user_name/.ssh/id_rsa),
58 | # forward_agent: false,
59 | # auth_methods: %w(publickey password)
60 | # # password: "please use keys"
61 | # }
62 |
--------------------------------------------------------------------------------
/config/deploy/production.rb:
--------------------------------------------------------------------------------
1 | # server-based syntax
2 | # ======================
3 | # Defines a single server with a list of roles and multiple properties.
4 | # You can define all roles on a single server, or split them:
5 |
6 | # server "example.com", user: "deploy", roles: %w{app db web}, my_property: :my_value
7 | # server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value
8 | # server "db.example.com", user: "deploy", roles: %w{db}
9 |
10 |
11 |
12 | # role-based syntax
13 | # ==================
14 |
15 | # Defines a role with one or multiple servers. The primary server in each
16 | # group is considered to be the first unless any hosts have the primary
17 | # property set. Specify the username and a domain or IP for the server.
18 | # Don't use `:all`, it's a meta role.
19 |
20 | # role :app, %w{deploy@example.com}, my_property: :my_value
21 | # role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value
22 | # role :db, %w{deploy@example.com}
23 |
24 |
25 |
26 | # Configuration
27 | # =============
28 | # You can set any configuration variable like in config/deploy.rb
29 | # These variables are then only loaded and set in this stage.
30 | # For available Capistrano configuration variables see the documentation page.
31 | # http://capistranorb.com/documentation/getting-started/configuration/
32 | # Feel free to add new variables to customise your setup.
33 |
34 |
35 |
36 | # Custom SSH Options
37 | # ==================
38 | # You may pass any option but keep in mind that net/ssh understands a
39 | # limited set of options, consult the Net::SSH documentation.
40 | # http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
41 | #
42 | # Global options
43 | # --------------
44 | # set :ssh_options, {
45 | # keys: %w(/home/rlisowski/.ssh/id_rsa),
46 | # forward_agent: false,
47 | # auth_methods: %w(password)
48 | # }
49 | #
50 | # The server-based syntax can be used to override options:
51 | # ------------------------------------
52 | # server "example.com",
53 | # user: "user_name",
54 | # roles: %w{web app},
55 | # ssh_options: {
56 | # user: "user_name", # overrides user setting above
57 | # keys: %w(/home/user_name/.ssh/id_rsa),
58 | # forward_agent: false,
59 | # auth_methods: %w(publickey password)
60 | # # password: "please use keys"
61 | # }
62 |
--------------------------------------------------------------------------------
/app/assets/javascripts/freelancer/classie.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * classie v1.0.1
3 | * class helper functions
4 | * from bonzo https://github.com/ded/bonzo
5 | * MIT license
6 | *
7 | * classie.has( elem, 'my-class' ) -> true/false
8 | * classie.add( elem, 'my-new-class' )
9 | * classie.remove( elem, 'my-unwanted-class' )
10 | * classie.toggle( elem, 'my-class' )
11 | */
12 |
13 | /*jshint browser: true, strict: true, undef: true, unused: true */
14 | /*global define: false, module: false */
15 |
16 | ( function( window ) {
17 |
18 | 'use strict';
19 |
20 | // class helper functions from bonzo https://github.com/ded/bonzo
21 |
22 | function classReg( className ) {
23 | return new RegExp("(^|\\s+)" + className + "(\\s+|$)");
24 | }
25 |
26 | // classList support for class management
27 | // altho to be fair, the api sucks because it won't accept multiple classes at once
28 | var hasClass, addClass, removeClass;
29 |
30 | if ( 'classList' in document.documentElement ) {
31 | hasClass = function( elem, c ) {
32 | return elem.classList.contains( c );
33 | };
34 | addClass = function( elem, c ) {
35 | elem.classList.add( c );
36 | };
37 | removeClass = function( elem, c ) {
38 | elem.classList.remove( c );
39 | };
40 | }
41 | else {
42 | hasClass = function( elem, c ) {
43 | return classReg( c ).test( elem.className );
44 | };
45 | addClass = function( elem, c ) {
46 | if ( !hasClass( elem, c ) ) {
47 | elem.className = elem.className + ' ' + c;
48 | }
49 | };
50 | removeClass = function( elem, c ) {
51 | elem.className = elem.className.replace( classReg( c ), ' ' );
52 | };
53 | }
54 |
55 | function toggleClass( elem, c ) {
56 | var fn = hasClass( elem, c ) ? removeClass : addClass;
57 | fn( elem, c );
58 | }
59 |
60 | var classie = {
61 | // full names
62 | hasClass: hasClass,
63 | addClass: addClass,
64 | removeClass: removeClass,
65 | toggleClass: toggleClass,
66 | // short names
67 | has: hasClass,
68 | add: addClass,
69 | remove: removeClass,
70 | toggle: toggleClass
71 | };
72 |
73 | // transport
74 | if ( typeof define === 'function' && define.amd ) {
75 | // AMD
76 | define( classie );
77 | } else if ( typeof exports === 'object' ) {
78 | // CommonJS
79 | module.exports = classie;
80 | } else {
81 | // browser global
82 | window.classie = classie;
83 | }
84 |
85 | })( window );
--------------------------------------------------------------------------------
/app/assets/javascripts/freelancer/contact_me.js:
--------------------------------------------------------------------------------
1 | $(function() {
2 | $("input,textarea").jqBootstrapValidation({
3 | preventSubmit: true,
4 | submitError: function($form, event, errors) {
5 | // additional error messages or events
6 | },
7 | submitSuccess: function($form, event) {
8 | // Prevent spam click and default submit behaviour
9 | $("#btnSubmit").attr("disabled", true);
10 | event.preventDefault();
11 |
12 | // get values from FORM
13 | var name = $("input#name").val();
14 | var email = $("input#email").val();
15 | var phone = $("input#phone").val();
16 | var message = $("textarea#message").val();
17 | var firstName = name; // For Success/Failure Message
18 | // Check for white space in name for Success/Fail message
19 | if (firstName.indexOf(" ") >= 0) {
20 | firstName = name
21 | .split(" ")
22 | .slice(0, -1)
23 | .join(" ");
24 | }
25 | $.ajax({
26 | url: "/freelancer_email",
27 | type: "POST",
28 | data: {
29 | name: name,
30 | phone: phone,
31 | email: email,
32 | message: message
33 | },
34 | cache: false,
35 | success: function(response) {
36 | // Enable button & show success message
37 | $("#btnSubmit").attr("disabled", false);
38 | $("#success").html("");
39 | $("#success > .alert-success")
40 | .html(
41 | "×"
42 | )
43 | .append(" ");
44 | $("#success > .alert-success").append(
45 | "Your message has been sent. "
46 | );
47 | $("#success > .alert-success").append("
");
48 |
49 | //clear all fields
50 | $("#contactForm").trigger("reset");
51 | },
52 | error: function(requestObject, error, errorThrown) {
53 | // Fail message
54 | $("#success").html("");
55 | $("#success > .alert-danger")
56 | .html(
57 | "×"
58 | )
59 | .append(" ");
60 | $("#success > .alert-danger").append(
61 | "Sorry " +
62 | firstName +
63 | ", it seems that my mail server is not responding. Please try again later!"
64 | );
65 | $("#success > .alert-danger").append("
");
66 | //clear all fields
67 | $("#contactForm").trigger("reset");
68 | }
69 | });
70 | },
71 | filter: function() {
72 | return $(this).is(":visible");
73 | }
74 | });
75 |
76 | $('a[data-toggle="tab"]').click(function(e) {
77 | e.preventDefault();
78 | $(this).tab("show");
79 | });
80 | });
81 |
82 | // When clicking on Full hide fail/success boxes
83 | $("#name").focus(function() {
84 | $("#success").html("");
85 | });
86 |
--------------------------------------------------------------------------------
/app/views/freelancers/_contact.html.erb:
--------------------------------------------------------------------------------
1 |
54 |
55 |
--------------------------------------------------------------------------------
/config/environments/production.rb:
--------------------------------------------------------------------------------
1 | Rails.application.configure do
2 | # Settings specified here will take precedence over those in config/application.rb.
3 |
4 | # Code is not reloaded between requests.
5 | config.cache_classes = true
6 |
7 | # Eager load code on boot. This eager loads most of Rails and
8 | # your application in memory, allowing both threaded web servers
9 | # and those relying on copy on write to perform better.
10 | # Rake tasks automatically ignore this option for performance.
11 | config.eager_load = true
12 |
13 | # Full error reports are disabled and caching is turned on.
14 | config.consider_all_requests_local = false
15 | config.action_controller.perform_caching = true
16 |
17 | # Enable Rack::Cache to put a simple HTTP cache in front of your application
18 | # Add `rack-cache` to your Gemfile before enabling this.
19 | # For large-scale production use, consider using a caching reverse proxy like
20 | # NGINX, varnish or squid.
21 | # config.action_dispatch.rack_cache = true
22 |
23 | # Disable serving static files from the `/public` folder by default since
24 | # Apache or NGINX already handles this.
25 | config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26 |
27 | # Compress JavaScripts and CSS.
28 | config.assets.js_compressor = :uglifier
29 | # config.assets.css_compressor = :sass
30 |
31 | # Do not fallback to assets pipeline if a precompiled asset is missed.
32 | config.assets.compile = false
33 |
34 | # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35 | # yet still be able to expire them through the digest params.
36 | config.assets.digest = true
37 |
38 | # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39 |
40 | # Specifies the header that your server uses for sending files.
41 | # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42 | # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43 |
44 | # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45 | # config.force_ssl = true
46 |
47 | # Use the lowest log level to ensure availability of diagnostic information
48 | # when problems arise.
49 | config.log_level = :debug
50 |
51 | # Prepend all log lines with the following tags.
52 | # config.log_tags = [ :subdomain, :uuid ]
53 |
54 | # Use a different logger for distributed setups.
55 | # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56 |
57 | # Use a different cache store in production.
58 | # config.cache_store = :mem_cache_store
59 |
60 | # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61 | # config.action_controller.asset_host = 'http://assets.example.com'
62 |
63 | # Ignore bad email addresses and do not raise email delivery errors.
64 | # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65 | # config.action_mailer.raise_delivery_errors = false
66 |
67 | # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68 | # the I18n.default_locale when a translation cannot be found).
69 | config.i18n.fallbacks = true
70 |
71 | # Send deprecation notices to registered listeners.
72 | config.active_support.deprecation = :notify
73 |
74 | # Use default logging formatter so that PID and timestamp are not suppressed.
75 | config.log_formatter = ::Logger::Formatter.new
76 | end
77 |
--------------------------------------------------------------------------------
/app/views/freelancers/_portfolio.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
Experiences
6 |
7 |
8 |
9 |
41 |
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | actionmailer (4.2.7.1)
5 | actionpack (= 4.2.7.1)
6 | actionview (= 4.2.7.1)
7 | activejob (= 4.2.7.1)
8 | mail (~> 2.5, >= 2.5.4)
9 | rails-dom-testing (~> 1.0, >= 1.0.5)
10 | actionpack (4.2.7.1)
11 | actionview (= 4.2.7.1)
12 | activesupport (= 4.2.7.1)
13 | rack (~> 1.6)
14 | rack-test (~> 0.6.2)
15 | rails-dom-testing (~> 1.0, >= 1.0.5)
16 | rails-html-sanitizer (~> 1.0, >= 1.0.2)
17 | actionview (4.2.7.1)
18 | activesupport (= 4.2.7.1)
19 | builder (~> 3.1)
20 | erubis (~> 2.7.0)
21 | rails-dom-testing (~> 1.0, >= 1.0.5)
22 | rails-html-sanitizer (~> 1.0, >= 1.0.2)
23 | activejob (4.2.7.1)
24 | activesupport (= 4.2.7.1)
25 | globalid (>= 0.3.0)
26 | activemodel (4.2.7.1)
27 | activesupport (= 4.2.7.1)
28 | builder (~> 3.1)
29 | activerecord (4.2.7.1)
30 | activemodel (= 4.2.7.1)
31 | activesupport (= 4.2.7.1)
32 | arel (~> 6.0)
33 | activesupport (4.2.7.1)
34 | i18n (~> 0.7)
35 | json (~> 1.7, >= 1.7.7)
36 | minitest (~> 5.1)
37 | thread_safe (~> 0.3, >= 0.3.4)
38 | tzinfo (~> 1.1)
39 | arel (6.0.4)
40 | ast (2.4.0)
41 | binding_of_caller (0.8.0)
42 | debug_inspector (>= 0.0.1)
43 | builder (3.2.3)
44 | byebug (10.0.2)
45 | coffee-rails (4.1.1)
46 | coffee-script (>= 2.2.0)
47 | railties (>= 4.0.0, < 5.1.x)
48 | coffee-script (2.4.1)
49 | coffee-script-source
50 | execjs
51 | coffee-script-source (1.12.2)
52 | concurrent-ruby (1.0.5)
53 | crass (1.0.4)
54 | daemons (1.2.6)
55 | debug_inspector (0.0.3)
56 | domain_name (0.5.20180417)
57 | unf (>= 0.0.5, < 1.0.0)
58 | erubis (2.7.0)
59 | eventmachine (1.0.9.1)
60 | execjs (2.7.0)
61 | ffi (1.9.23)
62 | frontend-generators (0.2.0)
63 | rainbow (= 2.0.0)
64 | turf (= 0.0.5)
65 | globalid (0.4.1)
66 | activesupport (>= 4.2.0)
67 | http-cookie (1.0.3)
68 | domain_name (~> 0.5)
69 | i18n (0.9.5)
70 | concurrent-ruby (~> 1.0)
71 | jbuilder (2.7.0)
72 | activesupport (>= 4.2.0)
73 | multi_json (>= 1.2)
74 | jquery-rails (4.3.3)
75 | rails-dom-testing (>= 1, < 3)
76 | railties (>= 4.2.0)
77 | thor (>= 0.14, < 2.0)
78 | json (1.8.6)
79 | loofah (2.2.2)
80 | crass (~> 1.0.2)
81 | nokogiri (>= 1.5.9)
82 | mail (2.7.0)
83 | mini_mime (>= 0.1.1)
84 | mailcatcher (0.6.5)
85 | eventmachine (= 1.0.9.1)
86 | mail (~> 2.3)
87 | rack (~> 1.5)
88 | sinatra (~> 1.2)
89 | skinny (~> 0.2.3)
90 | sqlite3 (~> 1.3)
91 | thin (~> 1.5.0)
92 | mime-types (3.1)
93 | mime-types-data (~> 3.2015)
94 | mime-types-data (3.2016.0521)
95 | mini_mime (1.0.0)
96 | mini_portile2 (2.3.0)
97 | minitest (5.11.3)
98 | multi_json (1.13.1)
99 | netrc (0.11.0)
100 | nokogiri (1.8.2)
101 | mini_portile2 (~> 2.3.0)
102 | parallel (1.12.1)
103 | parser (2.5.1.0)
104 | ast (~> 2.4.0)
105 | powerpack (0.1.1)
106 | rack (1.6.10)
107 | rack-protection (1.5.5)
108 | rack
109 | rack-test (0.6.3)
110 | rack (>= 1.0)
111 | rails (4.2.7.1)
112 | actionmailer (= 4.2.7.1)
113 | actionpack (= 4.2.7.1)
114 | actionview (= 4.2.7.1)
115 | activejob (= 4.2.7.1)
116 | activemodel (= 4.2.7.1)
117 | activerecord (= 4.2.7.1)
118 | activesupport (= 4.2.7.1)
119 | bundler (>= 1.3.0, < 2.0)
120 | railties (= 4.2.7.1)
121 | sprockets-rails
122 | rails-deprecated_sanitizer (1.0.3)
123 | activesupport (>= 4.2.0.alpha)
124 | rails-dom-testing (1.0.9)
125 | activesupport (>= 4.2.0, < 5.0)
126 | nokogiri (~> 1.6)
127 | rails-deprecated_sanitizer (>= 1.0.1)
128 | rails-html-sanitizer (1.0.4)
129 | loofah (~> 2.2, >= 2.2.2)
130 | rails_real_favicon (0.0.11)
131 | json (>= 1.7, < 3)
132 | rails (>= 3.1)
133 | rest-client (~> 2.0)
134 | rubyzip (~> 1)
135 | railties (4.2.7.1)
136 | actionpack (= 4.2.7.1)
137 | activesupport (= 4.2.7.1)
138 | rake (>= 0.8.7)
139 | thor (>= 0.18.1, < 2.0)
140 | rainbow (2.0.0)
141 | rake (12.3.1)
142 | rb-fsevent (0.10.3)
143 | rb-inotify (0.9.10)
144 | ffi (>= 0.5.0, < 2)
145 | rdoc (4.3.0)
146 | rest-client (2.0.2)
147 | http-cookie (>= 1.0.2, < 2.0)
148 | mime-types (>= 1.16, < 4.0)
149 | netrc (~> 0.8)
150 | rubocop (0.49.1)
151 | parallel (~> 1.10)
152 | parser (>= 2.3.3.1, < 3.0)
153 | powerpack (~> 0.1)
154 | rainbow (>= 1.99.1, < 3.0)
155 | ruby-progressbar (~> 1.7)
156 | unicode-display_width (~> 1.0, >= 1.0.1)
157 | ruby-progressbar (1.9.0)
158 | rubyzip (1.2.1)
159 | sass (3.5.6)
160 | sass-listen (~> 4.0.0)
161 | sass-listen (4.0.0)
162 | rb-fsevent (~> 0.9, >= 0.9.4)
163 | rb-inotify (~> 0.9, >= 0.9.7)
164 | sass-rails (5.0.7)
165 | railties (>= 4.0.0, < 6)
166 | sass (~> 3.1)
167 | sprockets (>= 2.8, < 4.0)
168 | sprockets-rails (>= 2.0, < 4.0)
169 | tilt (>= 1.1, < 3)
170 | sdoc (0.4.2)
171 | json (~> 1.7, >= 1.7.7)
172 | rdoc (~> 4.0)
173 | sinatra (1.4.8)
174 | rack (~> 1.5)
175 | rack-protection (~> 1.4)
176 | tilt (>= 1.3, < 3)
177 | skinny (0.2.4)
178 | eventmachine (~> 1.0.0)
179 | thin (>= 1.5, < 1.7)
180 | spring (2.0.2)
181 | activesupport (>= 4.2)
182 | sprockets (3.7.1)
183 | concurrent-ruby (~> 1.0)
184 | rack (> 1, < 3)
185 | sprockets-rails (3.2.1)
186 | actionpack (>= 4.0)
187 | activesupport (>= 4.0)
188 | sprockets (>= 3.0.0)
189 | sqlite3 (1.3.13)
190 | thin (1.5.1)
191 | daemons (>= 1.0.9)
192 | eventmachine (>= 0.12.6)
193 | rack (>= 1.0.0)
194 | thor (0.20.0)
195 | thread_safe (0.3.6)
196 | tilt (2.0.8)
197 | turbolinks (5.1.1)
198 | turbolinks-source (~> 5.1)
199 | turbolinks-source (5.1.0)
200 | turf (0.0.5)
201 | tzinfo (1.2.5)
202 | thread_safe (~> 0.1)
203 | uglifier (4.1.10)
204 | execjs (>= 0.3.0, < 3)
205 | unf (0.1.4)
206 | unf_ext
207 | unf_ext (0.0.7.5)
208 | unicode-display_width (1.3.2)
209 | web-console (2.3.0)
210 | activemodel (>= 4.0)
211 | binding_of_caller (>= 0.7.2)
212 | railties (>= 4.0)
213 | sprockets-rails (>= 2.0, < 4.0)
214 |
215 | PLATFORMS
216 | ruby
217 |
218 | DEPENDENCIES
219 | byebug
220 | coffee-rails (~> 4.1.0)
221 | frontend-generators
222 | jbuilder (~> 2.0)
223 | jquery-rails
224 | loofah (= 2.2.2)
225 | mailcatcher
226 | rails (= 4.2.7.1)
227 | rails-html-sanitizer (= 1.0.4)
228 | rails_real_favicon
229 | rubocop
230 | sass-rails (~> 5.0)
231 | sdoc (~> 0.4.0)
232 | spring
233 | turbolinks
234 | uglifier (>= 1.3.0)
235 | web-console (~> 2.0)
236 |
237 | BUNDLED WITH
238 | 1.16.1
239 |
--------------------------------------------------------------------------------
/app/assets/stylesheets/freelancer/freelancer.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
3 | * Code licensed under the Apache License v2.0.
4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 | */
6 |
7 | body {
8 | overflow-x: hidden;
9 | }
10 |
11 | p {
12 | font-size: 20px;
13 | }
14 |
15 | p.small {
16 | font-size: 16px;
17 | }
18 |
19 | a,
20 | a:hover,
21 | a:focus,
22 | a:active,
23 | a.active {
24 | outline: 0;
25 | color: #18bc9c;
26 | }
27 |
28 | h1,
29 | h2,
30 | h3,
31 | h4,
32 | h5,
33 | h6 {
34 | text-transform: uppercase;
35 | font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
36 | font-weight: 700;
37 | }
38 |
39 | hr.star-light,
40 | hr.star-primary {
41 | margin: 25px auto 30px;
42 | padding: 0;
43 | max-width: 250px;
44 | border: 0;
45 | border-top: solid 5px;
46 | text-align: center;
47 | }
48 |
49 | hr.star-light:after,
50 | hr.star-primary:after {
51 | content: "\f005";
52 | display: inline-block;
53 | position: relative;
54 | top: -.8em;
55 | padding: 0 .25em;
56 | font-family: FontAwesome;
57 | font-size: 2em;
58 | }
59 |
60 | hr.star-light {
61 | border-color: #fff;
62 | }
63 |
64 | hr.star-light:after {
65 | color: #fff;
66 | background-color: #18bc9c;
67 | }
68 |
69 | hr.star-primary {
70 | border-color: #2c3e50;
71 | }
72 |
73 | hr.star-primary:after {
74 | color: #2c3e50;
75 | background-color: #fff;
76 | }
77 |
78 | .img-centered {
79 | margin: 0 auto;
80 | }
81 |
82 | header {
83 | text-align: center;
84 | color: #fff;
85 | background: #18bc9c;
86 | }
87 |
88 | header .container {
89 | padding-top: 100px;
90 | padding-bottom: 50px;
91 | }
92 |
93 | header img {
94 | display: block;
95 | margin: 0 auto 20px;
96 | border-radius: 50%;
97 | }
98 |
99 | header .intro-text .name {
100 | display: block;
101 | text-transform: uppercase;
102 | font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
103 | font-size: 2em;
104 | font-weight: 700;
105 | }
106 |
107 | header .intro-text .skills {
108 | font-size: 1.25em;
109 | font-weight: 300;
110 | }
111 |
112 | @media(min-width:768px) {
113 | header .container {
114 | padding-top: 200px;
115 | padding-bottom: 100px;
116 | }
117 |
118 | header .intro-text .name {
119 | font-size: 2.75em;
120 | }
121 |
122 | header .intro-text .skills {
123 | font-size: 1.75em;
124 | }
125 | }
126 |
127 | @media(min-width:768px) {
128 | .navbar-fixed-top {
129 | padding: 25px 0;
130 | -webkit-transition: padding .3s;
131 | -moz-transition: padding .3s;
132 | transition: padding .3s;
133 | }
134 |
135 | .navbar-fixed-top .navbar-brand {
136 | font-size: 2em;
137 | -webkit-transition: all .3s;
138 | -moz-transition: all .3s;
139 | transition: all .3s;
140 | }
141 |
142 | .navbar-fixed-top.navbar-shrink {
143 | padding: 10px 0;
144 | }
145 |
146 | .navbar-fixed-top.navbar-shrink .navbar-brand {
147 | font-size: 1.5em;
148 | }
149 | }
150 |
151 | .navbar {
152 | font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
153 | text-transform: uppercase;
154 | font-weight: 700;
155 | }
156 |
157 | .navbar a:focus {
158 | outline: 0;
159 | }
160 |
161 | .navbar .navbar-nav {
162 | letter-spacing: 1px;
163 | }
164 |
165 | .navbar .navbar-nav li a:focus {
166 | outline: 0;
167 | }
168 |
169 | .navbar-default,
170 | .navbar-inverse {
171 | border: 0;
172 | }
173 |
174 | section {
175 | padding: 100px 0;
176 | }
177 |
178 | section h2 {
179 | margin: 0;
180 | font-size: 3em;
181 | }
182 |
183 | section.success {
184 | color: #fff;
185 | background: #18bc9c;
186 | }
187 |
188 | section.success a,
189 | section.success a:hover,
190 | section.success a:focus,
191 | section.success a:active,
192 | section.success a.active {
193 | outline: 0;
194 | color: #2c3e50;
195 | }
196 |
197 | @media(max-width:767px) {
198 | section {
199 | padding: 75px 0;
200 | }
201 |
202 | section.first {
203 | padding-top: 75px;
204 | }
205 | }
206 |
207 | #portfolio .portfolio-item {
208 | right: 0;
209 | margin: 0 0 15px;
210 | }
211 |
212 | #portfolio .portfolio-item .portfolio-link {
213 | display: block;
214 | position: relative;
215 | margin: 0 auto;
216 | max-width: 400px;
217 | }
218 |
219 | #portfolio .portfolio-item .portfolio-link .caption {
220 | position: absolute;
221 | width: 100%;
222 | height: 100%;
223 | opacity: 0;
224 | background: rgba(24,188,156,.9);
225 | -webkit-transition: all ease .5s;
226 | -moz-transition: all ease .5s;
227 | transition: all ease .5s;
228 | }
229 |
230 | #portfolio .portfolio-item .portfolio-link .caption:hover {
231 | opacity: 1;
232 | }
233 |
234 | #portfolio .portfolio-item .portfolio-link .caption .caption-content {
235 | position: absolute;
236 | top: 50%;
237 | width: 100%;
238 | height: 20px;
239 | margin-top: -12px;
240 | text-align: center;
241 | font-size: 20px;
242 | color: #fff;
243 | }
244 |
245 | #portfolio .portfolio-item .portfolio-link .caption .caption-content i {
246 | margin-top: -12px;
247 | }
248 |
249 | #portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
250 | #portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
251 | margin: 0;
252 | }
253 |
254 | #portfolio * {
255 | z-index: 2;
256 | }
257 |
258 | @media(min-width:767px) {
259 | #portfolio .portfolio-item {
260 | margin: 0 0 30px;
261 | }
262 | }
263 |
264 | .btn-outline {
265 | margin-top: 15px;
266 | border: solid 2px #fff;
267 | font-size: 20px;
268 | color: #fff;
269 | background: 0 0;
270 | transition: all .3s ease-in-out;
271 | }
272 |
273 | .btn-outline:hover,
274 | .btn-outline:focus,
275 | .btn-outline:active,
276 | .btn-outline.active {
277 | border: solid 2px #fff;
278 | color: #18bc9c;
279 | background: #fff;
280 | }
281 |
282 | .floating-label-form-group {
283 | position: relative;
284 | margin-bottom: 0;
285 | padding-bottom: .5em;
286 | border-bottom: 1px solid #eee;
287 | }
288 |
289 | .floating-label-form-group input,
290 | .floating-label-form-group textarea {
291 | z-index: 1;
292 | position: relative;
293 | padding-right: 0;
294 | padding-left: 0;
295 | border: 0;
296 | border-radius: 0;
297 | font-size: 1.5em;
298 | background: 0 0;
299 | box-shadow: none!important;
300 | resize: none;
301 | }
302 |
303 | .floating-label-form-group label {
304 | display: block;
305 | z-index: 0;
306 | position: relative;
307 | top: 2em;
308 | margin: 0;
309 | font-size: .85em;
310 | line-height: 1.764705882em;
311 | vertical-align: middle;
312 | vertical-align: baseline;
313 | opacity: 0;
314 | -webkit-transition: top .3s ease,opacity .3s ease;
315 | -moz-transition: top .3s ease,opacity .3s ease;
316 | -ms-transition: top .3s ease,opacity .3s ease;
317 | transition: top .3s ease,opacity .3s ease;
318 | }
319 |
320 | .floating-label-form-group::not(:first-child) {
321 | padding-left: 14px;
322 | border-left: 1px solid #eee;
323 | }
324 |
325 | .floating-label-form-group-with-value label {
326 | top: 0;
327 | opacity: 1;
328 | }
329 |
330 | .floating-label-form-group-with-focus label {
331 | color: #18bc9c;
332 | }
333 |
334 | form .row:first-child .floating-label-form-group {
335 | border-top: 1px solid #eee;
336 | }
337 |
338 | footer {
339 | color: #fff;
340 | }
341 |
342 | footer h3 {
343 | margin-bottom: 30px;
344 | }
345 |
346 | footer .footer-above {
347 | padding-top: 50px;
348 | background-color: #2c3e50;
349 | }
350 |
351 | footer .footer-col {
352 | margin-bottom: 50px;
353 | }
354 |
355 | footer .footer-below {
356 | padding: 25px 0;
357 | background-color: #233140;
358 | }
359 |
360 | .btn-social {
361 | display: inline-block;
362 | width: 50px;
363 | height: 50px;
364 | border: 2px solid #fff;
365 | border-radius: 100%;
366 | text-align: center;
367 | font-size: 20px;
368 | line-height: 45px;
369 | }
370 |
371 | .btn:focus,
372 | .btn:active,
373 | .btn.active {
374 | outline: 0;
375 | }
376 |
377 | .scroll-top {
378 | z-index: 1049;
379 | position: fixed;
380 | right: 2%;
381 | bottom: 2%;
382 | width: 50px;
383 | height: 50px;
384 | }
385 |
386 | .scroll-top .btn {
387 | width: 50px;
388 | height: 50px;
389 | border-radius: 100%;
390 | font-size: 20px;
391 | line-height: 28px;
392 | }
393 |
394 | .scroll-top .btn:focus {
395 | outline: 0;
396 | }
397 |
398 | .portfolio-modal .modal-content {
399 | padding: 100px 0;
400 | min-height: 100%;
401 | border: 0;
402 | border-radius: 0;
403 | text-align: center;
404 | background-clip: border-box;
405 | -webkit-box-shadow: none;
406 | box-shadow: none;
407 | }
408 |
409 | .portfolio-modal .modal-content h2 {
410 | margin: 0;
411 | font-size: 3em;
412 | }
413 |
414 | .portfolio-modal .modal-content img {
415 | margin: 0 auto;
416 | margin-bottom: 30px;
417 | }
418 |
419 | .portfolio-modal .modal-content .item-details {
420 | margin: 30px 0;
421 | }
422 |
423 | .portfolio-modal .close-modal {
424 | position: absolute;
425 | top: 25px;
426 | right: 25px;
427 | width: 75px;
428 | height: 75px;
429 | background-color: transparent;
430 | cursor: pointer;
431 | }
432 |
433 | .portfolio-modal .close-modal:hover {
434 | opacity: .3;
435 | }
436 |
437 | .portfolio-modal .close-modal .lr {
438 | z-index: 1051;
439 | width: 1px;
440 | height: 75px;
441 | margin-left: 35px;
442 | background-color: #2c3e50;
443 | -webkit-transform: rotate(45deg);
444 | -ms-transform: rotate(45deg);
445 | transform: rotate(45deg);
446 | }
447 |
448 | .portfolio-modal .close-modal .lr .rl {
449 | z-index: 1052;
450 | width: 1px;
451 | height: 75px;
452 | background-color: #2c3e50;
453 | -webkit-transform: rotate(90deg);
454 | -ms-transform: rotate(90deg);
455 | transform: rotate(90deg);
456 | }
457 |
458 | .portfolio-modal .modal-backdrop {
459 | display: none;
460 | opacity: 0;
461 | }
462 |
463 | .modal-body > p {
464 | text-align: justify;
465 | }
466 |
467 | .modal-body li {
468 | text-align: justify;
469 | font-size: 20px;<
470 | }
471 |
472 | .img-responsive{
473 | max-height: 300px;
474 | margin: auto;
475 | }
--------------------------------------------------------------------------------
/app/views/freelancers/_modals.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
11 |
12 |
13 |
14 |
15 |
Wattics
16 |
17 | <%= image_tag "freelancer/portfolio/wattics.png", class: "img-responsive", alt: "" %>
18 |
I was part of the technical team working on the development of an energy analytics web app . I took initiatives to ensure a nice User Experience, and became responsible for UX and UI design in the team. The technologies I was using were :
19 |
20 | Ruby (with Ruby on Rails and a large variety of Gems)
21 | Javascript avec React, Backbone (and Marionette), jQuery, Underscore js
22 | HTML / CSS (and Bootstrap)
23 |
24 |
25 |
26 | I also designed a service allowing Pacific Gas & Electricity customers to allow Wattics to fetch their energy consumption data (API). I also created the job to import data daily.
27 |
28 | Company:
29 | Wattics
30 |
31 |
32 | Duration:
33 | 8 months
34 |
35 |
36 |
37 |
Close
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
52 |
53 |
54 |
55 |
56 |
Cogiteem
57 |
58 | <%= image_tag "freelancer/portfolio/cogiteem.png", class: "img-responsive", alt: "" %>
59 |
Cogiteem is an intranet/extranet designed by students, for students.
60 | It has been designed do be used by any group of students who want to share documents and work together.
61 |
It is built with Laravel , a robust PHP framework.
62 |
63 | Client:
64 | ITEEM's student organization
65 |
66 |
67 | Period:
68 | February-April 2017
69 |
70 |
71 |
72 |
Close
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
87 |
88 |
89 |
90 |
91 |
Clicdata
92 |
93 | <%= image_tag "freelancer/portfolio/clicdata.png", class: "img-responsive", alt: "" %>
94 |
Clicdata 's objective is to help people build dashboards easily in order to understand better their data.
95 |
I worked essentially on the front-end part of the application. I solved bugs and added some features. I learned to use Javascript with jQuery, as well as Less (CSS pre-processor) and Visual Basic .NET for the back end. Our team was managed with the Agile approach (Scrum method).
96 |
I had to show perseverance when solving tricky bugs and discovering the company's libraries, which was appreciated by my manager.
97 |
98 | Company:
99 | Clicdata
100 |
101 |
102 | Period:
103 | June-August 2016
104 |
105 |
106 |
107 |
Close
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
122 |
123 |
124 |
125 |
126 |
Community website
127 |
128 | <%= image_tag "freelancer/portfolio/cbyc.PNG", class: "img-responsive", alt: "" %>
129 |
In a team of 8 people, we designed a community website aimed at reinventing the company's customer relationships. Not only we built the website, but we also created a community management strategy to engage people.
130 |
131 | Client:
132 | Confidential.
133 |
134 |
135 | Period:
136 | September - May 2017
137 |
138 |
139 |
140 |
Close
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
155 |
156 |
157 |
158 |
159 |
Wattics Service - PG&E Gateway
160 |
161 | <%= image_tag "freelancer/portfolio/pge-graph.PNG", class: "img-responsive", alt: "" %>
162 |
This project allows Wattics users to authorize the company to retrieve their data from their PG&E subscription. It is a service that communicates with PG&E's "Share My Data" API and Wattics API
163 |
The project is composed of 2 main features :
164 |
165 |
166 | Authorization to retrieve data
167 |
168 |
169 | Daily Job to check already stored data, and to retrieve energy consumption values. It also formats the values and sends them to Wattics.
170 |
171 |
172 |
It has been the opportunity for me to contribute to an open source Ruby gem that allows to parse GreenButtonXML files.
173 |
174 | Company:
175 | Wattics
176 |
177 |
178 | Period:
179 | August - October 2017
180 |
181 |
182 |
183 |
Close
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
198 |
199 |
200 |
201 |
202 |
Defensive Radar
203 |
204 | <%= image_tag "freelancer/portfolio/defensiveradar2.png", class: "img-responsive", alt: "" %>
205 |
This is a school project for the Automatic course. My classmate (Stéphane Delebassé ) and I worked on regulating 2 lego motors. Then we built a defensive robot that uses MakeBlock Sensors and Lego Motors to scan its surounding area and fire at nearby targets.
206 |
It was more of a project for fun, but it was a great experience to work with Arduino's implementation of C++ and to work with Makeblock's libraries .
207 |
208 | Date:
209 | April-May 2018
210 |
211 |
212 |
213 |
Close
214 |
215 |
216 |
217 |
218 |
219 |
220 |
--------------------------------------------------------------------------------
/app/views/notifier/mailer.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Notify Freelancer
7 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 | Hi there,
295 | Someone contacted you from your personal website (<%= Rails.application.class.parent_name %>).
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 | Message from :
304 | <%= @name %>.
305 |
306 |
307 | Phone :
308 | <%= @phone %>
309 |
310 |
311 | Email :
312 | <%= @email %>
313 |
314 |
315 | Message :
316 | <%= @message%>
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 | Answer this message as quick as possible, be professional !
325 | Good luck! Have a great day.
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
--------------------------------------------------------------------------------
/app/assets/javascripts/freelancer/jqBootstrapValidation.js:
--------------------------------------------------------------------------------
1 | /* jqBootstrapValidation
2 | * A plugin for automating validation on Twitter Bootstrap formatted forms.
3 | *
4 | * v1.3.6
5 | *
6 | * License: MIT - see LICENSE file
7 | *
8 | * http://ReactiveRaven.github.com/jqBootstrapValidation/
9 | */
10 |
11 | (function( $ ){
12 |
13 | var createdElements = [];
14 |
15 | var defaults = {
16 | options: {
17 | prependExistingHelpBlock: false,
18 | sniffHtml: true, // sniff for 'required', 'maxlength', etc
19 | preventSubmit: true, // stop the form submit event from firing if validation fails
20 | submitError: false, // function called if there is an error when trying to submit
21 | submitSuccess: false, // function called just before a successful submit event is sent to the server
22 | semanticallyStrict: false, // set to true to tidy up generated HTML output
23 | autoAdd: {
24 | helpBlocks: true
25 | },
26 | filter: function () {
27 | // return $(this).is(":visible"); // only validate elements you can see
28 | return true; // validate everything
29 | }
30 | },
31 | methods: {
32 | init : function( options ) {
33 |
34 | var settings = $.extend(true, {}, defaults);
35 |
36 | settings.options = $.extend(true, settings.options, options);
37 |
38 | var $siblingElements = this;
39 |
40 | var uniqueForms = $.unique(
41 | $siblingElements.map( function () {
42 | return $(this).parents("form")[0];
43 | }).toArray()
44 | );
45 |
46 | $(uniqueForms).bind("submit", function (e) {
47 | var $form = $(this);
48 | var warningsFound = 0;
49 | var $inputs = $form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);
50 | $inputs.trigger("submit.validation").trigger("validationLostFocus.validation");
51 |
52 | $inputs.each(function (i, el) {
53 | var $this = $(el),
54 | $controlGroup = $this.parents(".control-group").first();
55 | if (
56 | $controlGroup.hasClass("warning")
57 | ) {
58 | $controlGroup.removeClass("warning").addClass("error");
59 | warningsFound++;
60 | }
61 | });
62 |
63 | $inputs.trigger("validationLostFocus.validation");
64 |
65 | if (warningsFound) {
66 | if (settings.options.preventSubmit) {
67 | e.preventDefault();
68 | }
69 | $form.addClass("error");
70 | if ($.isFunction(settings.options.submitError)) {
71 | settings.options.submitError($form, e, $inputs.jqBootstrapValidation("collectErrors", true));
72 | }
73 | } else {
74 | $form.removeClass("error");
75 | if ($.isFunction(settings.options.submitSuccess)) {
76 | settings.options.submitSuccess($form, e);
77 | }
78 | }
79 | });
80 |
81 | return this.each(function(){
82 |
83 | // Get references to everything we're interested in
84 | var $this = $(this),
85 | $controlGroup = $this.parents(".control-group").first(),
86 | $helpBlock = $controlGroup.find(".help-block").first(),
87 | $form = $this.parents("form").first(),
88 | validatorNames = [];
89 |
90 | // create message container if not exists
91 | if (!$helpBlock.length && settings.options.autoAdd && settings.options.autoAdd.helpBlocks) {
92 | $helpBlock = $('
');
93 | $controlGroup.find('.controls').append($helpBlock);
94 | createdElements.push($helpBlock[0]);
95 | }
96 |
97 | // =============================================================
98 | // SNIFF HTML FOR VALIDATORS
99 | // =============================================================
100 |
101 | // *snort sniff snuffle*
102 |
103 | if (settings.options.sniffHtml) {
104 | var message = "";
105 | // ---------------------------------------------------------
106 | // PATTERN
107 | // ---------------------------------------------------------
108 | if ($this.attr("pattern") !== undefined) {
109 | message = "Not in the expected format";
110 | if ($this.data("validationPatternMessage")) {
111 | message = $this.data("validationPatternMessage");
112 | }
113 | $this.data("validationPatternMessage", message);
114 | $this.data("validationPatternRegex", $this.attr("pattern"));
115 | }
116 | // ---------------------------------------------------------
117 | // MAX
118 | // ---------------------------------------------------------
119 | if ($this.attr("max") !== undefined || $this.attr("aria-valuemax") !== undefined) {
120 | var max = ($this.attr("max") !== undefined ? $this.attr("max") : $this.attr("aria-valuemax"));
121 | message = "Too high: Maximum of '" + max + "'";
122 | if ($this.data("validationMaxMessage")) {
123 | message = $this.data("validationMaxMessage");
124 | }
125 | $this.data("validationMaxMessage", message);
126 | $this.data("validationMaxMax", max);
127 | }
128 | // ---------------------------------------------------------
129 | // MIN
130 | // ---------------------------------------------------------
131 | if ($this.attr("min") !== undefined || $this.attr("aria-valuemin") !== undefined) {
132 | var min = ($this.attr("min") !== undefined ? $this.attr("min") : $this.attr("aria-valuemin"));
133 | message = "Too low: Minimum of '" + min + "'";
134 | if ($this.data("validationMinMessage")) {
135 | message = $this.data("validationMinMessage");
136 | }
137 | $this.data("validationMinMessage", message);
138 | $this.data("validationMinMin", min);
139 | }
140 | // ---------------------------------------------------------
141 | // MAXLENGTH
142 | // ---------------------------------------------------------
143 | if ($this.attr("maxlength") !== undefined) {
144 | message = "Too long: Maximum of '" + $this.attr("maxlength") + "' characters";
145 | if ($this.data("validationMaxlengthMessage")) {
146 | message = $this.data("validationMaxlengthMessage");
147 | }
148 | $this.data("validationMaxlengthMessage", message);
149 | $this.data("validationMaxlengthMaxlength", $this.attr("maxlength"));
150 | }
151 | // ---------------------------------------------------------
152 | // MINLENGTH
153 | // ---------------------------------------------------------
154 | if ($this.attr("minlength") !== undefined) {
155 | message = "Too short: Minimum of '" + $this.attr("minlength") + "' characters";
156 | if ($this.data("validationMinlengthMessage")) {
157 | message = $this.data("validationMinlengthMessage");
158 | }
159 | $this.data("validationMinlengthMessage", message);
160 | $this.data("validationMinlengthMinlength", $this.attr("minlength"));
161 | }
162 | // ---------------------------------------------------------
163 | // REQUIRED
164 | // ---------------------------------------------------------
165 | if ($this.attr("required") !== undefined || $this.attr("aria-required") !== undefined) {
166 | message = settings.builtInValidators.required.message;
167 | if ($this.data("validationRequiredMessage")) {
168 | message = $this.data("validationRequiredMessage");
169 | }
170 | $this.data("validationRequiredMessage", message);
171 | }
172 | // ---------------------------------------------------------
173 | // NUMBER
174 | // ---------------------------------------------------------
175 | if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "number") {
176 | message = settings.builtInValidators.number.message;
177 | if ($this.data("validationNumberMessage")) {
178 | message = $this.data("validationNumberMessage");
179 | }
180 | $this.data("validationNumberMessage", message);
181 | }
182 | // ---------------------------------------------------------
183 | // EMAIL
184 | // ---------------------------------------------------------
185 | if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "email") {
186 | message = "Not a valid email address";
187 | if ($this.data("validationValidemailMessage")) {
188 | message = $this.data("validationValidemailMessage");
189 | } else if ($this.data("validationEmailMessage")) {
190 | message = $this.data("validationEmailMessage");
191 | }
192 | $this.data("validationValidemailMessage", message);
193 | }
194 | // ---------------------------------------------------------
195 | // MINCHECKED
196 | // ---------------------------------------------------------
197 | if ($this.attr("minchecked") !== undefined) {
198 | message = "Not enough options checked; Minimum of '" + $this.attr("minchecked") + "' required";
199 | if ($this.data("validationMincheckedMessage")) {
200 | message = $this.data("validationMincheckedMessage");
201 | }
202 | $this.data("validationMincheckedMessage", message);
203 | $this.data("validationMincheckedMinchecked", $this.attr("minchecked"));
204 | }
205 | // ---------------------------------------------------------
206 | // MAXCHECKED
207 | // ---------------------------------------------------------
208 | if ($this.attr("maxchecked") !== undefined) {
209 | message = "Too many options checked; Maximum of '" + $this.attr("maxchecked") + "' required";
210 | if ($this.data("validationMaxcheckedMessage")) {
211 | message = $this.data("validationMaxcheckedMessage");
212 | }
213 | $this.data("validationMaxcheckedMessage", message);
214 | $this.data("validationMaxcheckedMaxchecked", $this.attr("maxchecked"));
215 | }
216 | }
217 |
218 | // =============================================================
219 | // COLLECT VALIDATOR NAMES
220 | // =============================================================
221 |
222 | // Get named validators
223 | if ($this.data("validation") !== undefined) {
224 | validatorNames = $this.data("validation").split(",");
225 | }
226 |
227 | // Get extra ones defined on the element's data attributes
228 | $.each($this.data(), function (i, el) {
229 | var parts = i.replace(/([A-Z])/g, ",$1").split(",");
230 | if (parts[0] === "validation" && parts[1]) {
231 | validatorNames.push(parts[1]);
232 | }
233 | });
234 |
235 | // =============================================================
236 | // NORMALISE VALIDATOR NAMES
237 | // =============================================================
238 |
239 | var validatorNamesToInspect = validatorNames;
240 | var newValidatorNamesToInspect = [];
241 |
242 | do // repeatedly expand 'shortcut' validators into their real validators
243 | {
244 | // Uppercase only the first letter of each name
245 | $.each(validatorNames, function (i, el) {
246 | validatorNames[i] = formatValidatorName(el);
247 | });
248 |
249 | // Remove duplicate validator names
250 | validatorNames = $.unique(validatorNames);
251 |
252 | // Pull out the new validator names from each shortcut
253 | newValidatorNamesToInspect = [];
254 | $.each(validatorNamesToInspect, function(i, el) {
255 | if ($this.data("validation" + el + "Shortcut") !== undefined) {
256 | // Are these custom validators?
257 | // Pull them out!
258 | $.each($this.data("validation" + el + "Shortcut").split(","), function(i2, el2) {
259 | newValidatorNamesToInspect.push(el2);
260 | });
261 | } else if (settings.builtInValidators[el.toLowerCase()]) {
262 | // Is this a recognised built-in?
263 | // Pull it out!
264 | var validator = settings.builtInValidators[el.toLowerCase()];
265 | if (validator.type.toLowerCase() === "shortcut") {
266 | $.each(validator.shortcut.split(","), function (i, el) {
267 | el = formatValidatorName(el);
268 | newValidatorNamesToInspect.push(el);
269 | validatorNames.push(el);
270 | });
271 | }
272 | }
273 | });
274 |
275 | validatorNamesToInspect = newValidatorNamesToInspect;
276 |
277 | } while (validatorNamesToInspect.length > 0)
278 |
279 | // =============================================================
280 | // SET UP VALIDATOR ARRAYS
281 | // =============================================================
282 |
283 | var validators = {};
284 |
285 | $.each(validatorNames, function (i, el) {
286 | // Set up the 'override' message
287 | var message = $this.data("validation" + el + "Message");
288 | var hasOverrideMessage = (message !== undefined);
289 | var foundValidator = false;
290 | message =
291 | (
292 | message
293 | ? message
294 | : "'" + el + "' validation failed "
295 | )
296 | ;
297 |
298 | $.each(
299 | settings.validatorTypes,
300 | function (validatorType, validatorTemplate) {
301 | if (validators[validatorType] === undefined) {
302 | validators[validatorType] = [];
303 | }
304 | if (!foundValidator && $this.data("validation" + el + formatValidatorName(validatorTemplate.name)) !== undefined) {
305 | validators[validatorType].push(
306 | $.extend(
307 | true,
308 | {
309 | name: formatValidatorName(validatorTemplate.name),
310 | message: message
311 | },
312 | validatorTemplate.init($this, el)
313 | )
314 | );
315 | foundValidator = true;
316 | }
317 | }
318 | );
319 |
320 | if (!foundValidator && settings.builtInValidators[el.toLowerCase()]) {
321 |
322 | var validator = $.extend(true, {}, settings.builtInValidators[el.toLowerCase()]);
323 | if (hasOverrideMessage) {
324 | validator.message = message;
325 | }
326 | var validatorType = validator.type.toLowerCase();
327 |
328 | if (validatorType === "shortcut") {
329 | foundValidator = true;
330 | } else {
331 | $.each(
332 | settings.validatorTypes,
333 | function (validatorTemplateType, validatorTemplate) {
334 | if (validators[validatorTemplateType] === undefined) {
335 | validators[validatorTemplateType] = [];
336 | }
337 | if (!foundValidator && validatorType === validatorTemplateType.toLowerCase()) {
338 | $this.data("validation" + el + formatValidatorName(validatorTemplate.name), validator[validatorTemplate.name.toLowerCase()]);
339 | validators[validatorType].push(
340 | $.extend(
341 | validator,
342 | validatorTemplate.init($this, el)
343 | )
344 | );
345 | foundValidator = true;
346 | }
347 | }
348 | );
349 | }
350 | }
351 |
352 | if (! foundValidator) {
353 | $.error("Cannot find validation info for '" + el + "'");
354 | }
355 | });
356 |
357 | // =============================================================
358 | // STORE FALLBACK VALUES
359 | // =============================================================
360 |
361 | $helpBlock.data(
362 | "original-contents",
363 | (
364 | $helpBlock.data("original-contents")
365 | ? $helpBlock.data("original-contents")
366 | : $helpBlock.html()
367 | )
368 | );
369 |
370 | $helpBlock.data(
371 | "original-role",
372 | (
373 | $helpBlock.data("original-role")
374 | ? $helpBlock.data("original-role")
375 | : $helpBlock.attr("role")
376 | )
377 | );
378 |
379 | $controlGroup.data(
380 | "original-classes",
381 | (
382 | $controlGroup.data("original-clases")
383 | ? $controlGroup.data("original-classes")
384 | : $controlGroup.attr("class")
385 | )
386 | );
387 |
388 | $this.data(
389 | "original-aria-invalid",
390 | (
391 | $this.data("original-aria-invalid")
392 | ? $this.data("original-aria-invalid")
393 | : $this.attr("aria-invalid")
394 | )
395 | );
396 |
397 | // =============================================================
398 | // VALIDATION
399 | // =============================================================
400 |
401 | $this.bind(
402 | "validation.validation",
403 | function (event, params) {
404 |
405 | var value = getValue($this);
406 |
407 | // Get a list of the errors to apply
408 | var errorsFound = [];
409 |
410 | $.each(validators, function (validatorType, validatorTypeArray) {
411 | if (value || value.length || (params && params.includeEmpty) || (!!settings.validatorTypes[validatorType].blockSubmit && params && !!params.submitting)) {
412 | $.each(validatorTypeArray, function (i, validator) {
413 | if (settings.validatorTypes[validatorType].validate($this, value, validator)) {
414 | errorsFound.push(validator.message);
415 | }
416 | });
417 | }
418 | });
419 |
420 | return errorsFound;
421 | }
422 | );
423 |
424 | $this.bind(
425 | "getValidators.validation",
426 | function () {
427 | return validators;
428 | }
429 | );
430 |
431 | // =============================================================
432 | // WATCH FOR CHANGES
433 | // =============================================================
434 | $this.bind(
435 | "submit.validation",
436 | function () {
437 | return $this.triggerHandler("change.validation", {submitting: true});
438 | }
439 | );
440 | $this.bind(
441 | [
442 | "keyup",
443 | "focus",
444 | "blur",
445 | "click",
446 | "keydown",
447 | "keypress",
448 | "change"
449 | ].join(".validation ") + ".validation",
450 | function (e, params) {
451 |
452 | var value = getValue($this);
453 |
454 | var errorsFound = [];
455 |
456 | $controlGroup.find("input,textarea,select").each(function (i, el) {
457 | var oldCount = errorsFound.length;
458 | $.each($(el).triggerHandler("validation.validation", params), function (j, message) {
459 | errorsFound.push(message);
460 | });
461 | if (errorsFound.length > oldCount) {
462 | $(el).attr("aria-invalid", "true");
463 | } else {
464 | var original = $this.data("original-aria-invalid");
465 | $(el).attr("aria-invalid", (original !== undefined ? original : false));
466 | }
467 | });
468 |
469 | $form.find("input,select,textarea").not($this).not("[name=\"" + $this.attr("name") + "\"]").trigger("validationLostFocus.validation");
470 |
471 | errorsFound = $.unique(errorsFound.sort());
472 |
473 | // Were there any errors?
474 | if (errorsFound.length) {
475 | // Better flag it up as a warning.
476 | $controlGroup.removeClass("success error").addClass("warning");
477 |
478 | // How many errors did we find?
479 | if (settings.options.semanticallyStrict && errorsFound.length === 1) {
480 | // Only one? Being strict? Just output it.
481 | $helpBlock.html(errorsFound[0] +
482 | ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
483 | } else {
484 | // Multiple? Being sloppy? Glue them together into an UL.
485 | $helpBlock.html("" + errorsFound.join(" ") + " " +
486 | ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
487 | }
488 | } else {
489 | $controlGroup.removeClass("warning error success");
490 | if (value.length > 0) {
491 | $controlGroup.addClass("success");
492 | }
493 | $helpBlock.html($helpBlock.data("original-contents"));
494 | }
495 |
496 | if (e.type === "blur") {
497 | $controlGroup.removeClass("success");
498 | }
499 | }
500 | );
501 | $this.bind("validationLostFocus.validation", function () {
502 | $controlGroup.removeClass("success");
503 | });
504 | });
505 | },
506 | destroy : function( ) {
507 |
508 | return this.each(
509 | function() {
510 |
511 | var
512 | $this = $(this),
513 | $controlGroup = $this.parents(".control-group").first(),
514 | $helpBlock = $controlGroup.find(".help-block").first();
515 |
516 | // remove our events
517 | $this.unbind('.validation'); // events are namespaced.
518 | // reset help text
519 | $helpBlock.html($helpBlock.data("original-contents"));
520 | // reset classes
521 | $controlGroup.attr("class", $controlGroup.data("original-classes"));
522 | // reset aria
523 | $this.attr("aria-invalid", $this.data("original-aria-invalid"));
524 | // reset role
525 | $helpBlock.attr("role", $this.data("original-role"));
526 | // remove all elements we created
527 | if (createdElements.indexOf($helpBlock[0]) > -1) {
528 | $helpBlock.remove();
529 | }
530 |
531 | }
532 | );
533 |
534 | },
535 | collectErrors : function(includeEmpty) {
536 |
537 | var errorMessages = {};
538 | this.each(function (i, el) {
539 | var $el = $(el);
540 | var name = $el.attr("name");
541 | var errors = $el.triggerHandler("validation.validation", {includeEmpty: true});
542 | errorMessages[name] = $.extend(true, errors, errorMessages[name]);
543 | });
544 |
545 | $.each(errorMessages, function (i, el) {
546 | if (el.length === 0) {
547 | delete errorMessages[i];
548 | }
549 | });
550 |
551 | return errorMessages;
552 |
553 | },
554 | hasErrors: function() {
555 |
556 | var errorMessages = [];
557 |
558 | this.each(function (i, el) {
559 | errorMessages = errorMessages.concat(
560 | $(el).triggerHandler("getValidators.validation") ? $(el).triggerHandler("validation.validation", {submitting: true}) : []
561 | );
562 | });
563 |
564 | return (errorMessages.length > 0);
565 | },
566 | override : function (newDefaults) {
567 | defaults = $.extend(true, defaults, newDefaults);
568 | }
569 | },
570 | validatorTypes: {
571 | callback: {
572 | name: "callback",
573 | init: function ($this, name) {
574 | return {
575 | validatorName: name,
576 | callback: $this.data("validation" + name + "Callback"),
577 | lastValue: $this.val(),
578 | lastValid: true,
579 | lastFinished: true
580 | };
581 | },
582 | validate: function ($this, value, validator) {
583 | if (validator.lastValue === value && validator.lastFinished) {
584 | return !validator.lastValid;
585 | }
586 |
587 | if (validator.lastFinished === true)
588 | {
589 | validator.lastValue = value;
590 | validator.lastValid = true;
591 | validator.lastFinished = false;
592 |
593 | var rrjqbvValidator = validator;
594 | var rrjqbvThis = $this;
595 | executeFunctionByName(
596 | validator.callback,
597 | window,
598 | $this,
599 | value,
600 | function (data) {
601 | if (rrjqbvValidator.lastValue === data.value) {
602 | rrjqbvValidator.lastValid = data.valid;
603 | if (data.message) {
604 | rrjqbvValidator.message = data.message;
605 | }
606 | rrjqbvValidator.lastFinished = true;
607 | rrjqbvThis.data("validation" + rrjqbvValidator.validatorName + "Message", rrjqbvValidator.message);
608 | // Timeout is set to avoid problems with the events being considered 'already fired'
609 | setTimeout(function () {
610 | rrjqbvThis.trigger("change.validation");
611 | }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
612 | }
613 | }
614 | );
615 | }
616 |
617 | return false;
618 |
619 | }
620 | },
621 | ajax: {
622 | name: "ajax",
623 | init: function ($this, name) {
624 | return {
625 | validatorName: name,
626 | url: $this.data("validation" + name + "Ajax"),
627 | lastValue: $this.val(),
628 | lastValid: true,
629 | lastFinished: true
630 | };
631 | },
632 | validate: function ($this, value, validator) {
633 | if (""+validator.lastValue === ""+value && validator.lastFinished === true) {
634 | return validator.lastValid === false;
635 | }
636 |
637 | if (validator.lastFinished === true)
638 | {
639 | validator.lastValue = value;
640 | validator.lastValid = true;
641 | validator.lastFinished = false;
642 | $.ajax({
643 | url: validator.url,
644 | data: "value=" + value + "&field=" + $this.attr("name"),
645 | dataType: "json",
646 | success: function (data) {
647 | if (""+validator.lastValue === ""+data.value) {
648 | validator.lastValid = !!(data.valid);
649 | if (data.message) {
650 | validator.message = data.message;
651 | }
652 | validator.lastFinished = true;
653 | $this.data("validation" + validator.validatorName + "Message", validator.message);
654 | // Timeout is set to avoid problems with the events being considered 'already fired'
655 | setTimeout(function () {
656 | $this.trigger("change.validation");
657 | }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
658 | }
659 | },
660 | failure: function () {
661 | validator.lastValid = true;
662 | validator.message = "ajax call failed";
663 | validator.lastFinished = true;
664 | $this.data("validation" + validator.validatorName + "Message", validator.message);
665 | // Timeout is set to avoid problems with the events being considered 'already fired'
666 | setTimeout(function () {
667 | $this.trigger("change.validation");
668 | }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
669 | }
670 | });
671 | }
672 |
673 | return false;
674 |
675 | }
676 | },
677 | regex: {
678 | name: "regex",
679 | init: function ($this, name) {
680 | return {regex: regexFromString($this.data("validation" + name + "Regex"))};
681 | },
682 | validate: function ($this, value, validator) {
683 | return (!validator.regex.test(value) && ! validator.negative)
684 | || (validator.regex.test(value) && validator.negative);
685 | }
686 | },
687 | required: {
688 | name: "required",
689 | init: function ($this, name) {
690 | return {};
691 | },
692 | validate: function ($this, value, validator) {
693 | return !!(value.length === 0 && ! validator.negative)
694 | || !!(value.length > 0 && validator.negative);
695 | },
696 | blockSubmit: true
697 | },
698 | match: {
699 | name: "match",
700 | init: function ($this, name) {
701 | var element = $this.parents("form").first().find("[name=\"" + $this.data("validation" + name + "Match") + "\"]").first();
702 | element.bind("validation.validation", function () {
703 | $this.trigger("change.validation", {submitting: true});
704 | });
705 | return {"element": element};
706 | },
707 | validate: function ($this, value, validator) {
708 | return (value !== validator.element.val() && ! validator.negative)
709 | || (value === validator.element.val() && validator.negative);
710 | },
711 | blockSubmit: true
712 | },
713 | max: {
714 | name: "max",
715 | init: function ($this, name) {
716 | return {max: $this.data("validation" + name + "Max")};
717 | },
718 | validate: function ($this, value, validator) {
719 | return (parseFloat(value, 10) > parseFloat(validator.max, 10) && ! validator.negative)
720 | || (parseFloat(value, 10) <= parseFloat(validator.max, 10) && validator.negative);
721 | }
722 | },
723 | min: {
724 | name: "min",
725 | init: function ($this, name) {
726 | return {min: $this.data("validation" + name + "Min")};
727 | },
728 | validate: function ($this, value, validator) {
729 | return (parseFloat(value) < parseFloat(validator.min) && ! validator.negative)
730 | || (parseFloat(value) >= parseFloat(validator.min) && validator.negative);
731 | }
732 | },
733 | maxlength: {
734 | name: "maxlength",
735 | init: function ($this, name) {
736 | return {maxlength: $this.data("validation" + name + "Maxlength")};
737 | },
738 | validate: function ($this, value, validator) {
739 | return ((value.length > validator.maxlength) && ! validator.negative)
740 | || ((value.length <= validator.maxlength) && validator.negative);
741 | }
742 | },
743 | minlength: {
744 | name: "minlength",
745 | init: function ($this, name) {
746 | return {minlength: $this.data("validation" + name + "Minlength")};
747 | },
748 | validate: function ($this, value, validator) {
749 | return ((value.length < validator.minlength) && ! validator.negative)
750 | || ((value.length >= validator.minlength) && validator.negative);
751 | }
752 | },
753 | maxchecked: {
754 | name: "maxchecked",
755 | init: function ($this, name) {
756 | var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
757 | elements.bind("click.validation", function () {
758 | $this.trigger("change.validation", {includeEmpty: true});
759 | });
760 | return {maxchecked: $this.data("validation" + name + "Maxchecked"), elements: elements};
761 | },
762 | validate: function ($this, value, validator) {
763 | return (validator.elements.filter(":checked").length > validator.maxchecked && ! validator.negative)
764 | || (validator.elements.filter(":checked").length <= validator.maxchecked && validator.negative);
765 | },
766 | blockSubmit: true
767 | },
768 | minchecked: {
769 | name: "minchecked",
770 | init: function ($this, name) {
771 | var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
772 | elements.bind("click.validation", function () {
773 | $this.trigger("change.validation", {includeEmpty: true});
774 | });
775 | return {minchecked: $this.data("validation" + name + "Minchecked"), elements: elements};
776 | },
777 | validate: function ($this, value, validator) {
778 | return (validator.elements.filter(":checked").length < validator.minchecked && ! validator.negative)
779 | || (validator.elements.filter(":checked").length >= validator.minchecked && validator.negative);
780 | },
781 | blockSubmit: true
782 | }
783 | },
784 | builtInValidators: {
785 | email: {
786 | name: "Email",
787 | type: "shortcut",
788 | shortcut: "validemail"
789 | },
790 | validemail: {
791 | name: "Validemail",
792 | type: "regex",
793 | regex: "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\.[A-Za-z]{2,4}",
794 | message: "Not a valid email address"
795 | },
796 | passwordagain: {
797 | name: "Passwordagain",
798 | type: "match",
799 | match: "password",
800 | message: "Does not match the given password"
801 | },
802 | positive: {
803 | name: "Positive",
804 | type: "shortcut",
805 | shortcut: "number,positivenumber"
806 | },
807 | negative: {
808 | name: "Negative",
809 | type: "shortcut",
810 | shortcut: "number,negativenumber"
811 | },
812 | number: {
813 | name: "Number",
814 | type: "regex",
815 | regex: "([+-]?\\\d+(\\\.\\\d*)?([eE][+-]?[0-9]+)?)?",
816 | message: "Must be a number"
817 | },
818 | integer: {
819 | name: "Integer",
820 | type: "regex",
821 | regex: "[+-]?\\\d+",
822 | message: "No decimal places allowed"
823 | },
824 | positivenumber: {
825 | name: "Positivenumber",
826 | type: "min",
827 | min: 0,
828 | message: "Must be a positive number"
829 | },
830 | negativenumber: {
831 | name: "Negativenumber",
832 | type: "max",
833 | max: 0,
834 | message: "Must be a negative number"
835 | },
836 | required: {
837 | name: "Required",
838 | type: "required",
839 | message: "This is required"
840 | },
841 | checkone: {
842 | name: "Checkone",
843 | type: "minchecked",
844 | minchecked: 1,
845 | message: "Check at least one option"
846 | }
847 | }
848 | };
849 |
850 | var formatValidatorName = function (name) {
851 | return name
852 | .toLowerCase()
853 | .replace(
854 | /(^|\s)([a-z])/g ,
855 | function(m,p1,p2) {
856 | return p1+p2.toUpperCase();
857 | }
858 | )
859 | ;
860 | };
861 |
862 | var getValue = function ($this) {
863 | // Extract the value we're talking about
864 | var value = $this.val();
865 | var type = $this.attr("type");
866 | if (type === "checkbox") {
867 | value = ($this.is(":checked") ? value : "");
868 | }
869 | if (type === "radio") {
870 | value = ($('input[name="' + $this.attr("name") + '"]:checked').length > 0 ? value : "");
871 | }
872 | return value;
873 | };
874 |
875 | function regexFromString(inputstring) {
876 | return new RegExp("^" + inputstring + "$");
877 | }
878 |
879 | /**
880 | * Thanks to Jason Bunting via StackOverflow.com
881 | *
882 | * http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string#answer-359910
883 | * Short link: http://tinyurl.com/executeFunctionByName
884 | **/
885 | function executeFunctionByName(functionName, context /*, args*/) {
886 | var args = Array.prototype.slice.call(arguments).splice(2);
887 | var namespaces = functionName.split(".");
888 | var func = namespaces.pop();
889 | for(var i = 0; i < namespaces.length; i++) {
890 | context = context[namespaces[i]];
891 | }
892 | return context[func].apply(this, args);
893 | }
894 |
895 | $.fn.jqBootstrapValidation = function( method ) {
896 |
897 | if ( defaults.methods[method] ) {
898 | return defaults.methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
899 | } else if ( typeof method === 'object' || ! method ) {
900 | return defaults.methods.init.apply( this, arguments );
901 | } else {
902 | $.error( 'Method ' + method + ' does not exist on jQuery.jqBootstrapValidation' );
903 | return null;
904 | }
905 |
906 | };
907 |
908 | $.jqBootstrapValidation = function (options) {
909 | $(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this,arguments);
910 | };
911 |
912 | })( jQuery );
913 |
--------------------------------------------------------------------------------
/vendor/assets/stylesheets/font_awesome.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */
5 | /* FONT PATH
6 | * -------------------------- */
7 | @font-face {
8 | font-family: 'FontAwesome';
9 | src: url('/fonts/fontawesome-webfont.eot?v=4.4.0');
10 | src: url('/fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('/fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('/fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('/fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('/fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
11 | font-weight: normal;
12 | font-style: normal;
13 | }
14 | .fa {
15 | display: inline-block;
16 | font: normal normal normal 14px/1 FontAwesome;
17 | font-size: inherit;
18 | text-rendering: auto;
19 | -webkit-font-smoothing: antialiased;
20 | -moz-osx-font-smoothing: grayscale;
21 | }
22 | /* makes the font 33% larger relative to the icon container */
23 | .fa-lg {
24 | font-size: 1.33333333em;
25 | line-height: 0.75em;
26 | vertical-align: -15%;
27 | }
28 | .fa-2x {
29 | font-size: 2em;
30 | }
31 | .fa-3x {
32 | font-size: 3em;
33 | }
34 | .fa-4x {
35 | font-size: 4em;
36 | }
37 | .fa-5x {
38 | font-size: 5em;
39 | }
40 | .fa-fw {
41 | width: 1.28571429em;
42 | text-align: center;
43 | }
44 | .fa-ul {
45 | padding-left: 0;
46 | margin-left: 2.14285714em;
47 | list-style-type: none;
48 | }
49 | .fa-ul > li {
50 | position: relative;
51 | }
52 | .fa-li {
53 | position: absolute;
54 | left: -2.14285714em;
55 | width: 2.14285714em;
56 | top: 0.14285714em;
57 | text-align: center;
58 | }
59 | .fa-li.fa-lg {
60 | left: -1.85714286em;
61 | }
62 | .fa-border {
63 | padding: .2em .25em .15em;
64 | border: solid 0.08em #eeeeee;
65 | border-radius: .1em;
66 | }
67 | .fa-pull-left {
68 | float: left;
69 | }
70 | .fa-pull-right {
71 | float: right;
72 | }
73 | .fa.fa-pull-left {
74 | margin-right: .3em;
75 | }
76 | .fa.fa-pull-right {
77 | margin-left: .3em;
78 | }
79 | /* Deprecated as of 4.4.0 */
80 | .pull-right {
81 | float: right;
82 | }
83 | .pull-left {
84 | float: left;
85 | }
86 | .fa.pull-left {
87 | margin-right: .3em;
88 | }
89 | .fa.pull-right {
90 | margin-left: .3em;
91 | }
92 | .fa-spin {
93 | -webkit-animation: fa-spin 2s infinite linear;
94 | animation: fa-spin 2s infinite linear;
95 | }
96 | .fa-pulse {
97 | -webkit-animation: fa-spin 1s infinite steps(8);
98 | animation: fa-spin 1s infinite steps(8);
99 | }
100 | @-webkit-keyframes fa-spin {
101 | 0% {
102 | -webkit-transform: rotate(0deg);
103 | transform: rotate(0deg);
104 | }
105 | 100% {
106 | -webkit-transform: rotate(359deg);
107 | transform: rotate(359deg);
108 | }
109 | }
110 | @keyframes fa-spin {
111 | 0% {
112 | -webkit-transform: rotate(0deg);
113 | transform: rotate(0deg);
114 | }
115 | 100% {
116 | -webkit-transform: rotate(359deg);
117 | transform: rotate(359deg);
118 | }
119 | }
120 | .fa-rotate-90 {
121 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
122 | -webkit-transform: rotate(90deg);
123 | -ms-transform: rotate(90deg);
124 | transform: rotate(90deg);
125 | }
126 | .fa-rotate-180 {
127 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
128 | -webkit-transform: rotate(180deg);
129 | -ms-transform: rotate(180deg);
130 | transform: rotate(180deg);
131 | }
132 | .fa-rotate-270 {
133 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
134 | -webkit-transform: rotate(270deg);
135 | -ms-transform: rotate(270deg);
136 | transform: rotate(270deg);
137 | }
138 | .fa-flip-horizontal {
139 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
140 | -webkit-transform: scale(-1, 1);
141 | -ms-transform: scale(-1, 1);
142 | transform: scale(-1, 1);
143 | }
144 | .fa-flip-vertical {
145 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
146 | -webkit-transform: scale(1, -1);
147 | -ms-transform: scale(1, -1);
148 | transform: scale(1, -1);
149 | }
150 | :root .fa-rotate-90,
151 | :root .fa-rotate-180,
152 | :root .fa-rotate-270,
153 | :root .fa-flip-horizontal,
154 | :root .fa-flip-vertical {
155 | filter: none;
156 | }
157 | .fa-stack {
158 | position: relative;
159 | display: inline-block;
160 | width: 2em;
161 | height: 2em;
162 | line-height: 2em;
163 | vertical-align: middle;
164 | }
165 | .fa-stack-1x,
166 | .fa-stack-2x {
167 | position: absolute;
168 | left: 0;
169 | width: 100%;
170 | text-align: center;
171 | }
172 | .fa-stack-1x {
173 | line-height: inherit;
174 | }
175 | .fa-stack-2x {
176 | font-size: 2em;
177 | }
178 | .fa-inverse {
179 | color: #ffffff;
180 | }
181 | /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
182 | readers do not read off random characters that represent icons */
183 | .fa-glass:before {
184 | content: "\f000";
185 | }
186 | .fa-music:before {
187 | content: "\f001";
188 | }
189 | .fa-search:before {
190 | content: "\f002";
191 | }
192 | .fa-envelope-o:before {
193 | content: "\f003";
194 | }
195 | .fa-heart:before {
196 | content: "\f004";
197 | }
198 | .fa-star:before {
199 | content: "\f005";
200 | }
201 | .fa-star-o:before {
202 | content: "\f006";
203 | }
204 | .fa-user:before {
205 | content: "\f007";
206 | }
207 | .fa-film:before {
208 | content: "\f008";
209 | }
210 | .fa-th-large:before {
211 | content: "\f009";
212 | }
213 | .fa-th:before {
214 | content: "\f00a";
215 | }
216 | .fa-th-list:before {
217 | content: "\f00b";
218 | }
219 | .fa-check:before {
220 | content: "\f00c";
221 | }
222 | .fa-remove:before,
223 | .fa-close:before,
224 | .fa-times:before {
225 | content: "\f00d";
226 | }
227 | .fa-search-plus:before {
228 | content: "\f00e";
229 | }
230 | .fa-search-minus:before {
231 | content: "\f010";
232 | }
233 | .fa-power-off:before {
234 | content: "\f011";
235 | }
236 | .fa-signal:before {
237 | content: "\f012";
238 | }
239 | .fa-gear:before,
240 | .fa-cog:before {
241 | content: "\f013";
242 | }
243 | .fa-trash-o:before {
244 | content: "\f014";
245 | }
246 | .fa-home:before {
247 | content: "\f015";
248 | }
249 | .fa-file-o:before {
250 | content: "\f016";
251 | }
252 | .fa-clock-o:before {
253 | content: "\f017";
254 | }
255 | .fa-road:before {
256 | content: "\f018";
257 | }
258 | .fa-download:before {
259 | content: "\f019";
260 | }
261 | .fa-arrow-circle-o-down:before {
262 | content: "\f01a";
263 | }
264 | .fa-arrow-circle-o-up:before {
265 | content: "\f01b";
266 | }
267 | .fa-inbox:before {
268 | content: "\f01c";
269 | }
270 | .fa-play-circle-o:before {
271 | content: "\f01d";
272 | }
273 | .fa-rotate-right:before,
274 | .fa-repeat:before {
275 | content: "\f01e";
276 | }
277 | .fa-refresh:before {
278 | content: "\f021";
279 | }
280 | .fa-list-alt:before {
281 | content: "\f022";
282 | }
283 | .fa-lock:before {
284 | content: "\f023";
285 | }
286 | .fa-flag:before {
287 | content: "\f024";
288 | }
289 | .fa-headphones:before {
290 | content: "\f025";
291 | }
292 | .fa-volume-off:before {
293 | content: "\f026";
294 | }
295 | .fa-volume-down:before {
296 | content: "\f027";
297 | }
298 | .fa-volume-up:before {
299 | content: "\f028";
300 | }
301 | .fa-qrcode:before {
302 | content: "\f029";
303 | }
304 | .fa-barcode:before {
305 | content: "\f02a";
306 | }
307 | .fa-tag:before {
308 | content: "\f02b";
309 | }
310 | .fa-tags:before {
311 | content: "\f02c";
312 | }
313 | .fa-book:before {
314 | content: "\f02d";
315 | }
316 | .fa-bookmark:before {
317 | content: "\f02e";
318 | }
319 | .fa-print:before {
320 | content: "\f02f";
321 | }
322 | .fa-camera:before {
323 | content: "\f030";
324 | }
325 | .fa-font:before {
326 | content: "\f031";
327 | }
328 | .fa-bold:before {
329 | content: "\f032";
330 | }
331 | .fa-italic:before {
332 | content: "\f033";
333 | }
334 | .fa-text-height:before {
335 | content: "\f034";
336 | }
337 | .fa-text-width:before {
338 | content: "\f035";
339 | }
340 | .fa-align-left:before {
341 | content: "\f036";
342 | }
343 | .fa-align-center:before {
344 | content: "\f037";
345 | }
346 | .fa-align-right:before {
347 | content: "\f038";
348 | }
349 | .fa-align-justify:before {
350 | content: "\f039";
351 | }
352 | .fa-list:before {
353 | content: "\f03a";
354 | }
355 | .fa-dedent:before,
356 | .fa-outdent:before {
357 | content: "\f03b";
358 | }
359 | .fa-indent:before {
360 | content: "\f03c";
361 | }
362 | .fa-video-camera:before {
363 | content: "\f03d";
364 | }
365 | .fa-photo:before,
366 | .fa-image:before,
367 | .fa-picture-o:before {
368 | content: "\f03e";
369 | }
370 | .fa-pencil:before {
371 | content: "\f040";
372 | }
373 | .fa-map-marker:before {
374 | content: "\f041";
375 | }
376 | .fa-adjust:before {
377 | content: "\f042";
378 | }
379 | .fa-tint:before {
380 | content: "\f043";
381 | }
382 | .fa-edit:before,
383 | .fa-pencil-square-o:before {
384 | content: "\f044";
385 | }
386 | .fa-share-square-o:before {
387 | content: "\f045";
388 | }
389 | .fa-check-square-o:before {
390 | content: "\f046";
391 | }
392 | .fa-arrows:before {
393 | content: "\f047";
394 | }
395 | .fa-step-backward:before {
396 | content: "\f048";
397 | }
398 | .fa-fast-backward:before {
399 | content: "\f049";
400 | }
401 | .fa-backward:before {
402 | content: "\f04a";
403 | }
404 | .fa-play:before {
405 | content: "\f04b";
406 | }
407 | .fa-pause:before {
408 | content: "\f04c";
409 | }
410 | .fa-stop:before {
411 | content: "\f04d";
412 | }
413 | .fa-forward:before {
414 | content: "\f04e";
415 | }
416 | .fa-fast-forward:before {
417 | content: "\f050";
418 | }
419 | .fa-step-forward:before {
420 | content: "\f051";
421 | }
422 | .fa-eject:before {
423 | content: "\f052";
424 | }
425 | .fa-chevron-left:before {
426 | content: "\f053";
427 | }
428 | .fa-chevron-right:before {
429 | content: "\f054";
430 | }
431 | .fa-plus-circle:before {
432 | content: "\f055";
433 | }
434 | .fa-minus-circle:before {
435 | content: "\f056";
436 | }
437 | .fa-times-circle:before {
438 | content: "\f057";
439 | }
440 | .fa-check-circle:before {
441 | content: "\f058";
442 | }
443 | .fa-question-circle:before {
444 | content: "\f059";
445 | }
446 | .fa-info-circle:before {
447 | content: "\f05a";
448 | }
449 | .fa-crosshairs:before {
450 | content: "\f05b";
451 | }
452 | .fa-times-circle-o:before {
453 | content: "\f05c";
454 | }
455 | .fa-check-circle-o:before {
456 | content: "\f05d";
457 | }
458 | .fa-ban:before {
459 | content: "\f05e";
460 | }
461 | .fa-arrow-left:before {
462 | content: "\f060";
463 | }
464 | .fa-arrow-right:before {
465 | content: "\f061";
466 | }
467 | .fa-arrow-up:before {
468 | content: "\f062";
469 | }
470 | .fa-arrow-down:before {
471 | content: "\f063";
472 | }
473 | .fa-mail-forward:before,
474 | .fa-share:before {
475 | content: "\f064";
476 | }
477 | .fa-expand:before {
478 | content: "\f065";
479 | }
480 | .fa-compress:before {
481 | content: "\f066";
482 | }
483 | .fa-plus:before {
484 | content: "\f067";
485 | }
486 | .fa-minus:before {
487 | content: "\f068";
488 | }
489 | .fa-asterisk:before {
490 | content: "\f069";
491 | }
492 | .fa-exclamation-circle:before {
493 | content: "\f06a";
494 | }
495 | .fa-gift:before {
496 | content: "\f06b";
497 | }
498 | .fa-leaf:before {
499 | content: "\f06c";
500 | }
501 | .fa-fire:before {
502 | content: "\f06d";
503 | }
504 | .fa-eye:before {
505 | content: "\f06e";
506 | }
507 | .fa-eye-slash:before {
508 | content: "\f070";
509 | }
510 | .fa-warning:before,
511 | .fa-exclamation-triangle:before {
512 | content: "\f071";
513 | }
514 | .fa-plane:before {
515 | content: "\f072";
516 | }
517 | .fa-calendar:before {
518 | content: "\f073";
519 | }
520 | .fa-random:before {
521 | content: "\f074";
522 | }
523 | .fa-comment:before {
524 | content: "\f075";
525 | }
526 | .fa-magnet:before {
527 | content: "\f076";
528 | }
529 | .fa-chevron-up:before {
530 | content: "\f077";
531 | }
532 | .fa-chevron-down:before {
533 | content: "\f078";
534 | }
535 | .fa-retweet:before {
536 | content: "\f079";
537 | }
538 | .fa-shopping-cart:before {
539 | content: "\f07a";
540 | }
541 | .fa-folder:before {
542 | content: "\f07b";
543 | }
544 | .fa-folder-open:before {
545 | content: "\f07c";
546 | }
547 | .fa-arrows-v:before {
548 | content: "\f07d";
549 | }
550 | .fa-arrows-h:before {
551 | content: "\f07e";
552 | }
553 | .fa-bar-chart-o:before,
554 | .fa-bar-chart:before {
555 | content: "\f080";
556 | }
557 | .fa-twitter-square:before {
558 | content: "\f081";
559 | }
560 | .fa-facebook-square:before {
561 | content: "\f082";
562 | }
563 | .fa-camera-retro:before {
564 | content: "\f083";
565 | }
566 | .fa-key:before {
567 | content: "\f084";
568 | }
569 | .fa-gears:before,
570 | .fa-cogs:before {
571 | content: "\f085";
572 | }
573 | .fa-comments:before {
574 | content: "\f086";
575 | }
576 | .fa-thumbs-o-up:before {
577 | content: "\f087";
578 | }
579 | .fa-thumbs-o-down:before {
580 | content: "\f088";
581 | }
582 | .fa-star-half:before {
583 | content: "\f089";
584 | }
585 | .fa-heart-o:before {
586 | content: "\f08a";
587 | }
588 | .fa-sign-out:before {
589 | content: "\f08b";
590 | }
591 | .fa-linkedin-square:before {
592 | content: "\f08c";
593 | }
594 | .fa-thumb-tack:before {
595 | content: "\f08d";
596 | }
597 | .fa-external-link:before {
598 | content: "\f08e";
599 | }
600 | .fa-sign-in:before {
601 | content: "\f090";
602 | }
603 | .fa-trophy:before {
604 | content: "\f091";
605 | }
606 | .fa-github-square:before {
607 | content: "\f092";
608 | }
609 | .fa-upload:before {
610 | content: "\f093";
611 | }
612 | .fa-lemon-o:before {
613 | content: "\f094";
614 | }
615 | .fa-phone:before {
616 | content: "\f095";
617 | }
618 | .fa-square-o:before {
619 | content: "\f096";
620 | }
621 | .fa-bookmark-o:before {
622 | content: "\f097";
623 | }
624 | .fa-phone-square:before {
625 | content: "\f098";
626 | }
627 | .fa-twitter:before {
628 | content: "\f099";
629 | }
630 | .fa-facebook-f:before,
631 | .fa-facebook:before {
632 | content: "\f09a";
633 | }
634 | .fa-github:before {
635 | content: "\f09b";
636 | }
637 | .fa-unlock:before {
638 | content: "\f09c";
639 | }
640 | .fa-credit-card:before {
641 | content: "\f09d";
642 | }
643 | .fa-feed:before,
644 | .fa-rss:before {
645 | content: "\f09e";
646 | }
647 | .fa-hdd-o:before {
648 | content: "\f0a0";
649 | }
650 | .fa-bullhorn:before {
651 | content: "\f0a1";
652 | }
653 | .fa-bell:before {
654 | content: "\f0f3";
655 | }
656 | .fa-certificate:before {
657 | content: "\f0a3";
658 | }
659 | .fa-hand-o-right:before {
660 | content: "\f0a4";
661 | }
662 | .fa-hand-o-left:before {
663 | content: "\f0a5";
664 | }
665 | .fa-hand-o-up:before {
666 | content: "\f0a6";
667 | }
668 | .fa-hand-o-down:before {
669 | content: "\f0a7";
670 | }
671 | .fa-arrow-circle-left:before {
672 | content: "\f0a8";
673 | }
674 | .fa-arrow-circle-right:before {
675 | content: "\f0a9";
676 | }
677 | .fa-arrow-circle-up:before {
678 | content: "\f0aa";
679 | }
680 | .fa-arrow-circle-down:before {
681 | content: "\f0ab";
682 | }
683 | .fa-globe:before {
684 | content: "\f0ac";
685 | }
686 | .fa-wrench:before {
687 | content: "\f0ad";
688 | }
689 | .fa-tasks:before {
690 | content: "\f0ae";
691 | }
692 | .fa-filter:before {
693 | content: "\f0b0";
694 | }
695 | .fa-briefcase:before {
696 | content: "\f0b1";
697 | }
698 | .fa-arrows-alt:before {
699 | content: "\f0b2";
700 | }
701 | .fa-group:before,
702 | .fa-users:before {
703 | content: "\f0c0";
704 | }
705 | .fa-chain:before,
706 | .fa-link:before {
707 | content: "\f0c1";
708 | }
709 | .fa-cloud:before {
710 | content: "\f0c2";
711 | }
712 | .fa-flask:before {
713 | content: "\f0c3";
714 | }
715 | .fa-cut:before,
716 | .fa-scissors:before {
717 | content: "\f0c4";
718 | }
719 | .fa-copy:before,
720 | .fa-files-o:before {
721 | content: "\f0c5";
722 | }
723 | .fa-paperclip:before {
724 | content: "\f0c6";
725 | }
726 | .fa-save:before,
727 | .fa-floppy-o:before {
728 | content: "\f0c7";
729 | }
730 | .fa-square:before {
731 | content: "\f0c8";
732 | }
733 | .fa-navicon:before,
734 | .fa-reorder:before,
735 | .fa-bars:before {
736 | content: "\f0c9";
737 | }
738 | .fa-list-ul:before {
739 | content: "\f0ca";
740 | }
741 | .fa-list-ol:before {
742 | content: "\f0cb";
743 | }
744 | .fa-strikethrough:before {
745 | content: "\f0cc";
746 | }
747 | .fa-underline:before {
748 | content: "\f0cd";
749 | }
750 | .fa-table:before {
751 | content: "\f0ce";
752 | }
753 | .fa-magic:before {
754 | content: "\f0d0";
755 | }
756 | .fa-truck:before {
757 | content: "\f0d1";
758 | }
759 | .fa-pinterest:before {
760 | content: "\f0d2";
761 | }
762 | .fa-pinterest-square:before {
763 | content: "\f0d3";
764 | }
765 | .fa-google-plus-square:before {
766 | content: "\f0d4";
767 | }
768 | .fa-google-plus:before {
769 | content: "\f0d5";
770 | }
771 | .fa-money:before {
772 | content: "\f0d6";
773 | }
774 | .fa-caret-down:before {
775 | content: "\f0d7";
776 | }
777 | .fa-caret-up:before {
778 | content: "\f0d8";
779 | }
780 | .fa-caret-left:before {
781 | content: "\f0d9";
782 | }
783 | .fa-caret-right:before {
784 | content: "\f0da";
785 | }
786 | .fa-columns:before {
787 | content: "\f0db";
788 | }
789 | .fa-unsorted:before,
790 | .fa-sort:before {
791 | content: "\f0dc";
792 | }
793 | .fa-sort-down:before,
794 | .fa-sort-desc:before {
795 | content: "\f0dd";
796 | }
797 | .fa-sort-up:before,
798 | .fa-sort-asc:before {
799 | content: "\f0de";
800 | }
801 | .fa-envelope:before {
802 | content: "\f0e0";
803 | }
804 | .fa-linkedin:before {
805 | content: "\f0e1";
806 | }
807 | .fa-rotate-left:before,
808 | .fa-undo:before {
809 | content: "\f0e2";
810 | }
811 | .fa-legal:before,
812 | .fa-gavel:before {
813 | content: "\f0e3";
814 | }
815 | .fa-dashboard:before,
816 | .fa-tachometer:before {
817 | content: "\f0e4";
818 | }
819 | .fa-comment-o:before {
820 | content: "\f0e5";
821 | }
822 | .fa-comments-o:before {
823 | content: "\f0e6";
824 | }
825 | .fa-flash:before,
826 | .fa-bolt:before {
827 | content: "\f0e7";
828 | }
829 | .fa-sitemap:before {
830 | content: "\f0e8";
831 | }
832 | .fa-umbrella:before {
833 | content: "\f0e9";
834 | }
835 | .fa-paste:before,
836 | .fa-clipboard:before {
837 | content: "\f0ea";
838 | }
839 | .fa-lightbulb-o:before {
840 | content: "\f0eb";
841 | }
842 | .fa-exchange:before {
843 | content: "\f0ec";
844 | }
845 | .fa-cloud-download:before {
846 | content: "\f0ed";
847 | }
848 | .fa-cloud-upload:before {
849 | content: "\f0ee";
850 | }
851 | .fa-user-md:before {
852 | content: "\f0f0";
853 | }
854 | .fa-stethoscope:before {
855 | content: "\f0f1";
856 | }
857 | .fa-suitcase:before {
858 | content: "\f0f2";
859 | }
860 | .fa-bell-o:before {
861 | content: "\f0a2";
862 | }
863 | .fa-coffee:before {
864 | content: "\f0f4";
865 | }
866 | .fa-cutlery:before {
867 | content: "\f0f5";
868 | }
869 | .fa-file-text-o:before {
870 | content: "\f0f6";
871 | }
872 | .fa-building-o:before {
873 | content: "\f0f7";
874 | }
875 | .fa-hospital-o:before {
876 | content: "\f0f8";
877 | }
878 | .fa-ambulance:before {
879 | content: "\f0f9";
880 | }
881 | .fa-medkit:before {
882 | content: "\f0fa";
883 | }
884 | .fa-fighter-jet:before {
885 | content: "\f0fb";
886 | }
887 | .fa-beer:before {
888 | content: "\f0fc";
889 | }
890 | .fa-h-square:before {
891 | content: "\f0fd";
892 | }
893 | .fa-plus-square:before {
894 | content: "\f0fe";
895 | }
896 | .fa-angle-double-left:before {
897 | content: "\f100";
898 | }
899 | .fa-angle-double-right:before {
900 | content: "\f101";
901 | }
902 | .fa-angle-double-up:before {
903 | content: "\f102";
904 | }
905 | .fa-angle-double-down:before {
906 | content: "\f103";
907 | }
908 | .fa-angle-left:before {
909 | content: "\f104";
910 | }
911 | .fa-angle-right:before {
912 | content: "\f105";
913 | }
914 | .fa-angle-up:before {
915 | content: "\f106";
916 | }
917 | .fa-angle-down:before {
918 | content: "\f107";
919 | }
920 | .fa-desktop:before {
921 | content: "\f108";
922 | }
923 | .fa-laptop:before {
924 | content: "\f109";
925 | }
926 | .fa-tablet:before {
927 | content: "\f10a";
928 | }
929 | .fa-mobile-phone:before,
930 | .fa-mobile:before {
931 | content: "\f10b";
932 | }
933 | .fa-circle-o:before {
934 | content: "\f10c";
935 | }
936 | .fa-quote-left:before {
937 | content: "\f10d";
938 | }
939 | .fa-quote-right:before {
940 | content: "\f10e";
941 | }
942 | .fa-spinner:before {
943 | content: "\f110";
944 | }
945 | .fa-circle:before {
946 | content: "\f111";
947 | }
948 | .fa-mail-reply:before,
949 | .fa-reply:before {
950 | content: "\f112";
951 | }
952 | .fa-github-alt:before {
953 | content: "\f113";
954 | }
955 | .fa-folder-o:before {
956 | content: "\f114";
957 | }
958 | .fa-folder-open-o:before {
959 | content: "\f115";
960 | }
961 | .fa-smile-o:before {
962 | content: "\f118";
963 | }
964 | .fa-frown-o:before {
965 | content: "\f119";
966 | }
967 | .fa-meh-o:before {
968 | content: "\f11a";
969 | }
970 | .fa-gamepad:before {
971 | content: "\f11b";
972 | }
973 | .fa-keyboard-o:before {
974 | content: "\f11c";
975 | }
976 | .fa-flag-o:before {
977 | content: "\f11d";
978 | }
979 | .fa-flag-checkered:before {
980 | content: "\f11e";
981 | }
982 | .fa-terminal:before {
983 | content: "\f120";
984 | }
985 | .fa-code:before {
986 | content: "\f121";
987 | }
988 | .fa-mail-reply-all:before,
989 | .fa-reply-all:before {
990 | content: "\f122";
991 | }
992 | .fa-star-half-empty:before,
993 | .fa-star-half-full:before,
994 | .fa-star-half-o:before {
995 | content: "\f123";
996 | }
997 | .fa-location-arrow:before {
998 | content: "\f124";
999 | }
1000 | .fa-crop:before {
1001 | content: "\f125";
1002 | }
1003 | .fa-code-fork:before {
1004 | content: "\f126";
1005 | }
1006 | .fa-unlink:before,
1007 | .fa-chain-broken:before {
1008 | content: "\f127";
1009 | }
1010 | .fa-question:before {
1011 | content: "\f128";
1012 | }
1013 | .fa-info:before {
1014 | content: "\f129";
1015 | }
1016 | .fa-exclamation:before {
1017 | content: "\f12a";
1018 | }
1019 | .fa-superscript:before {
1020 | content: "\f12b";
1021 | }
1022 | .fa-subscript:before {
1023 | content: "\f12c";
1024 | }
1025 | .fa-eraser:before {
1026 | content: "\f12d";
1027 | }
1028 | .fa-puzzle-piece:before {
1029 | content: "\f12e";
1030 | }
1031 | .fa-microphone:before {
1032 | content: "\f130";
1033 | }
1034 | .fa-microphone-slash:before {
1035 | content: "\f131";
1036 | }
1037 | .fa-shield:before {
1038 | content: "\f132";
1039 | }
1040 | .fa-calendar-o:before {
1041 | content: "\f133";
1042 | }
1043 | .fa-fire-extinguisher:before {
1044 | content: "\f134";
1045 | }
1046 | .fa-rocket:before {
1047 | content: "\f135";
1048 | }
1049 | .fa-maxcdn:before {
1050 | content: "\f136";
1051 | }
1052 | .fa-chevron-circle-left:before {
1053 | content: "\f137";
1054 | }
1055 | .fa-chevron-circle-right:before {
1056 | content: "\f138";
1057 | }
1058 | .fa-chevron-circle-up:before {
1059 | content: "\f139";
1060 | }
1061 | .fa-chevron-circle-down:before {
1062 | content: "\f13a";
1063 | }
1064 | .fa-html5:before {
1065 | content: "\f13b";
1066 | }
1067 | .fa-css3:before {
1068 | content: "\f13c";
1069 | }
1070 | .fa-anchor:before {
1071 | content: "\f13d";
1072 | }
1073 | .fa-unlock-alt:before {
1074 | content: "\f13e";
1075 | }
1076 | .fa-bullseye:before {
1077 | content: "\f140";
1078 | }
1079 | .fa-ellipsis-h:before {
1080 | content: "\f141";
1081 | }
1082 | .fa-ellipsis-v:before {
1083 | content: "\f142";
1084 | }
1085 | .fa-rss-square:before {
1086 | content: "\f143";
1087 | }
1088 | .fa-play-circle:before {
1089 | content: "\f144";
1090 | }
1091 | .fa-ticket:before {
1092 | content: "\f145";
1093 | }
1094 | .fa-minus-square:before {
1095 | content: "\f146";
1096 | }
1097 | .fa-minus-square-o:before {
1098 | content: "\f147";
1099 | }
1100 | .fa-level-up:before {
1101 | content: "\f148";
1102 | }
1103 | .fa-level-down:before {
1104 | content: "\f149";
1105 | }
1106 | .fa-check-square:before {
1107 | content: "\f14a";
1108 | }
1109 | .fa-pencil-square:before {
1110 | content: "\f14b";
1111 | }
1112 | .fa-external-link-square:before {
1113 | content: "\f14c";
1114 | }
1115 | .fa-share-square:before {
1116 | content: "\f14d";
1117 | }
1118 | .fa-compass:before {
1119 | content: "\f14e";
1120 | }
1121 | .fa-toggle-down:before,
1122 | .fa-caret-square-o-down:before {
1123 | content: "\f150";
1124 | }
1125 | .fa-toggle-up:before,
1126 | .fa-caret-square-o-up:before {
1127 | content: "\f151";
1128 | }
1129 | .fa-toggle-right:before,
1130 | .fa-caret-square-o-right:before {
1131 | content: "\f152";
1132 | }
1133 | .fa-euro:before,
1134 | .fa-eur:before {
1135 | content: "\f153";
1136 | }
1137 | .fa-gbp:before {
1138 | content: "\f154";
1139 | }
1140 | .fa-dollar:before,
1141 | .fa-usd:before {
1142 | content: "\f155";
1143 | }
1144 | .fa-rupee:before,
1145 | .fa-inr:before {
1146 | content: "\f156";
1147 | }
1148 | .fa-cny:before,
1149 | .fa-rmb:before,
1150 | .fa-yen:before,
1151 | .fa-jpy:before {
1152 | content: "\f157";
1153 | }
1154 | .fa-ruble:before,
1155 | .fa-rouble:before,
1156 | .fa-rub:before {
1157 | content: "\f158";
1158 | }
1159 | .fa-won:before,
1160 | .fa-krw:before {
1161 | content: "\f159";
1162 | }
1163 | .fa-bitcoin:before,
1164 | .fa-btc:before {
1165 | content: "\f15a";
1166 | }
1167 | .fa-file:before {
1168 | content: "\f15b";
1169 | }
1170 | .fa-file-text:before {
1171 | content: "\f15c";
1172 | }
1173 | .fa-sort-alpha-asc:before {
1174 | content: "\f15d";
1175 | }
1176 | .fa-sort-alpha-desc:before {
1177 | content: "\f15e";
1178 | }
1179 | .fa-sort-amount-asc:before {
1180 | content: "\f160";
1181 | }
1182 | .fa-sort-amount-desc:before {
1183 | content: "\f161";
1184 | }
1185 | .fa-sort-numeric-asc:before {
1186 | content: "\f162";
1187 | }
1188 | .fa-sort-numeric-desc:before {
1189 | content: "\f163";
1190 | }
1191 | .fa-thumbs-up:before {
1192 | content: "\f164";
1193 | }
1194 | .fa-thumbs-down:before {
1195 | content: "\f165";
1196 | }
1197 | .fa-youtube-square:before {
1198 | content: "\f166";
1199 | }
1200 | .fa-youtube:before {
1201 | content: "\f167";
1202 | }
1203 | .fa-xing:before {
1204 | content: "\f168";
1205 | }
1206 | .fa-xing-square:before {
1207 | content: "\f169";
1208 | }
1209 | .fa-youtube-play:before {
1210 | content: "\f16a";
1211 | }
1212 | .fa-dropbox:before {
1213 | content: "\f16b";
1214 | }
1215 | .fa-stack-overflow:before {
1216 | content: "\f16c";
1217 | }
1218 | .fa-instagram:before {
1219 | content: "\f16d";
1220 | }
1221 | .fa-flickr:before {
1222 | content: "\f16e";
1223 | }
1224 | .fa-adn:before {
1225 | content: "\f170";
1226 | }
1227 | .fa-bitbucket:before {
1228 | content: "\f171";
1229 | }
1230 | .fa-bitbucket-square:before {
1231 | content: "\f172";
1232 | }
1233 | .fa-tumblr:before {
1234 | content: "\f173";
1235 | }
1236 | .fa-tumblr-square:before {
1237 | content: "\f174";
1238 | }
1239 | .fa-long-arrow-down:before {
1240 | content: "\f175";
1241 | }
1242 | .fa-long-arrow-up:before {
1243 | content: "\f176";
1244 | }
1245 | .fa-long-arrow-left:before {
1246 | content: "\f177";
1247 | }
1248 | .fa-long-arrow-right:before {
1249 | content: "\f178";
1250 | }
1251 | .fa-apple:before {
1252 | content: "\f179";
1253 | }
1254 | .fa-windows:before {
1255 | content: "\f17a";
1256 | }
1257 | .fa-android:before {
1258 | content: "\f17b";
1259 | }
1260 | .fa-linux:before {
1261 | content: "\f17c";
1262 | }
1263 | .fa-dribbble:before {
1264 | content: "\f17d";
1265 | }
1266 | .fa-skype:before {
1267 | content: "\f17e";
1268 | }
1269 | .fa-foursquare:before {
1270 | content: "\f180";
1271 | }
1272 | .fa-trello:before {
1273 | content: "\f181";
1274 | }
1275 | .fa-female:before {
1276 | content: "\f182";
1277 | }
1278 | .fa-male:before {
1279 | content: "\f183";
1280 | }
1281 | .fa-gittip:before,
1282 | .fa-gratipay:before {
1283 | content: "\f184";
1284 | }
1285 | .fa-sun-o:before {
1286 | content: "\f185";
1287 | }
1288 | .fa-moon-o:before {
1289 | content: "\f186";
1290 | }
1291 | .fa-archive:before {
1292 | content: "\f187";
1293 | }
1294 | .fa-bug:before {
1295 | content: "\f188";
1296 | }
1297 | .fa-vk:before {
1298 | content: "\f189";
1299 | }
1300 | .fa-weibo:before {
1301 | content: "\f18a";
1302 | }
1303 | .fa-renren:before {
1304 | content: "\f18b";
1305 | }
1306 | .fa-pagelines:before {
1307 | content: "\f18c";
1308 | }
1309 | .fa-stack-exchange:before {
1310 | content: "\f18d";
1311 | }
1312 | .fa-arrow-circle-o-right:before {
1313 | content: "\f18e";
1314 | }
1315 | .fa-arrow-circle-o-left:before {
1316 | content: "\f190";
1317 | }
1318 | .fa-toggle-left:before,
1319 | .fa-caret-square-o-left:before {
1320 | content: "\f191";
1321 | }
1322 | .fa-dot-circle-o:before {
1323 | content: "\f192";
1324 | }
1325 | .fa-wheelchair:before {
1326 | content: "\f193";
1327 | }
1328 | .fa-vimeo-square:before {
1329 | content: "\f194";
1330 | }
1331 | .fa-turkish-lira:before,
1332 | .fa-try:before {
1333 | content: "\f195";
1334 | }
1335 | .fa-plus-square-o:before {
1336 | content: "\f196";
1337 | }
1338 | .fa-space-shuttle:before {
1339 | content: "\f197";
1340 | }
1341 | .fa-slack:before {
1342 | content: "\f198";
1343 | }
1344 | .fa-envelope-square:before {
1345 | content: "\f199";
1346 | }
1347 | .fa-wordpress:before {
1348 | content: "\f19a";
1349 | }
1350 | .fa-openid:before {
1351 | content: "\f19b";
1352 | }
1353 | .fa-institution:before,
1354 | .fa-bank:before,
1355 | .fa-university:before {
1356 | content: "\f19c";
1357 | }
1358 | .fa-mortar-board:before,
1359 | .fa-graduation-cap:before {
1360 | content: "\f19d";
1361 | }
1362 | .fa-yahoo:before {
1363 | content: "\f19e";
1364 | }
1365 | .fa-google:before {
1366 | content: "\f1a0";
1367 | }
1368 | .fa-reddit:before {
1369 | content: "\f1a1";
1370 | }
1371 | .fa-reddit-square:before {
1372 | content: "\f1a2";
1373 | }
1374 | .fa-stumbleupon-circle:before {
1375 | content: "\f1a3";
1376 | }
1377 | .fa-stumbleupon:before {
1378 | content: "\f1a4";
1379 | }
1380 | .fa-delicious:before {
1381 | content: "\f1a5";
1382 | }
1383 | .fa-digg:before {
1384 | content: "\f1a6";
1385 | }
1386 | .fa-pied-piper:before {
1387 | content: "\f1a7";
1388 | }
1389 | .fa-pied-piper-alt:before {
1390 | content: "\f1a8";
1391 | }
1392 | .fa-drupal:before {
1393 | content: "\f1a9";
1394 | }
1395 | .fa-joomla:before {
1396 | content: "\f1aa";
1397 | }
1398 | .fa-language:before {
1399 | content: "\f1ab";
1400 | }
1401 | .fa-fax:before {
1402 | content: "\f1ac";
1403 | }
1404 | .fa-building:before {
1405 | content: "\f1ad";
1406 | }
1407 | .fa-child:before {
1408 | content: "\f1ae";
1409 | }
1410 | .fa-paw:before {
1411 | content: "\f1b0";
1412 | }
1413 | .fa-spoon:before {
1414 | content: "\f1b1";
1415 | }
1416 | .fa-cube:before {
1417 | content: "\f1b2";
1418 | }
1419 | .fa-cubes:before {
1420 | content: "\f1b3";
1421 | }
1422 | .fa-behance:before {
1423 | content: "\f1b4";
1424 | }
1425 | .fa-behance-square:before {
1426 | content: "\f1b5";
1427 | }
1428 | .fa-steam:before {
1429 | content: "\f1b6";
1430 | }
1431 | .fa-steam-square:before {
1432 | content: "\f1b7";
1433 | }
1434 | .fa-recycle:before {
1435 | content: "\f1b8";
1436 | }
1437 | .fa-automobile:before,
1438 | .fa-car:before {
1439 | content: "\f1b9";
1440 | }
1441 | .fa-cab:before,
1442 | .fa-taxi:before {
1443 | content: "\f1ba";
1444 | }
1445 | .fa-tree:before {
1446 | content: "\f1bb";
1447 | }
1448 | .fa-spotify:before {
1449 | content: "\f1bc";
1450 | }
1451 | .fa-deviantart:before {
1452 | content: "\f1bd";
1453 | }
1454 | .fa-soundcloud:before {
1455 | content: "\f1be";
1456 | }
1457 | .fa-database:before {
1458 | content: "\f1c0";
1459 | }
1460 | .fa-file-pdf-o:before {
1461 | content: "\f1c1";
1462 | }
1463 | .fa-file-word-o:before {
1464 | content: "\f1c2";
1465 | }
1466 | .fa-file-excel-o:before {
1467 | content: "\f1c3";
1468 | }
1469 | .fa-file-powerpoint-o:before {
1470 | content: "\f1c4";
1471 | }
1472 | .fa-file-photo-o:before,
1473 | .fa-file-picture-o:before,
1474 | .fa-file-image-o:before {
1475 | content: "\f1c5";
1476 | }
1477 | .fa-file-zip-o:before,
1478 | .fa-file-archive-o:before {
1479 | content: "\f1c6";
1480 | }
1481 | .fa-file-sound-o:before,
1482 | .fa-file-audio-o:before {
1483 | content: "\f1c7";
1484 | }
1485 | .fa-file-movie-o:before,
1486 | .fa-file-video-o:before {
1487 | content: "\f1c8";
1488 | }
1489 | .fa-file-code-o:before {
1490 | content: "\f1c9";
1491 | }
1492 | .fa-vine:before {
1493 | content: "\f1ca";
1494 | }
1495 | .fa-codepen:before {
1496 | content: "\f1cb";
1497 | }
1498 | .fa-jsfiddle:before {
1499 | content: "\f1cc";
1500 | }
1501 | .fa-life-bouy:before,
1502 | .fa-life-buoy:before,
1503 | .fa-life-saver:before,
1504 | .fa-support:before,
1505 | .fa-life-ring:before {
1506 | content: "\f1cd";
1507 | }
1508 | .fa-circle-o-notch:before {
1509 | content: "\f1ce";
1510 | }
1511 | .fa-ra:before,
1512 | .fa-rebel:before {
1513 | content: "\f1d0";
1514 | }
1515 | .fa-ge:before,
1516 | .fa-empire:before {
1517 | content: "\f1d1";
1518 | }
1519 | .fa-git-square:before {
1520 | content: "\f1d2";
1521 | }
1522 | .fa-git:before {
1523 | content: "\f1d3";
1524 | }
1525 | .fa-y-combinator-square:before,
1526 | .fa-yc-square:before,
1527 | .fa-hacker-news:before {
1528 | content: "\f1d4";
1529 | }
1530 | .fa-tencent-weibo:before {
1531 | content: "\f1d5";
1532 | }
1533 | .fa-qq:before {
1534 | content: "\f1d6";
1535 | }
1536 | .fa-wechat:before,
1537 | .fa-weixin:before {
1538 | content: "\f1d7";
1539 | }
1540 | .fa-send:before,
1541 | .fa-paper-plane:before {
1542 | content: "\f1d8";
1543 | }
1544 | .fa-send-o:before,
1545 | .fa-paper-plane-o:before {
1546 | content: "\f1d9";
1547 | }
1548 | .fa-history:before {
1549 | content: "\f1da";
1550 | }
1551 | .fa-circle-thin:before {
1552 | content: "\f1db";
1553 | }
1554 | .fa-header:before {
1555 | content: "\f1dc";
1556 | }
1557 | .fa-paragraph:before {
1558 | content: "\f1dd";
1559 | }
1560 | .fa-sliders:before {
1561 | content: "\f1de";
1562 | }
1563 | .fa-share-alt:before {
1564 | content: "\f1e0";
1565 | }
1566 | .fa-share-alt-square:before {
1567 | content: "\f1e1";
1568 | }
1569 | .fa-bomb:before {
1570 | content: "\f1e2";
1571 | }
1572 | .fa-soccer-ball-o:before,
1573 | .fa-futbol-o:before {
1574 | content: "\f1e3";
1575 | }
1576 | .fa-tty:before {
1577 | content: "\f1e4";
1578 | }
1579 | .fa-binoculars:before {
1580 | content: "\f1e5";
1581 | }
1582 | .fa-plug:before {
1583 | content: "\f1e6";
1584 | }
1585 | .fa-slideshare:before {
1586 | content: "\f1e7";
1587 | }
1588 | .fa-twitch:before {
1589 | content: "\f1e8";
1590 | }
1591 | .fa-yelp:before {
1592 | content: "\f1e9";
1593 | }
1594 | .fa-newspaper-o:before {
1595 | content: "\f1ea";
1596 | }
1597 | .fa-wifi:before {
1598 | content: "\f1eb";
1599 | }
1600 | .fa-calculator:before {
1601 | content: "\f1ec";
1602 | }
1603 | .fa-paypal:before {
1604 | content: "\f1ed";
1605 | }
1606 | .fa-google-wallet:before {
1607 | content: "\f1ee";
1608 | }
1609 | .fa-cc-visa:before {
1610 | content: "\f1f0";
1611 | }
1612 | .fa-cc-mastercard:before {
1613 | content: "\f1f1";
1614 | }
1615 | .fa-cc-discover:before {
1616 | content: "\f1f2";
1617 | }
1618 | .fa-cc-amex:before {
1619 | content: "\f1f3";
1620 | }
1621 | .fa-cc-paypal:before {
1622 | content: "\f1f4";
1623 | }
1624 | .fa-cc-stripe:before {
1625 | content: "\f1f5";
1626 | }
1627 | .fa-bell-slash:before {
1628 | content: "\f1f6";
1629 | }
1630 | .fa-bell-slash-o:before {
1631 | content: "\f1f7";
1632 | }
1633 | .fa-trash:before {
1634 | content: "\f1f8";
1635 | }
1636 | .fa-copyright:before {
1637 | content: "\f1f9";
1638 | }
1639 | .fa-at:before {
1640 | content: "\f1fa";
1641 | }
1642 | .fa-eyedropper:before {
1643 | content: "\f1fb";
1644 | }
1645 | .fa-paint-brush:before {
1646 | content: "\f1fc";
1647 | }
1648 | .fa-birthday-cake:before {
1649 | content: "\f1fd";
1650 | }
1651 | .fa-area-chart:before {
1652 | content: "\f1fe";
1653 | }
1654 | .fa-pie-chart:before {
1655 | content: "\f200";
1656 | }
1657 | .fa-line-chart:before {
1658 | content: "\f201";
1659 | }
1660 | .fa-lastfm:before {
1661 | content: "\f202";
1662 | }
1663 | .fa-lastfm-square:before {
1664 | content: "\f203";
1665 | }
1666 | .fa-toggle-off:before {
1667 | content: "\f204";
1668 | }
1669 | .fa-toggle-on:before {
1670 | content: "\f205";
1671 | }
1672 | .fa-bicycle:before {
1673 | content: "\f206";
1674 | }
1675 | .fa-bus:before {
1676 | content: "\f207";
1677 | }
1678 | .fa-ioxhost:before {
1679 | content: "\f208";
1680 | }
1681 | .fa-angellist:before {
1682 | content: "\f209";
1683 | }
1684 | .fa-cc:before {
1685 | content: "\f20a";
1686 | }
1687 | .fa-shekel:before,
1688 | .fa-sheqel:before,
1689 | .fa-ils:before {
1690 | content: "\f20b";
1691 | }
1692 | .fa-meanpath:before {
1693 | content: "\f20c";
1694 | }
1695 | .fa-buysellads:before {
1696 | content: "\f20d";
1697 | }
1698 | .fa-connectdevelop:before {
1699 | content: "\f20e";
1700 | }
1701 | .fa-dashcube:before {
1702 | content: "\f210";
1703 | }
1704 | .fa-forumbee:before {
1705 | content: "\f211";
1706 | }
1707 | .fa-leanpub:before {
1708 | content: "\f212";
1709 | }
1710 | .fa-sellsy:before {
1711 | content: "\f213";
1712 | }
1713 | .fa-shirtsinbulk:before {
1714 | content: "\f214";
1715 | }
1716 | .fa-simplybuilt:before {
1717 | content: "\f215";
1718 | }
1719 | .fa-skyatlas:before {
1720 | content: "\f216";
1721 | }
1722 | .fa-cart-plus:before {
1723 | content: "\f217";
1724 | }
1725 | .fa-cart-arrow-down:before {
1726 | content: "\f218";
1727 | }
1728 | .fa-diamond:before {
1729 | content: "\f219";
1730 | }
1731 | .fa-ship:before {
1732 | content: "\f21a";
1733 | }
1734 | .fa-user-secret:before {
1735 | content: "\f21b";
1736 | }
1737 | .fa-motorcycle:before {
1738 | content: "\f21c";
1739 | }
1740 | .fa-street-view:before {
1741 | content: "\f21d";
1742 | }
1743 | .fa-heartbeat:before {
1744 | content: "\f21e";
1745 | }
1746 | .fa-venus:before {
1747 | content: "\f221";
1748 | }
1749 | .fa-mars:before {
1750 | content: "\f222";
1751 | }
1752 | .fa-mercury:before {
1753 | content: "\f223";
1754 | }
1755 | .fa-intersex:before,
1756 | .fa-transgender:before {
1757 | content: "\f224";
1758 | }
1759 | .fa-transgender-alt:before {
1760 | content: "\f225";
1761 | }
1762 | .fa-venus-double:before {
1763 | content: "\f226";
1764 | }
1765 | .fa-mars-double:before {
1766 | content: "\f227";
1767 | }
1768 | .fa-venus-mars:before {
1769 | content: "\f228";
1770 | }
1771 | .fa-mars-stroke:before {
1772 | content: "\f229";
1773 | }
1774 | .fa-mars-stroke-v:before {
1775 | content: "\f22a";
1776 | }
1777 | .fa-mars-stroke-h:before {
1778 | content: "\f22b";
1779 | }
1780 | .fa-neuter:before {
1781 | content: "\f22c";
1782 | }
1783 | .fa-genderless:before {
1784 | content: "\f22d";
1785 | }
1786 | .fa-facebook-official:before {
1787 | content: "\f230";
1788 | }
1789 | .fa-pinterest-p:before {
1790 | content: "\f231";
1791 | }
1792 | .fa-whatsapp:before {
1793 | content: "\f232";
1794 | }
1795 | .fa-server:before {
1796 | content: "\f233";
1797 | }
1798 | .fa-user-plus:before {
1799 | content: "\f234";
1800 | }
1801 | .fa-user-times:before {
1802 | content: "\f235";
1803 | }
1804 | .fa-hotel:before,
1805 | .fa-bed:before {
1806 | content: "\f236";
1807 | }
1808 | .fa-viacoin:before {
1809 | content: "\f237";
1810 | }
1811 | .fa-train:before {
1812 | content: "\f238";
1813 | }
1814 | .fa-subway:before {
1815 | content: "\f239";
1816 | }
1817 | .fa-medium:before {
1818 | content: "\f23a";
1819 | }
1820 | .fa-yc:before,
1821 | .fa-y-combinator:before {
1822 | content: "\f23b";
1823 | }
1824 | .fa-optin-monster:before {
1825 | content: "\f23c";
1826 | }
1827 | .fa-opencart:before {
1828 | content: "\f23d";
1829 | }
1830 | .fa-expeditedssl:before {
1831 | content: "\f23e";
1832 | }
1833 | .fa-battery-4:before,
1834 | .fa-battery-full:before {
1835 | content: "\f240";
1836 | }
1837 | .fa-battery-3:before,
1838 | .fa-battery-three-quarters:before {
1839 | content: "\f241";
1840 | }
1841 | .fa-battery-2:before,
1842 | .fa-battery-half:before {
1843 | content: "\f242";
1844 | }
1845 | .fa-battery-1:before,
1846 | .fa-battery-quarter:before {
1847 | content: "\f243";
1848 | }
1849 | .fa-battery-0:before,
1850 | .fa-battery-empty:before {
1851 | content: "\f244";
1852 | }
1853 | .fa-mouse-pointer:before {
1854 | content: "\f245";
1855 | }
1856 | .fa-i-cursor:before {
1857 | content: "\f246";
1858 | }
1859 | .fa-object-group:before {
1860 | content: "\f247";
1861 | }
1862 | .fa-object-ungroup:before {
1863 | content: "\f248";
1864 | }
1865 | .fa-sticky-note:before {
1866 | content: "\f249";
1867 | }
1868 | .fa-sticky-note-o:before {
1869 | content: "\f24a";
1870 | }
1871 | .fa-cc-jcb:before {
1872 | content: "\f24b";
1873 | }
1874 | .fa-cc-diners-club:before {
1875 | content: "\f24c";
1876 | }
1877 | .fa-clone:before {
1878 | content: "\f24d";
1879 | }
1880 | .fa-balance-scale:before {
1881 | content: "\f24e";
1882 | }
1883 | .fa-hourglass-o:before {
1884 | content: "\f250";
1885 | }
1886 | .fa-hourglass-1:before,
1887 | .fa-hourglass-start:before {
1888 | content: "\f251";
1889 | }
1890 | .fa-hourglass-2:before,
1891 | .fa-hourglass-half:before {
1892 | content: "\f252";
1893 | }
1894 | .fa-hourglass-3:before,
1895 | .fa-hourglass-end:before {
1896 | content: "\f253";
1897 | }
1898 | .fa-hourglass:before {
1899 | content: "\f254";
1900 | }
1901 | .fa-hand-grab-o:before,
1902 | .fa-hand-rock-o:before {
1903 | content: "\f255";
1904 | }
1905 | .fa-hand-stop-o:before,
1906 | .fa-hand-paper-o:before {
1907 | content: "\f256";
1908 | }
1909 | .fa-hand-scissors-o:before {
1910 | content: "\f257";
1911 | }
1912 | .fa-hand-lizard-o:before {
1913 | content: "\f258";
1914 | }
1915 | .fa-hand-spock-o:before {
1916 | content: "\f259";
1917 | }
1918 | .fa-hand-pointer-o:before {
1919 | content: "\f25a";
1920 | }
1921 | .fa-hand-peace-o:before {
1922 | content: "\f25b";
1923 | }
1924 | .fa-trademark:before {
1925 | content: "\f25c";
1926 | }
1927 | .fa-registered:before {
1928 | content: "\f25d";
1929 | }
1930 | .fa-creative-commons:before {
1931 | content: "\f25e";
1932 | }
1933 | .fa-gg:before {
1934 | content: "\f260";
1935 | }
1936 | .fa-gg-circle:before {
1937 | content: "\f261";
1938 | }
1939 | .fa-tripadvisor:before {
1940 | content: "\f262";
1941 | }
1942 | .fa-odnoklassniki:before {
1943 | content: "\f263";
1944 | }
1945 | .fa-odnoklassniki-square:before {
1946 | content: "\f264";
1947 | }
1948 | .fa-get-pocket:before {
1949 | content: "\f265";
1950 | }
1951 | .fa-wikipedia-w:before {
1952 | content: "\f266";
1953 | }
1954 | .fa-safari:before {
1955 | content: "\f267";
1956 | }
1957 | .fa-chrome:before {
1958 | content: "\f268";
1959 | }
1960 | .fa-firefox:before {
1961 | content: "\f269";
1962 | }
1963 | .fa-opera:before {
1964 | content: "\f26a";
1965 | }
1966 | .fa-internet-explorer:before {
1967 | content: "\f26b";
1968 | }
1969 | .fa-tv:before,
1970 | .fa-television:before {
1971 | content: "\f26c";
1972 | }
1973 | .fa-contao:before {
1974 | content: "\f26d";
1975 | }
1976 | .fa-500px:before {
1977 | content: "\f26e";
1978 | }
1979 | .fa-amazon:before {
1980 | content: "\f270";
1981 | }
1982 | .fa-calendar-plus-o:before {
1983 | content: "\f271";
1984 | }
1985 | .fa-calendar-minus-o:before {
1986 | content: "\f272";
1987 | }
1988 | .fa-calendar-times-o:before {
1989 | content: "\f273";
1990 | }
1991 | .fa-calendar-check-o:before {
1992 | content: "\f274";
1993 | }
1994 | .fa-industry:before {
1995 | content: "\f275";
1996 | }
1997 | .fa-map-pin:before {
1998 | content: "\f276";
1999 | }
2000 | .fa-map-signs:before {
2001 | content: "\f277";
2002 | }
2003 | .fa-map-o:before {
2004 | content: "\f278";
2005 | }
2006 | .fa-map:before {
2007 | content: "\f279";
2008 | }
2009 | .fa-commenting:before {
2010 | content: "\f27a";
2011 | }
2012 | .fa-commenting-o:before {
2013 | content: "\f27b";
2014 | }
2015 | .fa-houzz:before {
2016 | content: "\f27c";
2017 | }
2018 | .fa-vimeo:before {
2019 | content: "\f27d";
2020 | }
2021 | .fa-black-tie:before {
2022 | content: "\f27e";
2023 | }
2024 | .fa-fonticons:before {
2025 | content: "\f280";
2026 | }
2027 |
--------------------------------------------------------------------------------