зеркало из https://github.com/mozilla/bedrock.git
Removed example app.
This commit is contained in:
Родитель
6cf1618686
Коммит
a5c548614d
|
@ -1,14 +0,0 @@
|
|||
{% extends "example_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ _('Hello world') }}</h1>
|
||||
|
||||
{# L10n: This is a localizer comment #}
|
||||
<p>{{ _('This is a <em>test view</em>.') }}</p>
|
||||
<p>
|
||||
{% trans docs_url='http://mozilla.github.com/playdoh/' %}
|
||||
<a href="{{ docs_url }}">Learn you some Playdoh</a> and then go build
|
||||
something <strong>awesome</strong>.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
{% endblock %}
|
|
@ -1,6 +0,0 @@
|
|||
from django.conf.urls.defaults import *
|
||||
|
||||
|
||||
urlpatterns = patterns('examples.views',
|
||||
url(r'^$', 'home', name='examples.home'),
|
||||
)
|
|
@ -1,10 +0,0 @@
|
|||
"""Example views. Feel free to delete this app."""
|
||||
|
||||
from django import http
|
||||
|
||||
import jingo
|
||||
|
||||
|
||||
def home(request):
|
||||
data = {}
|
||||
return jingo.render(request, 'examples/home.html', data)
|
|
@ -1,36 +0,0 @@
|
|||
/* An example CSS file that will be minified. */
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
background-color: rgb(56,142,222);
|
||||
background-image: -webkit-gradient(
|
||||
linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0.19, rgb(56,142,222)),
|
||||
color-stop(0.6, rgb(82,186,255))
|
||||
);
|
||||
background-image: -moz-linear-gradient(
|
||||
center bottom,
|
||||
rgb(56,142,222) 19%,
|
||||
rgb(82,186,255) 60%
|
||||
);
|
||||
background-repeat: repeat-x;
|
||||
min-height: 800px;
|
||||
}
|
||||
h1 {
|
||||
font-family: Helvetica, sans-serif;
|
||||
margin-left: 30px;
|
||||
}
|
||||
p {
|
||||
background-color: rgba(255,255,255,0.3);;
|
||||
color: #333;
|
||||
font-family: Courier, serif;
|
||||
line-height: 1.4;
|
||||
margin-left: 30px;
|
||||
padding: 5px;
|
||||
width: 600px;
|
||||
}
|
||||
#playdoh {
|
||||
float: left;
|
||||
margin-left: 645px;
|
||||
}
|
|
@ -137,12 +137,12 @@ def JINJA_CONFIG():
|
|||
# and js files that can be bundled together by the minify app.
|
||||
MINIFY_BUNDLES = {
|
||||
'css': {
|
||||
'example_css': (
|
||||
'css/examples/main.css',
|
||||
'common': (
|
||||
'',
|
||||
),
|
||||
},
|
||||
'js': {
|
||||
'example_js': (
|
||||
'common': (
|
||||
'js/libs/jquery-1.4.4.min.js',
|
||||
),
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ INSTALLED_APPS = (
|
|||
'jingo_minify',
|
||||
'tower', # for ./manage.py extract (L10n)
|
||||
|
||||
'examples', # Example code. Can (and should) be removed for actual projects.
|
||||
# Local apps.
|
||||
|
||||
# We need this so the jsi18n view will pick up our locale directory.
|
||||
ROOT_PACKAGE,
|
||||
|
@ -195,7 +195,6 @@ INSTALLED_APPS = (
|
|||
|
||||
# L10n
|
||||
'product_details',
|
||||
|
||||
)
|
||||
|
||||
# Tells the extract script what files to look for L10n in and what function
|
||||
|
|
Загрузка…
Ссылка в новой задаче