*/
#attachThreadListWrap.loading {
display: block;
- background: url('/static/commitfest/spinner.gif') no-repeat center;
+ background: url('/media/commitfest/spinner.gif') no-repeat center;
width: 124px;
height: 124px;
margin: 0 auto;
* Annotate message dialog */
#annotateMessageBody.loading {
display: block;
- background: url('/static/commitfest/spinner.gif') no-repeat center;
+ background: url('/media/commitfest/spinner.gif') no-repeat center;
width: 124px;
height: 124px;
margin: 0 auto;
<html>
<head>
<title>{{title}}</title>
- <link rel="stylesheet" href="/static/commitfest/css/jquery-ui.css" type="text/css">
- <link rel="stylesheet" href="/static/commitfest/css/bootstrap.css" />
- <link rel="stylesheet" href="/static/commitfest/css/bootstrap-theme.min.css" />
- <link rel="stylesheet" href="/static/commitfest/css/commitfest.css" />
- <link rel="shortcut icon" href="/static/commitfest/favicon.ico" />
+ <link rel="stylesheet" href="/media/commitfest/css/jquery-ui.css" type="text/css">
+ <link rel="stylesheet" href="/media/commitfest/css/bootstrap.css" />
+ <link rel="stylesheet" href="/media/commitfest/css/bootstrap-theme.min.css" />
+ <link rel="stylesheet" href="/media/commitfest/css/commitfest.css" />
+ <link rel="shortcut icon" href="/media/commitfest/favicon.ico" />
{%block extrahead%}{%endblock%}
{%if rss_alternate%} <link rel="alternate" type="application/rss+xml" title="{{rss_alternate_title}}" href="{{rss_alternate}}" />{%endif%}
</head>
{%block contents%}
{%endblock%}
</div>
-<script src="/static/commitfest/js/jquery.js"></script>
-<script src="/static/commitfest/js/jquery-ui.js"></script>
-<script src="/static/commitfest/js/bootstrap.js"></script>
-<script src="/static/commitfest/js/commitfest.js"></script>
+<script src="/media/commitfest/js/jquery.js"></script>
+<script src="/media/commitfest/js/jquery-ui.js"></script>
+<script src="/media/commitfest/js/bootstrap.js"></script>
+<script src="/media/commitfest/js/commitfest.js"></script>
{%block morescript%}{%endblock%}
</html>
{%endblock%}
{%block extrahead%}
-<link rel="stylesheet" href="/static/commitfest/css/selectize.css" />
-<link rel="stylesheet" href="/static/commitfest/css/selectize.default.css" />
+<link rel="stylesheet" href="/media/commitfest/css/selectize.css" />
+<link rel="stylesheet" href="/media/commitfest/css/selectize.default.css" />
{%endblock%}
{%block morescript%}
-<script src="/static/commitfest/js/selectize.min.js"></script>
+<script src="/media/commitfest/js/selectize.min.js"></script>
<script>
/* Set up selectize fields */
{% for f, url in selectize_multiple_fields %}
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"
-STATIC_URL = '/static/'
+STATIC_URL = '/media/'
# URL prefix for admin static files -- CSS, JavaScript and images.
# Make sure to use a trailing slash.
# Examples: "http://foo.com/static/admin/", "/static/admin/".
-ADMIN_MEDIA_PREFIX = '/static/admin/'
+ADMIN_MEDIA_PREFIX = '/media/admin/'
# Additional locations of static files
STATICFILES_DIRS = (
# List of finder classes that know how to find static files in
# various locations.
STATICFILES_FINDERS = (
- 'django.contrib.staticfiles.finders.FileSystemFinder',
- 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)
# Make this unique, and don't share it with anybody.
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
- 'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
+++ /dev/null
-#!/bin/bash
-set -e
-
-# Trivial update script for pgcf
-if [ "$(id -u)" == "0" ]; then
- echo Do not run as root!
- exit 1
-fi
-
-cd $(dirname $0)
-
-git pull --rebase
-
-./python manage.py collectstatic --noinput
-
-./python manage.py migrate
-
-echo Done!