This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server 'monserver.com', :app, :web, :primary => true | |
| set :application, "MonProjet" | |
| set :domain, "monserver.com" | |
| set :user, "root" | |
| set :deploy_to, "/home/monprojet" | |
| set :app_path, "app" | |
| set :web_path, "web" | |
| set :repository, "[email protected]:monprojet.git" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CONSOLE=app/console | |
| install: | |
| @ echo "Install composer" | |
| @ curl -sS https://getcomposer.org/installer | php -- --install-dir=bin | |
| @ echo "\nInstall composer dependencies" | |
| @ php bin/composer.phar install | |
| @ echo "\nInstall bower dependencies" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content=""> | |
| <link rel="shortcut icon" href="img/favicon.png"> | |
| <title>ReflexOccaz - Administration</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $args = array( | |
| 'post_type' => 'objectif_nutrition', | |
| 'posts_per_page' => -1, | |
| 'post__not_in' => array($post_id), | |
| 'orderby' => 'rand', | |
| 'post_parent' => $parent_id | |
| ); | |
| $loop = new WP_Query( $args ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| bourbon = require('node-bourbon'), | |
| watch = require('gulp-watch'); | |
| var paths = { | |
| scss: './scss/*' | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @mixin media($point) { | |
| @if $point == mobile { | |
| @media screen and (max-width : em(768)) { @content ; } | |
| } | |
| @else if $point == tablet { | |
| @media screen and (max-width : em(992)) and (min-width: em(768)) { @content ; } | |
| } | |
| @else if $point == laptop { | |
| @media screen and (max-width : em(1200)) and (min-width: em(992)) { @content ; } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function slugify (value) { | |
| var rExps=[ | |
| {re:/[\xC0-\xC6]/g, ch:'A'}, | |
| {re:/[\xE0-\xE6]/g, ch:'a'}, | |
| {re:/[\xC8-\xCB]/g, ch:'E'}, | |
| {re:/[\xE8-\xEB]/g, ch:'e'}, | |
| {re:/[\xCC-\xCF]/g, ch:'I'}, | |
| {re:/[\xEC-\xEF]/g, ch:'i'}, | |
| {re:/[\xD2-\xD6]/g, ch:'O'}, | |
| {re:/[\xF2-\xF6]/g, ch:'o'}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| desc "Database link" | |
| task :bd_link do | |
| on roles(:all) do |host| | |
| within release_path do | |
| execute :ln, '-s', "#{shared_path}/database.php", 'app/Config/database.php' | |
| execute :rm, '-fr', 'app/Config/core.php' | |
| execute :ln, '-s', "#{shared_path}/core.php", 'app/Config/core.php' | |
| execute :rm, '-fr', 'app/webroot/files' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>{% block title %}{% endblock %}</title> | |
| <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" /> | |
| <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .logo-header { | |
| position:absolute; | |
| left:50%; | |
| } | |
| .logo-header img { | |
| position:relative; | |
| left:-50%; | |
| } |
NewerOlder