Move css, javascript and web images to data so that they can be found by webapp
svn: r22927
BIN
data/images/Web_Gender_Female.png
Normal file
After Width: | Height: | Size: 457 B |
BIN
data/images/Web_Gender_Male.png
Normal file
After Width: | Height: | Size: 454 B |
BIN
data/images/Web_Mainz_Bkgd.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
data/images/Web_Mainz_Header.png
Normal file
After Width: | Height: | Size: 338 KiB |
BIN
data/images/Web_Mainz_Mid.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
data/images/Web_Mainz_MidLight.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
data/images/blank.gif
Normal file
After Width: | Height: | Size: 43 B |
BIN
data/images/crosshairs.png
Normal file
After Width: | Height: | Size: 193 B |
BIN
data/images/favicon.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/favicon2.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/gramps-geo-altmap.png
Normal file
After Width: | Height: | Size: 654 B |
BIN
data/images/gramps-geo-birth.png
Normal file
After Width: | Height: | Size: 969 B |
BIN
data/images/gramps-geo-death.png
Normal file
After Width: | Height: | Size: 957 B |
BIN
data/images/gramps-geo-mainmap.png
Normal file
After Width: | Height: | Size: 678 B |
BIN
data/images/gramps-geo-marriage.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
data/images/somerights20.gif
Normal file
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 620 B After Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 964 B After Width: | Height: | Size: 964 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 104 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
@ -33,7 +33,7 @@ import os
|
||||
# Django and Gramps Modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from gramps.gen.const import IMAGE_DIR, ROOT_DIR
|
||||
from gramps.gen.const import IMAGE_DIR, ROOT_DIR, DATA_DIR
|
||||
from django.conf.urls.defaults import *
|
||||
from django.contrib import admin
|
||||
|
||||
@ -49,12 +49,12 @@ urlpatterns = patterns('',
|
||||
urlpatterns += patterns('',
|
||||
# Static serves! DANGEROUS in production:
|
||||
(r'^styles/(?P<path>.*)$', 'django.views.static.serve',
|
||||
{'document_root':
|
||||
os.path.join(ROOT_DIR, "plugins", "webstuff"),
|
||||
{'document_root': DATA_DIR,
|
||||
# os.path.join(ROOT_DIR, "plugins", "webstuff"),
|
||||
'show_indexes': True},
|
||||
),
|
||||
(r'^images/(?P<path>.*)$', 'django.views.static.serve',
|
||||
{'document_root': IMAGE_DIR,
|
||||
{'document_root': IMAGE_DIR,
|
||||
'show_indexes': True},
|
||||
),
|
||||
)
|
||||
|