├── server ├── __init__.py ├── cms │ ├── __init__.py │ ├── models.py │ ├── static │ │ └── cms │ │ │ ├── dropzone │ │ │ ├── images │ │ │ │ ├── spritemap.png │ │ │ │ └── spritemap@2x.png │ │ │ ├── readme.md │ │ │ └── css │ │ │ │ ├── stylus │ │ │ │ └── basic.styl │ │ │ │ └── basic.css │ │ │ ├── bootstrap │ │ │ └── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── controllers │ │ │ ├── app_controller.js │ │ │ ├── dash_controller.js │ │ │ ├── add_controller.js │ │ │ ├── question_controller.js │ │ │ └── group_controller.js │ │ │ ├── group.css │ │ │ ├── angular │ │ │ ├── angular-cookies.min.js │ │ │ ├── angular-cookies.min.js.map │ │ │ └── angular-route.min.js │ │ │ ├── cms.js │ │ │ └── dashboard.css │ ├── forms.py │ ├── templates │ │ └── cms │ │ │ ├── partials │ │ │ ├── add.html │ │ │ ├── dashboard.html │ │ │ ├── group.html │ │ │ └── question.html │ │ │ └── home.html │ ├── urls.py │ └── middleware.py ├── questions │ ├── __init__.py │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── __init__.py │ │ │ └── download-mp3.py │ ├── migrations │ │ └── __init__.py │ ├── tests.py │ ├── urls.py │ ├── models.py │ └── views.py ├── settings │ ├── __init__.py │ ├── local.py-dist │ └── base.py ├── wsgi.py ├── urls.py └── download.py ├── ionic ├── hooks │ ├── .gitignore │ └── README.md ├── www │ ├── .gitignore │ ├── img │ │ ├── ionic.png │ │ ├── cookie-128.png │ │ └── icons │ │ │ ├── cookie-114x114.png │ │ │ ├── cookie-144x144.png │ │ │ ├── cookie-196x196.png │ │ │ ├── cookie-57x57.png │ │ │ └── cookie-72x72.png │ ├── fonts │ │ ├── ionicons.eot │ │ ├── ionicons.ttf │ │ └── ionicons.woff │ ├── lib │ │ ├── ionic │ │ │ ├── fonts │ │ │ │ ├── ionicons.eot │ │ │ │ ├── ionicons.ttf │ │ │ │ └── ionicons.woff │ │ │ ├── version.json │ │ │ ├── scss │ │ │ │ ├── _progress.scss │ │ │ │ ├── _backdrop.scss │ │ │ │ ├── ionicons │ │ │ │ │ ├── ionicons.scss │ │ │ │ │ ├── _ionicons-font.scss │ │ │ │ │ └── _ionicons-animation.scss │ │ │ │ ├── _split-pane.scss │ │ │ │ ├── ionic.scss │ │ │ │ ├── _loading.scss │ │ │ │ ├── _slide-box.scss │ │ │ │ ├── _button-bar.scss │ │ │ │ ├── _menu.scss │ │ │ │ ├── _animations.scss │ │ │ │ ├── _radio.scss │ │ │ │ ├── _badge.scss │ │ │ │ ├── _platform.scss │ │ │ │ ├── _popup.scss │ │ │ │ ├── _modal.scss │ │ │ │ ├── _list.scss │ │ │ │ ├── _select.scss │ │ │ │ ├── _range.scss │ │ │ │ ├── _grid.scss │ │ │ │ ├── _type.scss │ │ │ │ ├── _action-sheet.scss │ │ │ │ ├── _popover.scss │ │ │ │ └── _transitions.scss │ │ │ └── js │ │ │ │ └── angular │ │ │ │ ├── angular-resource.min.js │ │ │ │ └── angular-sanitize.min.js │ │ ├── speech-synthesis │ │ │ └── polyfill.min.js │ │ └── angular-localForage.min.js │ ├── templates │ │ ├── tab-account.html │ │ ├── tab-friends.html │ │ ├── tab-debug.html │ │ ├── friend-detail.html │ │ ├── tabs.html │ │ ├── tab-howtoplay.html │ │ ├── tab-dash.html │ │ ├── tab-settings.html │ │ └── tab-play.html │ ├── css │ │ └── style.css │ ├── README.md │ ├── index.html │ └── js │ │ ├── services.js │ │ └── app.js ├── plugins │ ├── .gitignore │ ├── org.apache.cordova.console │ │ ├── .fetch.json │ │ ├── NOTICE │ │ ├── src │ │ │ ├── ios │ │ │ │ ├── CDVLogger.h │ │ │ │ └── CDVLogger.m │ │ │ ├── ubuntu │ │ │ │ ├── console.cpp │ │ │ │ └── console.h │ │ │ └── wp │ │ │ │ └── DebugConsole.cs │ │ ├── README.md │ │ ├── doc │ │ │ └── index.md │ │ ├── package.json │ │ ├── RELEASENOTES.md │ │ └── plugin.xml │ ├── org.apache.cordova.device │ │ ├── .fetch.json │ │ ├── NOTICE │ │ ├── README.md │ │ ├── src │ │ │ ├── ios │ │ │ │ ├── CDVDevice.h │ │ │ │ └── CDVDevice.m │ │ │ ├── ubuntu │ │ │ │ ├── device.h │ │ │ │ ├── device.js │ │ │ │ └── device.cpp │ │ │ ├── tizen │ │ │ │ └── DeviceProxy.js │ │ │ ├── firefoxos │ │ │ │ └── DeviceProxy.js │ │ │ ├── windows8 │ │ │ │ └── DeviceProxy.js │ │ │ ├── blackberry10 │ │ │ │ └── index.js │ │ │ └── wp │ │ │ │ └── Device.cs │ │ ├── RELEASENOTES.md │ │ └── www │ │ │ └── device.js │ └── ios.json ├── .gitignore ├── ionic.project ├── bower.json ├── platforms │ └── ios │ │ └── Daily Cookie │ │ └── Daily Cookie.entitlements ├── package.json ├── gulpfile.js ├── scss │ └── ionic.app.scss ├── config.xml └── README.md ├── README.md ├── .gitignore ├── requirements.txt └── manage.py /server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ionic/hooks/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ionic/www/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/cms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/cms/models.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ionic/plugins/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/questions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ionic/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /server/questions/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/questions/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/questions/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/settings/__init__.py: -------------------------------------------------------------------------------- 1 | from .base import * 2 | from .local import * 3 | -------------------------------------------------------------------------------- /server/questions/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /ionic/www/img/ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/ionic.png -------------------------------------------------------------------------------- /ionic/www/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/fonts/ionicons.eot -------------------------------------------------------------------------------- /ionic/www/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/fonts/ionicons.ttf -------------------------------------------------------------------------------- /ionic/www/img/cookie-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/cookie-128.png -------------------------------------------------------------------------------- /ionic/www/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/fonts/ionicons.woff -------------------------------------------------------------------------------- /ionic/ionic.project: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myApp", 3 | "email": "", 4 | "app_id": "cc04810e", 5 | "package_name": "" 6 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | dailycookie 2 | =========== 3 | 4 | Language learning a little bit every day. 5 | 6 | Site: http://dailycookieapp.com 7 | -------------------------------------------------------------------------------- /ionic/www/img/icons/cookie-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/icons/cookie-114x114.png -------------------------------------------------------------------------------- /ionic/www/img/icons/cookie-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/icons/cookie-144x144.png -------------------------------------------------------------------------------- /ionic/www/img/icons/cookie-196x196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/icons/cookie-196x196.png -------------------------------------------------------------------------------- /ionic/www/img/icons/cookie-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/icons/cookie-57x57.png -------------------------------------------------------------------------------- /ionic/www/img/icons/cookie-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/img/icons/cookie-72x72.png -------------------------------------------------------------------------------- /ionic/www/lib/ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/lib/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /ionic/www/lib/ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/lib/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /ionic/www/lib/ionic/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0-rc.1", 3 | "codename": "osmium-ostrich", 4 | "date": "2015-03-16" 5 | } -------------------------------------------------------------------------------- /ionic/www/lib/ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/ionic/www/lib/ionic/fonts/ionicons.woff -------------------------------------------------------------------------------- /server/cms/static/cms/dropzone/images/spritemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/server/cms/static/cms/dropzone/images/spritemap.png -------------------------------------------------------------------------------- /server/cms/static/cms/dropzone/images/spritemap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/server/cms/static/cms/dropzone/images/spritemap@2x.png -------------------------------------------------------------------------------- /ionic/plugins/org.apache.cordova.console/.fetch.json: -------------------------------------------------------------------------------- 1 | {"source":{"type":"local","path":"/var/folders/l7/9ffkzwg965gf0zl261g34n_m0000gp/T/org.apache.cordova.console/package"}} -------------------------------------------------------------------------------- /ionic/plugins/org.apache.cordova.device/.fetch.json: -------------------------------------------------------------------------------- 1 | {"source":{"type":"local","path":"/var/folders/l7/9ffkzwg965gf0zl261g34n_m0000gp/T/org.apache.cordova.device/package"}} -------------------------------------------------------------------------------- /server/cms/static/cms/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/server/cms/static/cms/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /server/cms/static/cms/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/server/cms/static/cms/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /cache/ 2 | /app/_pictures/ 3 | app/questions.json 4 | /pictures/ 5 | /words-mp3/ 6 | /myApp/ 7 | myApp-june7/ 8 | myAppTabs/ 9 | server/settings/local.py 10 | server/static/ 11 | -------------------------------------------------------------------------------- /server/cms/static/cms/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/dailycookie/master/server/cms/static/cms/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /ionic/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "HelloIonic", 3 | "private": "true", 4 | "devDependencies": { 5 | "ionic": "driftyco/ionic-bower#1.0.0-rc.1", 6 | "ionic-ion-ios-buttons": "*" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /server/cms/static/cms/controllers/app_controller.js: -------------------------------------------------------------------------------- 1 | angular.module('cms') 2 | .controller('AppController', 3 | ['$scope', '$http', '$location', 4 | function($scope, $http, $location) { 5 | 6 | }] 7 | ); 8 | -------------------------------------------------------------------------------- /ionic/www/templates/tab-account.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Account

4 |

H2

5 | Test 6 |
7 |
8 | -------------------------------------------------------------------------------- /ionic/plugins/org.apache.cordova.console/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /ionic/plugins/org.apache.cordova.device/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /server/cms/forms.py: -------------------------------------------------------------------------------- 1 | from django import forms 2 | 3 | from server.questions.models import Question 4 | 5 | 6 | class UploadForm(forms.ModelForm): 7 | 8 | class Meta: 9 | model = Question 10 | fields = ('picture',) 11 | -------------------------------------------------------------------------------- /ionic/www/lib/ionic/scss/_progress.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Progress 4 | * -------------------------------------------------- 5 | */ 6 | 7 | progress { 8 | display: block; 9 | margin: $progress-margin; 10 | width: $progress-width; 11 | } 12 | -------------------------------------------------------------------------------- /ionic/platforms/ios/Daily Cookie/Daily Cookie.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django==1.6.10 2 | Pillow==2.7.0 3 | psycopg2==2.5.4 4 | sorl-thumbnail==11.12 5 | wsgiref==0.1.2 6 | requests==2.3.0 7 | Unidecode==0.04.16 8 | django-jsonview==0.4.2 9 | simplejson==3.5.2 10 | South==0.8.4 11 | django-pipeline==1.4.3 12 | -------------------------------------------------------------------------------- /server/questions/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | 3 | from . import views 4 | 5 | 6 | urlpatterns = patterns( 7 | '', 8 | url(r'^groups$', views.groups, name='groups'), 9 | url(r'^(?P\d+)$', views.questions, name='questions'), 10 | ) 11 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings") 7 | 8 | from django.core.management import execute_from_command_line 9 | 10 | execute_from_command_line(sys.argv) 11 | -------------------------------------------------------------------------------- /ionic/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-project", 3 | "version": "1.0.0", 4 | "description": "An Ionic project", 5 | "dependencies": { 6 | "gulp": "^3.5.6", 7 | "gulp-sass": "^0.7.1", 8 | "gulp-concat": "^2.2.0", 9 | "gulp-minify-css": "^0.3.0", 10 | "gulp-rename": "^1.2.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /server/cms/templates/cms/partials/add.html: -------------------------------------------------------------------------------- 1 | {% verbatim %} 2 | 3 |

Loading

4 | 5 |

Add word to {{ group.name }}

6 | 7 | {% endverbatim %} 8 | 9 | 10 | 11 |
12 | 13 | {% csrf_token %} 14 | 15 |
16 | -------------------------------------------------------------------------------- /ionic/www/templates/tab-friends.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{friend.name}} 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ionic/www/css/style.css: -------------------------------------------------------------------------------- 1 | /* Empty. Add your own CSS if you like */ 2 | .item-note { 3 | color: #333; 4 | } 5 | 6 | .picture { 7 | text-align: center; 8 | } 9 | .picture img { 10 | border-radius: 3px; 11 | } 12 | .question .picture img { 13 | height: 200px; 14 | } 15 | 16 | .modal .picture { 17 | padding: 3px; 18 | } 19 | .modal p { 20 | text-align: center; 21 | } 22 | -------------------------------------------------------------------------------- /server/cms/static/cms/dropzone/readme.md: -------------------------------------------------------------------------------- 1 | # Warning! 2 | 3 | You shouldn't pull these files from the github master branch directly! 4 | 5 | They might be outdated or not working at all since I normally only push them 6 | when I create a version release. 7 | 8 | To be sure to get a proper release, please go to the 9 | [dropzone releases section on github](https://github.com/enyo/dropzone/releases/latest). 10 | 11 | -------------------------------------------------------------------------------- /server/cms/static/cms/group.css: -------------------------------------------------------------------------------- 1 | .input-group-addon { 2 | cursor: pointer; 3 | } 4 | 5 | div.crop { 6 | position: relative; 7 | } 8 | div.crop img + span.badge { 9 | position: absolute; 10 | top: 2px; 11 | right: 2px; 12 | } 13 | 14 | span.badge-0 { 15 | background-color: #D9534F; 16 | } 17 | span.badge-1 { 18 | background-color: #F0AD4E; 19 | } 20 | span.badge-N { 21 | background-color: #5CB85C; 22 | } 23 | -------------------------------------------------------------------------------- /ionic/www/templates/tab-debug.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Dashboard 5 |

6 | 7 | no groups 8 |
{{ groups }}
9 | 10 | 13 | 14 |
15 |
16 | -------------------------------------------------------------------------------- /server/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for server project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings") 12 | 13 | from django.core.wsgi import get_wsgi_application 14 | application = get_wsgi_application() 15 | -------------------------------------------------------------------------------- /ionic/www/templates/friend-detail.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /server/cms/static/cms/controllers/dash_controller.js: -------------------------------------------------------------------------------- 1 | angular.module('cms').controller('DashController', 2 | ['$scope', '$location', '$http', 3 | function($scope, $location, $http) { 4 | 5 | $http.get('/questions/groups') 6 | .success(function(response) { 7 | $scope.groups = response.groups; 8 | console.log(response.groups); 9 | 10 | }); 11 | 12 | $scope.gotoGroup = function(id) { 13 | $location.path('/cms/' + id); 14 | }; 15 | 16 | }] 17 | ); 18 | -------------------------------------------------------------------------------- /ionic/www/lib/ionic/scss/_backdrop.scss: -------------------------------------------------------------------------------- 1 | 2 | .backdrop { 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | z-index: $z-index-backdrop; 7 | 8 | width: 100%; 9 | height: 100%; 10 | 11 | background-color: $loading-backdrop-bg-color; 12 | 13 | visibility: hidden; 14 | opacity: 0; 15 | 16 | &.visible { 17 | visibility: visible; 18 | } 19 | &.active { 20 | opacity: 1; 21 | } 22 | 23 | @include transition($loading-backdrop-fadein-duration opacity linear); 24 | } 25 | -------------------------------------------------------------------------------- /server/cms/templates/cms/partials/dashboard.html: -------------------------------------------------------------------------------- 1 |

Dashboard

2 | {% verbatim %} 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 19 |
LocaleNameWord count
{{ group.locale }}{{ group.name }}{{ group.word_count }}
20 | 21 | {% endverbatim %} 22 | -------------------------------------------------------------------------------- /ionic/www/lib/ionic/scss/ionicons/ionicons.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @import "ionicons-variables"; 3 | /*! 4 | Ionicons, v2.0.1 5 | Created by Ben Sperry for the Ionic Framework, http://ionicons.com/ 6 | https://twitter.com/benjsperry https://twitter.com/ionicframework 7 | MIT License: https://github.com/driftyco/ionicons 8 | 9 | Android-style icons originally built by Google’s 10 | Material Design Icons: https://github.com/google/material-design-icons 11 | used under CC BY http://creativecommons.org/licenses/by/4.0/ 12 | Modified icons to fit ionicon’s grid from original. 13 | */ 14 | 15 | @import "ionicons-font"; 16 | @import "ionicons-icons"; 17 | -------------------------------------------------------------------------------- /ionic/www/lib/ionic/scss/_split-pane.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Split Pane 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .split-pane { 8 | @include display-flex(); 9 | @include align-items(stretch); 10 | width: 100%; 11 | height: 100%; 12 | } 13 | 14 | .split-pane-menu { 15 | @include flex(0, 0, $split-pane-menu-width); 16 | 17 | overflow-y: auto; 18 | width: $split-pane-menu-width; 19 | height: 100%; 20 | border-right: 1px solid $split-pane-menu-border-color; 21 | 22 | @media all and (max-width: 568px) { 23 | border-right: none; 24 | } 25 | } 26 | 27 | .split-pane-content { 28 | @include flex(1, 0, auto); 29 | } 30 | -------------------------------------------------------------------------------- /server/settings/local.py-dist: -------------------------------------------------------------------------------- 1 | from . import base 2 | #INSTALLED_APPS = base.INSTALLED_APPS + ('silk',) 3 | #MIDDLEWARE_CLASSES = base.MIDDLEWARE_CLASSES + ('silk.middleware.SilkyMiddleware',) 4 | 5 | DEBUG_PROPAGATE_EXCEPTIONS = DEBUG = TEMPLATE_DEBUG = True 6 | 7 | DATABASES = { 8 | 'default': { 9 | 'ENGINE': 'django.db.backends.postgresql_psycopg2', 10 | 'NAME': 'dailycookie', 11 | 'USER': '', 12 | 'PASSWORD': '', 13 | 'HOST': '', 14 | 'PORT': '', 15 | } 16 | } 17 | CACHES = { 18 | 'default': { 19 | 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 20 | 'LOCATION': 'unique-snowflake' 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /server/cms/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | 3 | from . import views 4 | 5 | 6 | urlpatterns = patterns( 7 | '', 8 | url(r'partials/(?P