django-crispy-forms installed and included in settings (as per crispy docs)
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
{ | |
"red": { | |
"50": "#ffebee", | |
"100": "#ffcdd2", | |
"200": "#ef9a9a", | |
"300": "#e57373", | |
"400": "#ef5350", | |
"500": "#f44336", | |
"600": "#e53935", | |
"700": "#d32f2f", |
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
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
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
<script> | |
export default { | |
name: 'VSelectFile', | |
model: { | |
prop: 'value', | |
event: 'change' | |
}, | |
props: { | |
label: { | |
type: String, |
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
<!-- facebook Open Graph Metadatas --> | |
<meta content="your_facebook_app_id" property="fb:app_id"> | |
<meta content="{{ site.title }}" property="og:site_name"> | |
{% if page.title %} | |
<meta content="{{ page.title }}" property="og:title"> | |
{% else %} | |
<meta content="{{ site.title }}" property="og:title"> | |
{% endif %} | |
{% if page.title %} | |
<meta content="article" property="og:type"> |
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
# Simple wrappers for Material Design Lite text fields to use with SimpleForm (Rails) | |
SimpleForm.setup do |config| | |
config.wrappers :mdl_field, tag: 'div', class: 'mdl-textfield mdl-js-textfield', error_class: 'mdl-textfield__error' do |b| | |
b.use :html5 | |
b.use :input, class: 'mdl-textfield__input' | |
b.use :label, class: 'mdl-textfield__label' | |
end |