This file contains 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
<div id="AfiliateLanding" class="fixPaddingAnchor"> | |
<style> | |
.AfiliateBanner{ | |
background-image: url("{% static "img/afiliate/mobile_background.jpg" %}") | |
} | |
@media (min-width: 768px){ | |
.AfiliateBanner{ | |
background-image: url("{% static "img/afiliate/tablet_background.jpg" %}") | |
} | |
} |
This file contains 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 ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
var path = require('path'); | |
const common = { | |
entry: { | |
//JavascriptFiles | |
"bundles": "./crehana/frontdev/jsx/bundles.js", | |
"bundle-detail": "./crehana/frontdev/jsx/bundle-detail.js", | |
"catalog": "./crehana/frontdev/jsx/catalog.js", |
This file contains 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 ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
var path = require('path'); | |
const common = { | |
entry: { | |
//JavascriptFiles | |
"bundles": "./crehana/frontdev/jsx/bundles.js", | |
"bundle-detail": "./crehana/frontdev/jsx/bundle-detail.js", | |
"catalog": "./crehana/frontdev/jsx/catalog.js", |
This file contains 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
/**Start Background Guide*/ | |
position: relative; | |
&::after { | |
content: ""; | |
background-image: url('https://image.ibb.co/cWwVfa/footer_nuevo.png'); | |
opacity: 0.3; | |
top: 0; | |
left: 0; | |
bottom: 0; | |
right: 0; |
This file contains 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 $ = require('zepto-browserify').$; | |
var getCookie = function(name) { | |
var cookieValue = null; | |
if (document.cookie && document.cookie != '') { | |
var cookies = document.cookie.split(';'); | |
for (var i = 0; i < cookies.length; i++) { | |
var cookie = $.trim(cookies[i]); | |
// Does this cookie string begin with the name we want? | |
if (cookie.substring(0, name.length + 1) == (name + '=')) { |
This file contains 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
import React, { | |
PropTypes, | |
} from 'react'; | |
import {csrftoken} from './djangotoken'; //Here we import the previous created file | |
const DjangoCSRFToken = () => { | |
return ( | |
<input type="hidden" name="csrfmiddlewaretoken" value={csrftoken} /> | |
); |
This file contains 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
import React, { | |
Component, | |
PropTypes, | |
} from 'react'; | |
import DjangoCSRFToken from './DjangoCSRFToken'; | |
class MyForm extends Component { | |
render() { |
This file contains 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 React = require('react'); | |
var Input = require('./Input'); | |
var $ = require('zepto-browserify').$; | |
var validator = require('validator'); | |
var cx = require('classnames'); | |
require('../../../../scss/components/core/signup_form/SignUpForm.scss'); | |
var SimpleRegisterForm = React.createClass({ |
This file contains 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
import React, { Component } from 'react'; | |
import { TextAreaField } from 'common/components/Form'; | |
import { RemoveButton } from 'common/components/buttons'; | |
class Criterio extends Component { | |
_onChange = (value) => { | |
const { | |
criterio, | |
onChange, |
OlderNewer