rename
This commit is contained in:
parent
9283f28826
commit
bca81caaa2
6 changed files with 13 additions and 13 deletions
16
config.jsonc
16
config.jsonc
|
@ -806,20 +806,20 @@
|
||||||
the system (from).
|
the system (from).
|
||||||
*/
|
*/
|
||||||
"site": {
|
"site": {
|
||||||
"description": "undercover research group video archive",
|
"description": "Activist Media Proxy",
|
||||||
"email": {
|
"email": {
|
||||||
// E-mail address in contact form (to)
|
// E-mail address in contact form (to)
|
||||||
"contact": "contact@undercoverresearch.net",
|
"contact": "amp@spc.org",
|
||||||
"footer": "-- \nundercover research group - http://undercoverresearch.net",
|
"footer": "-- \nActivist Media Proxy - http://amp.0x2620.org",
|
||||||
"prefix": "undercover research group -",
|
"prefix": "Activist Media Proxy -",
|
||||||
// E-mail address uses by the system (from)
|
// E-mail address uses by the system (from)
|
||||||
"system": "system@undercoverresearch.net"
|
"system": "system@amp.0x2620.org"
|
||||||
},
|
},
|
||||||
"https": false,
|
"https": false,
|
||||||
"id": "urg",
|
"id": "amp",
|
||||||
"name": "undercover research group",
|
"name": "Activist Media Proxy",
|
||||||
"sendReferrer": true,
|
"sendReferrer": true,
|
||||||
"url": "urg.0x2620.org"
|
"url": "amp.0x2620.org"
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
"sitePages" defines the sections of the main site dialog. If "news" is
|
"sitePages" defines the sections of the main site dialog. If "news" is
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import os
|
import os
|
||||||
from os.path import join, abspath, basename, dirname
|
from os.path import join, abspath, basename, dirname
|
||||||
|
|
||||||
name = 'indymediauk'
|
name = 'amp'
|
||||||
base = abspath(dirname(__file__))
|
base = abspath(dirname(__file__))
|
||||||
os.chdir(base)
|
os.chdir(base)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ for root, folders, files in os.walk(join(base, 'static')):
|
||||||
src = join(root, f)
|
src = join(root, f)
|
||||||
target = src.replace(base, '/srv/pandora')
|
target = src.replace(base, '/srv/pandora')
|
||||||
rel_src = os.path.relpath(src, dirname(target))
|
rel_src = os.path.relpath(src, dirname(target))
|
||||||
if os.path.exists(target):
|
if os.path.exists(target) or os.path.islink(target):
|
||||||
os.unlink(target)
|
os.unlink(target)
|
||||||
os.symlink(rel_src, target)
|
os.symlink(rel_src, target)
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ for root, folders, files in os.walk(join(base, 'scripts')):
|
||||||
src = join(root, f)
|
src = join(root, f)
|
||||||
target = src.replace(base, '/srv/pandora')
|
target = src.replace(base, '/srv/pandora')
|
||||||
rel_src = os.path.relpath(src, dirname(target))
|
rel_src = os.path.relpath(src, dirname(target))
|
||||||
if os.path.exists(target):
|
if os.path.exists(target) or os.path.islink(target):
|
||||||
os.unlink(target)
|
os.unlink(target)
|
||||||
os.symlink(rel_src, target)
|
os.symlink(rel_src, target)
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ pandora.ui.home = function() {
|
||||||
left: 0,
|
left: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: '80px',
|
bottom: '160px',
|
||||||
width: window.innerWidth + 'px',
|
width: window.innerWidth + 'px',
|
||||||
margin: 'auto',
|
margin: 'auto',
|
||||||
cursor: 'pointer'
|
cursor: 'pointer'
|
||||||
|
@ -180,7 +180,7 @@ pandora.ui.home = function() {
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
$aboutButton = Ox.Button({
|
$aboutButton = Ox.Button({
|
||||||
title: Ox._('About {0}', [pandora.site.site.name]),
|
title: Ox._('{0}', [pandora.site.site.name]),
|
||||||
width: 156
|
width: 156
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
Binary file not shown.
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 5.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 7 KiB |
Loading…
Reference in a new issue